/* Header Styles */
.header {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(243, 133, 206, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
    position: relative;
}

/* Logo Section */
.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1001;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(243, 133, 206, 0.3);
    transition: transform 0.3s ease;
    object-fit: cover;
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
    font-family: 'Playfair Display', serif;
}

.city-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.1;
}

.cenrmo {
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, #F385CE, #e91e63);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    text-shadow: none;
}

/* Navigation */
.nav-content {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: #34495e;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    letter-spacing: 0.5px;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #F385CE, #e91e63);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-link:hover::before,
.nav-link:focus::before {
    opacity: 0.1;
}

.nav-link:hover,
.nav-link:focus {
    color: #F385CE;
    transform: translateY(-2px);
    outline: none;
}

/* Dropdown */
.nav-item.dropdown {
    position: relative;
}

.nav-link.dropdown-toggle::after {
    content: "▼";
    font-size: 0.75rem;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.nav-item.dropdown.open .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    min-width: 280px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-radius: 16px;
    padding: 1rem 0;
    top: 110%;
    left: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
    border: 1px solid rgba(243, 133, 206, 0.1);
    list-style: none;
}

.nav-item.dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    color: #34495e;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    display: block;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: linear-gradient(135deg, rgba(243, 133, 206, 0.1), rgba(233, 30, 99, 0.1));
    color: #F385CE;
    padding-left: 2rem;
    outline: none;
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

/* Modern Auth Buttons Container */
.auth-buttons-container {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Modern Auth Button Design */
.auth-btn {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem !important;
    border-radius: 16px !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
    min-width: 200px;
    border: 2px solid transparent !important;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    cursor: pointer !important;
    letter-spacing: 0.5px !important;
    gap: 0.75rem !important;
}

.auth-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

.auth-btn:hover::before {
    left: 100%;
}

/* Login Button */
.auth-btn.login-btn {
    border-color: rgba(243, 133, 206, 0.3) !important;
    color: #F385CE !important;
}

.auth-btn.login-btn:hover {
    border-color: #F385CE !important;
    background: linear-gradient(135deg, rgba(243, 133, 206, 0.1), rgba(233, 30, 99, 0.1)) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 30px rgba(243, 133, 206, 0.2) !important;
}

/* Register Button */
.auth-btn.register-btn {
    background: linear-gradient(135deg, #F385CE, #e91e63) !important;
    color: white !important;
    border-color: transparent !important;
}

.auth-btn.register-btn:hover {
    background: linear-gradient(135deg, #e91e63, #F385CE) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 30px rgba(243, 133, 206, 0.4) !important;
}

/* Button Content */
.btn-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.btn-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(243, 133, 206, 0.1);
    transition: all 0.3s ease;
}

.auth-btn.login-btn .btn-icon-wrapper {
    background: rgba(243, 133, 206, 0.15);
}

.auth-btn.register-btn .btn-icon-wrapper {
    background: rgba(255, 255, 255, 0.2);
}

.auth-btn:hover .btn-icon-wrapper {
    transform: scale(1.1);
    background: rgba(243, 133, 206, 0.2);
}

.auth-btn.register-btn:hover .btn-icon-wrapper {
    background: rgba(255, 255, 255, 0.3);
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.125rem;
}

.btn-label {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.2;
}

.btn-subtitle {
    font-size: 0.75rem;
    opacity: 0.7;
    font-weight: 400;
    line-height: 1.2;
}

.btn-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(243, 133, 206, 0.1);
    transition: all 0.3s ease;
}

.auth-btn.login-btn .btn-arrow {
    background: rgba(243, 133, 206, 0.15);
}

.auth-btn.register-btn .btn-arrow {
    background: rgba(255, 255, 255, 0.2);
}

.auth-btn:hover .btn-arrow {
    transform: translateX(4px);
    background: rgba(243, 133, 206, 0.2);
}

.auth-btn.register-btn:hover .btn-arrow {
    background: rgba(255, 255, 255, 0.3);
}


.login-page-header .header-content {
    justify-content: space-between;
}


.btn {
    padding: 0.75rem 1.75rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    gap: 0.5rem;
}

.btn-icon {
    transition: transform 0.3s ease;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-secondary {
    background: linear-gradient(135deg, #F385CE, #e91e63);
    color: white;
    border: 2px solid transparent;
}

.btn-secondary:hover,
.btn-secondary:focus {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(243, 133, 206, 0.4);
    outline: none;
}

.btn-secondary:hover .btn-icon,
.btn-secondary:focus .btn-icon {
    transform: scale(1.1);
}

.btn-outline {
    background: transparent;
    color: #F385CE;
    border: 2px solid #F385CE;
}

.btn-outline:hover,
.btn-outline:focus {
    background: linear-gradient(135deg, #F385CE, #e91e63);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(243, 133, 206, 0.3);
    outline: none;
}

.btn-outline:hover .btn-icon,
.btn-outline:focus .btn-icon {
    transform: scale(1.1);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem;
    border: none;
    background: none;
    z-index: 1001;
    /* Touch-friendly */
    -webkit-tap-highlight-color: rgba(243, 133, 206, 0.2);
    touch-action: manipulation;
    min-width: 44px;
    min-height: 44px;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: linear-gradient(135deg, #F385CE, #e91e63);
    margin: 3px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 6rem 2rem 2rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    /* Animation */
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu.active {
    display: block;
    animation: slideInMenu 0.3s ease forwards;
}

@keyframes slideInMenu {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.mobile-nav-links .nav-link {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(243, 133, 206, 0.1);
    border-radius: 0;
    /* Touch-friendly */
    -webkit-tap-highlight-color: rgba(243, 133, 206, 0.2);
    touch-action: manipulation;
    min-height: 48px;
    display: flex;
    align-items: center;
}

.mobile-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(243, 133, 206, 0.05);
    margin: 0.5rem 0;
    border-radius: 8px;
}

.mobile-dropdown-menu.active {
    max-height: 300px;
    padding: 0.5rem 0;
}

.mobile-dropdown-menu .dropdown-item {
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

.mobile-header-actions {
  
    flex-direction: column;
    gap: 1rem;
   
}

    .mobile-header-actions .btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
}

/* Mobile Auth Buttons */
.mobile-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.mobile-auth-btn {
    display: flex !important;
    align-items: center;
    padding: 1rem 1.25rem !important;
    border-radius: 16px !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent !important;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    letter-spacing: 0.5px !important;
}

.mobile-auth-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

.mobile-auth-btn:hover::before {
    left: 100%;
}

/* Mobile Login Button */
.mobile-auth-btn.login-btn {
    border-color: rgba(243, 133, 206, 0.3) !important;
    color: #F385CE !important;
}

.mobile-auth-btn.login-btn:hover {
    border-color: #F385CE !important;
    background: linear-gradient(135deg, rgba(243, 133, 206, 0.1), rgba(233, 30, 99, 0.1)) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 30px rgba(243, 133, 206, 0.2) !important;
}

/* Mobile Register Button */
.mobile-auth-btn.register-btn {
    background: linear-gradient(135deg, #F385CE, #e91e63) !important;
    color: white !important;
    border-color: transparent !important;
}

.mobile-auth-btn.register-btn:hover {
    background: linear-gradient(135deg, #e91e63, #F385CE) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 30px rgba(243, 133, 206, 0.4) !important;
}

/* Mobile Button Content */
.mobile-btn-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.mobile-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(243, 133, 206, 0.1);
    transition: all 0.3s ease;
}

.mobile-auth-btn.login-btn .mobile-btn-icon {
    background: rgba(243, 133, 206, 0.15);
}

.mobile-auth-btn.register-btn .mobile-btn-icon {
    background: rgba(255, 255, 255, 0.2);
}

.mobile-auth-btn:hover .mobile-btn-icon {
    transform: scale(1.1);
    background: rgba(243, 133, 206, 0.2);
}

.mobile-auth-btn.register-btn:hover .mobile-btn-icon {
    background: rgba(255, 255, 255, 0.3);
}

.mobile-btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    flex: 1;
}

.mobile-btn-label {
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.2;
}

.mobile-btn-subtitle {
    font-size: 0.85rem;
    opacity: 0.7;
    font-weight: 400;
    line-height: 1.2;
}

/* Applicant and Staff Header Styles */
.applicant-header,
.staff-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.applicant-header .nav-link,
.staff-header .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

.applicant-header .nav-link:hover,
.applicant-header .nav-link:focus,
.staff-header .nav-link:hover,
.staff-header .nav-link:focus {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.applicant-header .nav-link::before,
.staff-header .nav-link::before {
    background: rgba(255, 255, 255, 0.2);
}

.applicant-header .btn-outline,
.staff-header .btn-outline {
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.applicant-header .btn-outline:hover,
.applicant-header .btn-outline:focus,
.staff-header .btn-outline:hover,
.staff-header .btn-outline:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Topbar Styles */
.topbar {
    background: rgba(0, 0, 0, 0.1);
    padding: 0.5rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-left .icon-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.topbar-left .icon-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.topbar-right .user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-name {
    font-weight: 600;
    color: white;
}

.role-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.user-info {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-right: 1rem;
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE OPTIMIZED
   ======================================== */

/* Tablet & Desktop (1024px and below) */
@media (max-width: 1024px) {
    .header-content {
        padding: 0 1rem;
    }

    .nav-links {
        gap: 0.25rem;
    }

    .nav-link {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .btn {
        padding: 0.6rem 1.25rem;
        font-size: 0.9rem;
    }

    /* Responsive auth buttons */
    .auth-btn {
        min-width: 180px;
        padding: 0.65rem 1rem;
    }

    .btn-label {
        font-size: 0.9rem;
    }

    .btn-subtitle {
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    /* Compact Header */
    .header {
        border-bottom: 1px solid rgba(243, 133, 206, 0.15);
    }

    .header-content {
        min-height: 60px;
        padding: 0 0.75rem;
    }

    /* Compact Logo */
    .logo {
        gap: 0.6rem;
    }

    .city-name {
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }

    .cenrmo {
        font-size: 1.1rem;
    }

    .logo-img {
        width: 38px;
        height: 38px;
        box-shadow: 0 4px 15px rgba(243, 133, 206, 0.25);
    }

    /* Hide desktop navigation and buttons - Force override inline styles */
    .nav-content,
    .header-actions,
    .auth-buttons-container,
    .auth-btn,
    .auth-btn.login-btn,
    .auth-btn.register-btn {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        position: absolute !important;
        left: -9999px !important;
    }

    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
    }

    /* Compact hamburger */
    .hamburger-line {
        width: 22px;
        height: 2.5px;
        margin: 2.5px 0;
    }

    /* Mobile Menu Improvements */
    .mobile-menu {
        padding: 5rem 1.5rem 2rem;
    }

    .mobile-nav-links .nav-link {
        padding: 0.85rem 0;
        font-size: 1rem;
    }

    /* Mobile Auth Buttons - Compact */
    .mobile-auth-buttons {
        gap: 0.75rem;
        margin-top: 1.5rem;
    }

    .mobile-auth-btn {
        padding: 0.85rem 1rem !important;
        border-radius: 12px !important;
        font-size: 0.95rem !important;
    }

    .mobile-btn-icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    .mobile-btn-label {
        font-size: 1rem;
    }

    .mobile-btn-subtitle {
        font-size: 0.8rem;
    }

    /* Applicant and Staff Header Mobile Styles */
    .topbar {
        padding: 0.4rem 0.75rem;
    }

    .user-info {
        margin-right: 0.5rem;
        font-size: 0.85rem;
    }

    .user-name {
        font-size: 0.9rem;
    }

    .role-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }
}

@media (max-width: 480px) {
    /* Ultra Compact Header */
    .header-content {
        padding: 0 0.6rem;
        min-height: 55px;
    }

    /* Ultra Compact Logo */
    .logo {
        gap: 0.5rem;
    }

    .city-name {
        font-size: 0.7rem;
        letter-spacing: 0.3px;
    }

    .cenrmo {
        font-size: 1rem;
    }

    .logo-img {
        width: 35px;
        height: 35px;
        box-shadow: 0 3px 12px rgba(243, 133, 206, 0.25);
    }

    /* Ultra Compact Hamburger */
    .mobile-menu-toggle {
        padding: 0.35rem;
    }

    .hamburger-line {
        width: 20px;
        height: 2px;
        margin: 2px 0;
    }

    /* Mobile Menu - Ultra Compact */
    .mobile-menu {
        padding: 4.5rem 1rem 1.5rem;
    }

    .mobile-nav-links .nav-link {
        padding: 0.75rem 0;
        font-size: 0.95rem;
    }

    /* Mobile Auth Buttons - Ultra Compact */
    .mobile-auth-buttons {
        gap: 0.65rem;
        margin-top: 1.25rem;
    }

    .mobile-auth-btn {
        padding: 0.75rem 0.85rem !important;
        border-radius: 10px !important;
        font-size: 0.9rem !important;
    }

    .mobile-btn-icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .mobile-btn-icon svg {
        width: 18px;
        height: 18px;
    }

    .mobile-btn-label {
        font-size: 0.95rem;
    }

    .mobile-btn-subtitle {
        font-size: 0.75rem;
    }

    /* Applicant and Staff Header Small Screen Styles */
    .topbar {
        padding: 0.35rem 0.6rem;
    }

    .user-info {
        font-size: 0.75rem;
        margin-right: 0.25rem;
    }

    .user-name {
        font-size: 0.8rem;
    }

    .role-badge {
        font-size: 0.65rem;
        padding: 0.15rem 0.4rem;
    }

    .topbar-left .icon-btn {
        padding: 0.35rem;
    }

    .topbar-left .icon-btn svg {
        width: 20px;
        height: 20px;
    }
}

/* Extra Small Mobile (360px and below) - MAXIMUM COMPACT */
@media (max-width: 360px) {
    /* Maximum Compact Header */
    .header-content {
        padding: 0 0.5rem;
        min-height: 50px;
    }

    /* Maximum Compact Logo */
    .logo {
        gap: 0.4rem;
    }

    /* Hide "CITY OF MAASIN" on extra small screens for maximum compact */
    .city-name {
        display: none;
    }

    .cenrmo {
        font-size: 0.95rem;
    }

    .logo-img {
        width: 32px;
        height: 32px;
    }

    /* Maximum Compact Hamburger */
    .mobile-menu-toggle {
        padding: 0.3rem;
    }

    .hamburger-line {
        width: 18px;
        height: 2px;
        margin: 2px 0;
    }

    /* Mobile Menu - Maximum Compact */
    .mobile-menu {
        padding: 4rem 0.85rem 1.25rem;
    }

    .mobile-nav-links .nav-link {
        padding: 0.65rem 0;
        font-size: 0.9rem;
    }

    /* Mobile Auth Buttons - Maximum Compact */
    .mobile-auth-btn {
        padding: 0.65rem 0.75rem !important;
        font-size: 0.85rem !important;
    }

    .mobile-btn-icon {
        width: 35px;
        height: 35px;
    }

    .mobile-btn-icon svg {
        width: 16px;
        height: 16px;
    }

    .mobile-btn-label {
        font-size: 0.9rem;
    }

    .mobile-btn-subtitle {
        font-size: 0.7rem;
    }

    /* Topbar - Maximum Compact */
    .topbar {
        padding: 0.3rem 0.5rem;
    }

    .user-name {
        font-size: 0.75rem;
    }

    .role-badge {
        font-size: 0.6rem;
        padding: 0.12rem 0.35rem;
    }

    .topbar-left .icon-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* Smooth scrolling for all anchor links */
html {
    scroll-behavior: smooth;
}

/* Scroll Animation - Removed fade-in effect */