/* Common Technical IT-Oriented Styles */
/* Note: Google Fonts (Noto Color Emoji) is loaded asynchronously in HTML head for better performance */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #e8f2ff;
    --primary-dark: #a4a4a4;
    --secondary-color: #0a0e27;
    --background-dark: #0f1419;
    --background-light: #1a1f2e;
    --text-primary: #e4e6eb;
    --text-secondary: #e1e1e1;
    --border-color: #505051;
    --success-color: #00ff88;
    --error-color: #ff4757;
    --warning-color: #ffa502;
    --code-bg: #161b22;
}

/* Light Theme */
[data-theme="light"] {
    --primary-color: #41494b;
    --primary-dark: #858585;
    --secondary-color: #f8f9fa;
    --background-dark: #ffffff;
    --background-light: #f5f6f7;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --border-color: #d1d5db;
    --success-color: #00cc66;
    --error-color: #dc3545;
    --warning-color: #ff9800;
    --code-bg: #f0f0f0;
}

body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--background-dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Top Header Styles */
.top-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--background-light) 100%);
    border-bottom: 2px solid var(--primary-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.1);
    transition: transform 0.3s ease-in-out;
}

.top-header.header-hidden {
    transform: translateY(-100%);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Header Navigation Links */
.header-nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-nav-link {
    padding: 8px 16px;
    background: var(--background-light);
    border: 2px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    text-decoration: none;
    font-family: 'Consolas', monospace;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
    white-space: nowrap;
}

.header-nav-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(0, 212, 255, 0.1);
}

.header-nav-link.active {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(0, 212, 255, 0.15);
    font-weight: 700;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

/* Desktop only elements */
.desktop-only {
    display: flex;
}

/* Mobile Navigation Links */
.mobile-nav-links {
    display: none; /* Hidden on desktop */
}

.mobile-nav-link {
    padding: 10px 16px;
    background: var(--background-light);
    border: 2px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    text-decoration: none;
    font-family: 'Consolas', monospace;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
    text-align: center;
    white-space: nowrap;
    display: inline-block;
}

.mobile-nav-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-2px);
}

.mobile-nav-link.active {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(0, 212, 255, 0.15);
    font-weight: 700;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 24px;
    font-weight: bold;
    transition: all 0.3s;
}

.logo:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s;
}

.logo:hover .logo-image {
    filter: brightness(1.2);
}

.logo-text {
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
}

/* Global Hamburger Button Container */
.global-hamburger-container {
    position: relative;
}

/* Global Hamburger Button */
.global-hamburger-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    height: 38px;
    min-width: 44px;
}

.global-hamburger-btn:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.4);
}

.global-hamburger-btn .hamburger-icon {
    display: block;
    line-height: 1;
    min-width: 20px;
    min-height: 20px;
    font-family: "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Sans", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Global Menu Dropdown */
.global-menu-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--background-light);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    min-width: 280px;
    max-width: 320px;
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.3);
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.global-menu-dropdown.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: dropdownFadeIn 0.3s ease;
}

.global-menu-section {
    padding: 8px 0;
}

.global-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.global-menu-item:hover {
    background: rgba(0, 212, 255, 0.15);
    color: var(--primary-color);
    padding-left: 28px;
}

.global-menu-item .icon {
    font-size: 18px;
    min-width: 20px;
    min-height: 18px;
    display: inline-block;
    font-family: "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Sans", sans-serif;
    font-feature-settings: normal;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.global-menu-divider {
    height: 1px;
    background: var(--border-color);
    margin: 4px 12px;
}

.global-menu-form {
    margin: 0;
    padding: 0;
}

.global-menu-item.logout-btn {
    color: var(--error-color);
}

.global-menu-item.logout-btn:hover {
    background: rgba(255, 71, 87, 0.15);
}


.auth-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Theme Toggle Styles */
.theme-toggle {
    position: relative;
}

.theme-toggle-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    height: 38px;
    min-width: 44px;
}

.theme-toggle-btn:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.4);
}

.theme-icon {
    display: block;
    line-height: 1;
    font-size: 20px;
    min-width: 20px;
    min-height: 20px;
    font-family: "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Sans", sans-serif;
    font-feature-settings: normal;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Language Selector Styles */
.language-selector {
    position: relative;
}

.language-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    height: 38px;
}

.language-btn:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.4);
}

.globe-icon {
    font-size: 16px;
    min-width: 16px;
    min-height: 16px;
    display: inline-block;
    font-family: "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Sans", sans-serif;
    font-feature-settings: normal;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.current-lang {
    font-weight: 600;
    font-size: 13px;
}

.dropdown-arrow {
    font-size: 10px;
    transition: transform 0.3s;
}

.language-btn:hover .dropdown-arrow {
    transform: translateY(2px);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--background-light);
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    min-width: 180px;
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.2);
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.language-dropdown.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: dropdownFadeIn 0.3s ease;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
    font-weight: 500;
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
    padding-left: 20px;
}

.language-option.active {
    background: rgba(0, 212, 255, 0.15);
    color: var(--primary-color);
    border-left: 3px solid var(--primary-color);
}

.language-option .flag {
    font-size: 20px;
    min-width: 20px;
    min-height: 20px;
    display: inline-block;
    font-family: "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Sans", sans-serif;
    font-feature-settings: normal;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.flag-icon {
    font-family: "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Sans", sans-serif;
    font-feature-settings: normal;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-width: 18px;
    min-height: 18px;
    display: inline-block;
}

/* Currency Selector Styles (similar to language selector) */
.currency-selector {
    position: relative;
}

.currency-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.currency-btn:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.4);
}

.currency-icon {
    font-size: 16px;
}

.current-currency {
    font-weight: 600;
    font-size: 13px;
}

.currency-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--background-light);
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    min-width: 280px;
    max-width: 320px;
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.2);
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    max-height: 500px;
    overflow: hidden;
    flex-direction: column;
}

.currency-dropdown.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    animation: dropdownFadeIn 0.3s ease;
}

.currency-search-container {
    padding: 10px;
    background: rgba(0, 212, 255, 0.05);
    border-bottom: 1px solid var(--border-color);
}

.currency-search-input {
    width: 100%;
    padding: 8px 12px;
    background: var(--code-bg);
    border: 2px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-primary);
    font-size: 13px;
    font-family: 'Consolas', monospace;
    transition: border-color 0.3s ease;
}

.currency-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.currency-search-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

.currency-options-container {
    max-height: 250px;
    overflow-y: auto;
    overflow-x: hidden;
}

.currency-options-container::-webkit-scrollbar {
    width: 8px;
}

.currency-options-container::-webkit-scrollbar-track {
    background: var(--code-bg);
}

.currency-options-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.currency-options-container::-webkit-scrollbar-thumb:hover {
    background: var(--primary-hover);
}

.currency-dropdown-header {
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 1px;
    background: rgba(0, 212, 255, 0.05);
    flex-shrink: 0;
}

.currency-dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 4px 0;
    flex-shrink: 0;
}

.currency-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s;
    border-bottom: 1px solid var(--border-color);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    flex-shrink: 0;
}

.currency-option:last-child {
    border-bottom: none;
}

.currency-option:hover {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
    padding-left: 20px;
}

.currency-option.active {
    background: rgba(0, 212, 255, 0.15);
    color: var(--primary-color);
    border-left: 3px solid var(--primary-color);
}

.currency-option .currency-symbol {
    font-size: 16px;
    font-weight: 600;
    min-width: 24px;
    text-align: center;
}

.currency-option .period-icon {
    font-size: 16px;
    font-weight: 600;
    min-width: 24px;
    text-align: center;
}

/* Period Option Specific Styles */
.period-option {
    cursor: pointer;
    user-select: none;
}

.period-option:hover {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
    padding-left: 20px;
}

.period-option.active {
    background: rgba(0, 212, 255, 0.15);
    color: var(--primary-color);
    border-left: 3px solid var(--primary-color);
    font-weight: 600;
}

/* User Menu Container */
.user-menu-container {
    position: relative;
}

/* Hamburger Menu Button */
.hamburger-menu-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.hamburger-menu-btn:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.4);
}

.hamburger-icon {
    display: block;
    line-height: 1;
}

/* User Dropdown Menu */
.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--background-light);
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    min-width: 200px;
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.2);
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.user-dropdown.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: dropdownFadeIn 0.3s ease;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dropdown Items */
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 1px solid var(--border-color);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
    padding-left: 24px;
}

.dropdown-item .icon {
    font-size: 16px;
}

/* Dropdown Form */
.dropdown-form {
    margin: 0;
    padding: 0;
}

.logout-btn {
    border-radius: 0 0 4px 4px;
}

.btn {
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid transparent;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.btn-primary {
    background: #3db2cf;
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.btn-text {
    background: transparent;
    color: var(--text-secondary);
    border: none;
}

.btn-text:hover {
    color: var(--text-primary);
}

/* Bottom Footer Styles */
.bottom-footer {
    background: var(--secondary-color);
    border-top: 2px solid var(--primary-color);
    padding: 30px 0;
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s;
    padding: 5px 10px;
    border-radius: 4px;
}

.footer-link:hover {
    color: var(--primary-color);
    background-color: rgba(0, 212, 255, 0.1);
}

.footer-social {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 212, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.4);
}

.social-icon {
    width: 20px;
    height: 20px;
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 14px;
    text-align: center;
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--background-light);
    border-top: 2px solid var(--primary-color);
    padding: 20px;
    z-index: 1000;
    display: none;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
}

.cookie-text p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: var(--background-light);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.2);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Logout Modal Specific Styles */
.logout-modal-content {
    max-width: 450px;
    text-align: center;
}

.logout-modal-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.logout-modal-icon {
    font-size: 48px;
    animation: doorSwing 0.5s ease;
}

@keyframes doorSwing {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-10deg);
    }
    50% {
        transform: rotate(10deg);
    }
    75% {
        transform: rotate(-5deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

.logout-modal-header h2 {
    color: var(--primary-color);
    font-size: 24px;
    margin: 0;
    font-weight: 700;
}

.logout-modal-message {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.logout-modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

.logout-modal-actions .btn {
    min-width: 130px;
    flex: 0 1 auto;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 24px;
}

.modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 24px;
}

.modal-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--primary-color);
}

.cookie-settings .cookie-option {
    background: var(--code-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
}

.cookie-option-header {
    margin-bottom: 8px;
}

.cookie-option-header label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: var(--text-primary);
}

.cookie-option-header input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.cookie-option-desc {
    color: var(--text-secondary);
    font-size: 14px;
    margin-left: 28px;
}

.modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
}

/* Quick View Modal Styles */
.quick-view-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.quick-view-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    background-color: #f8f9fa;
}

.quick-view-category {
    display: inline-block;
    padding: 4px 10px;
    background-color: #3498db;
    color: white;
    border-radius: 15px;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
    width: fit-content;
}

.quick-view-title {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin: 5px 0;
}

.quick-view-salary {
    font-size: 32px;
    font-weight: bold;
    color: #27ae60;
    margin: 10px 0;
}

.quick-view-description {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

.quick-view-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.quick-view-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.quick-view-btn-primary {
    background-color: #27ae60;
    color: white;
}

.quick-view-btn-primary:hover {
    background-color: #229954;
}

.quick-view-btn-secondary {
    background-color: #3498db;
    color: white;
}

.quick-view-btn-secondary:hover {
    background-color: #2980b9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    /* Top Header Responsive */
    .top-header {
        padding: 12px 0;
    }
    
    .header-content {
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .header-left {
        gap: 10px;
        flex-shrink: 0;
    }
    
    .header-right {
        gap: 8px;
        flex-shrink: 0;
        margin-left: auto;
    }

    /* Hide desktop navigation links on mobile */
    .desktop-only {
        display: none !important;
    }

    /* Show mobile navigation links */
    .mobile-nav-links {
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }

    .logo {
        font-size: 18px;
        gap: 8px;
    }
    
    .logo-image {
        height: 32px;
    }
    
    .logo-text {
        display: none;
    }

    /* Standardized button sizes for mobile */
    .theme-toggle-btn,
    .language-btn,
    .global-hamburger-btn {
        padding: 6px 10px;
        height: 36px;
        min-width: 40px;
    }

    .theme-toggle-btn {
        font-size: 16px;
    }

    .language-btn {
        font-size: 13px;
        gap: 4px;
    }

    .theme-icon {
        font-size: 18px;
        min-width: 18px;
        min-height: 18px;
        font-family: "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Sans", sans-serif;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    .globe-icon {
        font-size: 14px;
        min-width: 14px;
        min-height: 14px;
        font-family: "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Sans", sans-serif;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    .current-lang {
        font-size: 12px;
    }

    .dropdown-arrow {
        font-size: 9px;
    }

    /* Global Hamburger Responsive */
    .global-hamburger-btn {
        font-size: 18px;
    }
    
    /* Global Menu Responsive */
    .global-menu-content {
        top: 70px;
        right: 10px;
        min-width: 260px;
        max-width: calc(100% - 20px);
    }
    
    .global-menu-item {
        padding: 12px 18px;
        font-size: 14px;
    }
    
    .global-menu-item:hover {
        padding-left: 26px;
    }

    .global-menu-item .icon {
        font-size: 16px;
        min-width: 16px;
        min-height: 16px;
        font-family: "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Sans", sans-serif;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    .auth-buttons {
        gap: 8px;
    }

    .btn {
        padding: 8px 14px;
        font-size: 13px;
    }

    .language-dropdown {
        min-width: 160px;
        right: -10px;
    }

    .language-option {
        padding: 10px 14px;
        font-size: 13px;
        gap: 10px;
    }

    .language-option:hover {
        padding-left: 18px;
    }

    .language-option .flag {
        font-size: 18px;
        min-width: 18px;
        min-height: 18px;
        font-family: "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Sans", sans-serif;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    /* Bottom Footer Responsive */
    .bottom-footer {
        padding: 20px 0;
    }
    
    .footer-content {
        gap: 15px;
    }
    
    .footer-links {
        gap: 12px;
        font-size: 13px;
    }

    .footer-link {
        padding: 4px 8px;
        font-size: 13px;
    }

    .footer-social {
        gap: 12px;
    }

    .footer-social-link {
        width: 36px;
        height: 36px;
    }

    .social-icon {
        width: 18px;
        height: 18px;
    }

    .footer-info p {
        font-size: 12px;
    }
    
    /* Cookie Banner Responsive */
    .cookie-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .cookie-text {
        min-width: auto;
    }
    
    .cookie-text strong {
        font-size: 14px;
    }

    .cookie-text p {
        font-size: 13px;
    }

    .cookie-actions {
        width: 100%;
        justify-content: center;
    }

    /* Modal Responsive */
    .modal-content {
        padding: 20px;
        width: 95%;
    }

    .modal-content h2 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    /* Top Header for Very Small Screens */
    .top-header {
        padding: 10px 0;
    }

    .header-content {
        gap: 6px;
    }
    
    .header-left {
        gap: 8px;
    }

    .header-right {
        gap: 6px;
    }
    
    .logo {
        font-size: 16px;
        gap: 6px;
    }
    
    .logo-image {
        height: 28px;
    }

    /* Mobile navigation for small screens */
    .mobile-nav-link {
        padding: 8px 12px;
        font-size: 11px;
    }

    /* Buttons for very small screens */
    .theme-toggle-btn,
    .language-btn,
    .global-hamburger-btn {
        padding: 5px 8px;
        height: 34px;
        min-width: 38px;
    }

    .theme-toggle-btn {
        font-size: 15px;
    }

    .language-btn {
        font-size: 12px;
        gap: 3px;
    }

    /* Global Hamburger for Very Small Screens */
    .global-hamburger-btn {
        font-size: 16px;
    }

    .theme-icon {
        font-size: 16px;
        min-width: 16px;
        min-height: 16px;
        font-family: "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Sans", sans-serif;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    .globe-icon {
        font-size: 13px;
        min-width: 13px;
        min-height: 13px;
        font-family: "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Sans", sans-serif;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    .current-lang {
        font-size: 11px;
    }

    .dropdown-arrow {
        font-size: 8px;
    }

    /* Global Menu for Very Small Screens */
    .global-menu-content {
        top: 60px;
        right: 5px;
        min-width: 240px;
        max-width: calc(100% - 10px);
    }
    
    .global-menu-item {
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .global-menu-item:hover {
        padding-left: 24px;
    }
    
    .global-menu-item .icon {
        font-size: 15px;
        min-width: 15px;
        min-height: 15px;
        font-family: "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Sans", sans-serif;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }


    .auth-buttons {
        gap: 6px;
    }

    .btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .btn-outline,
    .btn-primary {
        min-width: 70px;
    }


    /* Language Selector for Very Small Screens */
    .language-btn {
        padding: 6px 10px;
        font-size: 12px;
        gap: 5px;
    }

    .globe-icon {
        font-size: 13px;
    }

    .current-lang {
        font-size: 11px;
    }

    .dropdown-arrow {
        font-size: 9px;
    }

    .language-dropdown {
        min-width: 140px;
        right: -5px;
    }
    
    .language-option {
        padding: 10px 12px;
        font-size: 12px;
        gap: 8px;
    }
    
    .language-option:hover {
        padding-left: 16px;
    }
    
    .language-option .flag {
        font-size: 16px;
        min-width: 16px;
        min-height: 16px;
        font-family: "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Sans", sans-serif;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    /* Bottom Footer for Very Small Screens */
    .bottom-footer {
        padding: 15px 0;
    }
    
    .footer-content {
        gap: 12px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }
    
    .footer-link {
        padding: 4px 6px;
        font-size: 12px;
    }

    .footer-info p {
        font-size: 11px;
    }
    
    /* Cookie Banner for Very Small Screens */
    .cookie-banner {
        padding: 15px 10px;
    }

    .cookie-content {
        gap: 12px;
    }

    .cookie-text strong {
        font-size: 13px;
    }
    
    .cookie-text p {
        font-size: 12px;
    }
    
    .cookie-actions {
        flex-direction: column;
    }
    
    .cookie-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Modal for Very Small Screens */
    .modal-content {
        padding: 15px;
        width: 98%;
    }
    
    .modal-content h2 {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .modal-description {
        font-size: 13px;
    }
    
    .close-modal {
        font-size: 24px;
        top: 10px;
        right: 10px;
    }
    
    .cookie-option {
        padding: 12px;
    }
    
    .cookie-option-desc {
        font-size: 12px;
    }
}

/* Password Toggle Styles */
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper input[type="password"],
.password-wrapper input[type="text"] {
    padding-right: 45px !important;
}

.toggle-password-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s;
    z-index: 10;
}

.toggle-password-btn:hover {
    color: var(--primary-color);
}

.toggle-password-btn:focus {
    outline: none;
}

.toggle-password-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.eye-icon,
.eye-slash-icon {
    display: none;
}

.toggle-password-btn.show .eye-icon {
    display: block;
}

.toggle-password-btn.hide .eye-slash-icon {
    display: block;
}


