        :root {
            --primary: #FF5C1B;
            --primary-dark: #e05015;
            --primary-light: #ff7c43;
            --secondary: #001a33;
            --dark: #1B1B1B;
            --darker: #000000;
            --light: #FFFFFF;
            --gray: #CCCCCC;
            --gray-dark: #333333;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            background: linear-gradient(135deg, var(--darker) 0%, var(--secondary) 100%);
            color: var(--light);
            min-height: 100vh;
        }

        .main-content {
            display: flex;
            flex-direction: column;
            min-height: calc(100vh - 80px);
            /* Adjust for header height */
        }

        .login-container {
            background: var(--dark);
            border-radius: 10px;
            padding: 40px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            width: calc(100% - 40px);
            /* Ensure margin on mobile */
            max-width: 450px;
            border: 1px solid var(--primary);
            margin: 40px auto;
        }

        .login-header {
            text-align: center;
            margin-bottom: 30px;
        }

        .login-header h1 {
            color: var(--primary);
            font-size: 2rem;
            margin-bottom: 10px;
        }

        .login-header p {
            color: var(--gray);
            font-size: 1rem;
        }

        /* Tab Navigation */
        .login-tabs {
            display: flex;
            background: rgba(0, 0, 0, 0.2);
            border-radius: 12px;
            padding: 5px;
            margin-bottom: 30px;
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        .login-tab {
            flex: 1;
            padding: 12px;
            text-align: center;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 600;
            font-size: 0.95rem;
            color: #888;
            text-decoration: none;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .login-tab.active {
            background: var(--primary);
            color: #FFFFFF;
            box-shadow: 0 4px 15px rgba(255, 92, 27, 0.2);
        }

        .login-tab:not(.active):hover {
            color: #FFFFFF;
            background: rgba(255, 255, 255, 0.05);
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: var(--gray);
        }

        .form-group input {
            width: 100%;
            padding: 12px 15px;
            border-radius: 5px;
            border: 1px solid var(--gray-dark);
            background: var(--darker);
            color: var(--light);
            font-family: 'Inter', sans-serif;
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        .password-field-container {
            position: relative;
            width: 100%;
        }

        .password-field-container input {
            padding-right: 45px;
        }

        .toggle-password {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
            color: var(--gray);
            z-index: 10;
            font-size: 1.1rem;
            transition: color 0.3s ease;
        }

        .toggle-password:hover {
            color: var(--primary);
        }

        .form-group input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 2px rgba(255, 92, 27, 0.2);
        }

        .btn {
            padding: 12px 20px;
            border-radius: 5px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
            font-family: 'Inter', sans-serif;
            width: 100%;
            font-size: 1rem;
        }

        .btn-primary {
            background: var(--primary);
            color: var(--light);
            box-shadow: 0 4px 10px rgba(255, 92, 27, 0.3);
        }

        .btn-primary:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(255, 92, 27, 0.4);
        }

        .btn-secondary {
            background: var(--gray-dark);
            color: var(--light);
        }

        .btn-secondary:hover {
            background: #444;
        }

        .btn-admin {
            background: rgba(255, 255, 255, 0.05);
            color: #FFFFFF !important;
            border: 1px solid rgba(255, 255, 255, 0.1);
            margin-top: 15px;
            text-align: center;
        }

        .btn-admin:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: var(--primary);
        }

        .login-footer {
            text-align: center;
            margin-top: 20px;
            color: var(--gray);
            font-size: 0.9rem;
        }

        .login-footer a {
            color: var(--primary);
            text-decoration: none;
        }

        .login-footer a:hover {
            text-decoration: underline;
        }

        .error-message {
            background: rgba(244, 67, 54, 0.2);
            color: #F44336;
            padding: 10px 15px;
            border-radius: 5px;
            margin-bottom: 20px;
            border: 1px solid #F44336;
            display: none;
        }

        .success-message {
            background: rgba(76, 175, 80, 0.2);
            color: #4CAF50;
            padding: 10px 15px;
            border-radius: 5px;
            margin-bottom: 20px;
            border: 1px solid #4CAF50;
            display: none;
        }

        .member-id-example {
            background: rgba(255, 92, 27, 0.1);
            border: 1px solid var(--primary);
            border-radius: 5px;
            padding: 15px;
            margin-top: 20px;
        }

        .member-id-example h3 {
            color: var(--primary);
            font-size: 1rem;
            margin-bottom: 10px;
        }

        .member-id-example p {
            color: var(--gray);
            font-size: 0.9rem;
            margin-bottom: 5px;
        }

        .member-id-example code {
            background: var(--darker);
            padding: 2px 5px;
            border-radius: 3px;
            font-family: monospace;
        }

        .otp-section {
            display: none;
            margin-top: 20px;
            padding-top: 20px;
            border-top: 1px solid var(--gray-dark);
        }

        .resend-otp {
            text-align: center;
            margin-top: 15px;
        }

        .resend-otp a {
            color: var(--primary);
            text-decoration: none;
            cursor: pointer;
        }

        .resend-otp a:hover {
            text-decoration: underline;
        }

        /* Password visibility toggle styles */
        .password-field {
            position: relative;
        }

        .input-with-toggle {
            position: relative;
            display: flex;
            align-items: center;
        }

        .input-with-toggle input {
            padding-right: 45px;
        }

        .toggle-password {
            position: absolute;
            right: 0;
            top: 0;
            height: 100%;
            width: 45px;
            background: transparent;
            border: none;
            color: var(--primary);
            /* Changed to brand color for visibility */
            cursor: pointer;
            padding: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            z-index: 5;
        }

        .toggle-password:hover {
            color: var(--primary);
            background: rgba(255, 92, 27, 0.1);
        }

        .toggle-password:focus {
            outline: 2px solid var(--primary);
            outline-offset: 2px;
        }

        .toggle-password i {
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        @media (max-width: 576px) {
            .login-container {
                padding: 30px 20px;
                margin: 20px;
            }

            .login-header h1 {
                font-size: 1.8rem;
            }
        }

        /* NAV CONTAINER FIX */
        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 20px;
            position: relative;
        }

        /* Prevent hamburger menu clipping */
        .header .container {
            overflow: visible !important;
        }

        /* Ensure header has proper background */
        .header {
            background: var(--dark);
            position: sticky;
            top: 0;
            z-index: 50;
        }

        /* ===== BULLETPROOF HAMBURGER (NO SPANS) ===== */
        .menu-toggle {
            display: none;
            width: 44px;
            height: 44px;
            position: relative;
            background: transparent;
            border: none;
            cursor: pointer;
            z-index: 100;
        }

        /* Top & Bottom lines */
        .menu-toggle::before,
        .menu-toggle::after {
            content: "";
            position: absolute;
            left: 9px;
            right: 9px;
            height: 3px;
            background: #ffffff;
            border-radius: 3px;
            transition: transform 0.3s ease, top 0.3s ease, bottom 0.3s ease;
        }

        /* Top line */
        .menu-toggle::before {
            top: 14px;
        }

        /* Middle and bottom lines */
        .menu-toggle::after {
            top: 50%;
            transform: translateY(-50%);
            box-shadow: 0 8px 0 #ffffff;
        }

        /* ACTIVE STATE (X) */
        .menu-toggle.active::before {
            top: 50%;
            transform: rotate(45deg);
        }

        .menu-toggle.active::after {
            top: 50%;
            transform: rotate(-45deg);
            box-shadow: none;
        }

        /* MOBILE ONLY */
        @media (max-width: 768px) {
            .menu-toggle {
                display: block;
            }

            .nav-container .menu-toggle {
                display: flex;
            }

            .nav-buttons {
                display: none !important;
            }

            /* Mobile menu with consistent positioning to match global styles */
            .nav-menu {
                position: fixed;
                top: 0;
                right: -100%;
                /* Match global styles */
                width: 70%;
                height: 100vh;
                background: var(--dark);
                padding: 80px 20px;
                box-shadow: -3px 0 10px rgba(0, 0, 0, 0.4);
                transition: right 0.3s ease;
                /* Match global transition */
                z-index: 25;
            }

            .nav-menu.active {
                right: 0;
                /* Slide in from right */
            }

            .nav-menu ul {
                display: flex;
                flex-direction: column;
                gap: 20px;
                list-style: none;
                margin: 0;
                padding: 0;
            }

            .nav-menu ul li {
                width: 100%;
                text-align: center;
                margin: 0;
                border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            }

            .nav-menu ul li:last-child {
                border-bottom: none;
            }

            .nav-menu a {
                color: white;
                font-size: 1.1rem;
                text-decoration: none;
                display: block;
                padding: 15px 0;
                transition: color 0.3s ease;
            }

            .nav-menu a:hover {
                color: var(--primary);
            }

            .mobile-login {
                display: block !important;
                background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
                color: #FFFFFF !important;
                font-weight: 600;
                border-radius: 30px;
                margin: 10px 20px;
                padding: 12px 20px !important;
                text-align: center;
                box-shadow: 0 4px 15px rgba(255, 92, 27, 0.4);
                transition: all 0.3s ease;
            }

            .mobile-login:hover {
                background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%) !important;
                box-shadow: 0 6px 20px rgba(255, 92, 27, 0.6);
                transform: translateY(-3px);
            }
        }

        /* DESKTOP */
        @media (min-width: 769px) {
            .mobile-login {
                display: none !important;
            }
        }

        /* Prevent page scroll when menu is open */
        body.menu-open {
            overflow: hidden;
        }
        
        /* Custom scrollbar for premium modal */
        .premium-modal-content::-webkit-scrollbar {
            width: 8px;
        }
        
        .premium-modal-content::-webkit-scrollbar-track {
            background: rgba(15, 23, 42, 0.3);
            border-radius: 10px;
        }
        
        .premium-modal-content::-webkit-scrollbar-thumb {
            background: linear-gradient(180deg, #dc2626 0%, #991b1b 100%);
            border-radius: 10px;
            border: 2px solid rgba(15, 23, 42, 0.5);
        }
        
        .premium-modal-content::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(180deg, #ef4444 0%, #b91c1c 100%);
        }
        
        /* ===== PREMIUM TERMINATED MODAL STYLES ===== */
        @keyframes modalFadeIn {
            from {
                opacity: 0;
                transform: scale(0.95);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }
        
        @keyframes slideInDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes pulse {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.05);
            }
        }
        
        .premium-modal-content {
            background: linear-gradient(145deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
            padding: 0;
            border-radius: 24px;
            width: 90%;
            max-width: 520px;
            max-height: 90vh;
            overflow-y: auto;
            box-shadow: 
                0 30px 60px -15px rgba(220, 38, 38, 0.4),
                0 0 0 1px rgba(255, 255, 255, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
            position: relative;
            z-index: 1000001;
            font-family: 'Inter', sans-serif;
            animation: slideInDown 0.4s ease;
            overflow-x: hidden;
        }
        
        .premium-modal-content::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #dc2626 0%, #ef4444 50%, #dc2626 100%);
            box-shadow: 0 0 20px rgba(220, 38, 38, 0.6);
        }
        
        .premium-modal-header {
            padding: 32px 32px 24px;
            text-align: center;
            background: linear-gradient(180deg, rgba(220, 38, 38, 0.08) 0%, transparent 100%);
        }
        
        .premium-modal-icon {
            width: 80px;
            height: 80px;
            margin: 0 auto 20px;
            background: linear-gradient(135deg, rgba(220, 38, 38, 0.2) 0%, rgba(239, 68, 68, 0.15) 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 
                0 0 40px rgba(220, 38, 38, 0.3),
                inset 0 2px 0 rgba(255, 255, 255, 0.1);
            animation: pulse 2s ease-in-out infinite;
            border: 2px solid rgba(220, 38, 38, 0.3);
        }
        
        .premium-modal-icon i {
            font-size: 36px;
            color: #ef4444;
            filter: drop-shadow(0 2px 8px rgba(220, 38, 38, 0.5));
        }
        
        .premium-modal-title {
            margin: 0;
            font-size: 28px;
            color: #f87171;
            font-weight: 800;
            letter-spacing: -0.5px;
            text-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
            text-transform: uppercase;
        }
        
        .premium-modal-divider {
            height: 1px;
            background: linear-gradient(90deg, 
                transparent 0%, 
                rgba(220, 38, 38, 0.3) 20%, 
                rgba(239, 68, 68, 0.5) 50%, 
                rgba(220, 38, 38, 0.3) 80%, 
                transparent 100%);
            margin: 0 32px;
        }
        
        .premium-modal-body {
            padding: 32px;
            color: #e2e8f0;
        }
        
        .terminated-warning-icon {
            text-align: center;
            margin-bottom: 20px;
        }
        
        .terminated-warning-icon i {
            font-size: 48px;
            color: #fbbf24;
            filter: drop-shadow(0 4px 12px rgba(251, 191, 36, 0.4));
            animation: pulse 2s ease-in-out infinite;
        }
        
        .terminated-member-name {
            font-size: 22px;
            font-weight: 700;
            color: #f8fafc;
            text-align: center;
            margin-bottom: 16px;
            letter-spacing: -0.3px;
        }
        
        .terminated-message {
            font-size: 16px;
            line-height: 1.7;
            text-align: center;
            color: #cbd5e1;
            margin-bottom: 24px;
        }
        
        .terminated-message strong {
            color: #f87171;
            font-weight: 700;
        }
        
        .terminated-date {
            display: inline-block;
            background: linear-gradient(135deg, rgba(220, 38, 38, 0.15) 0%, rgba(239, 68, 68, 0.1) 100%);
            padding: 4px 12px;
            border-radius: 6px;
            border: 1px solid rgba(220, 38, 38, 0.3);
            color: #fca5a5;
            font-weight: 700;
        }
        
        .terminated-info-box {
            background: linear-gradient(135deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.4) 100%);
            border-left: 4px solid #ef4444;
            padding: 16px 20px;
            border-radius: 12px;
            margin-bottom: 24px;
            display: flex;
            align-items: flex-start;
            gap: 12px;
            box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
        }
        
        .terminated-info-box i {
            font-size: 20px;
            color: #ef4444;
            margin-top: 2px;
            flex-shrink: 0;
        }
        
        .terminated-info-box p {
            margin: 0;
            font-size: 14px;
            line-height: 1.6;
            color: #cbd5e1;
        }
        
        .terminated-download-section {
            margin-bottom: 24px;
        }
        
        .terminated-download-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
            color: #fff;
            text-decoration: none;
            padding: 16px 24px;
            border-radius: 12px;
            font-weight: 700;
            font-size: 15px;
            box-shadow: 
                0 8px 20px rgba(220, 38, 38, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
            border: 1px solid rgba(255, 255, 255, 0.15);
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .terminated-download-btn:hover {
            transform: translateY(-2px);
            box-shadow: 
                0 12px 28px rgba(220, 38, 38, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.25);
            background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
        }
        
        .terminated-download-btn i {
            font-size: 20px;
            filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
        }
        
        .terminated-notice {
            background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(245, 158, 11, 0.08) 100%);
            border-left: 4px solid #f59e0b;
            padding: 16px 20px;
            border-radius: 12px;
            margin-bottom: 24px;
            display: flex;
            align-items: center;
            gap: 12px;
            box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
        }
        
        .terminated-notice i {
            font-size: 20px;
            color: #fbbf24;
            flex-shrink: 0;
        }
        
        .terminated-notice p {
            margin: 0;
            font-size: 14px;
            line-height: 1.6;
            color: #fbbf24;
            font-weight: 500;
        }
        
        .terminated-contact-section {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .terminated-contact-section > p {
            font-size: 14px;
            color: #94a3b8;
            margin-bottom: 12px;
        }
        
        .terminated-contact-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: #60a5fa;
            text-decoration: none;
            font-size: 15px;
            font-weight: 600;
            padding: 10px 20px;
            background: linear-gradient(135deg, rgba(96, 165, 250, 0.1) 0%, rgba(59, 130, 246, 0.08) 100%);
            border-radius: 8px;
            border: 1px solid rgba(96, 165, 250, 0.2);
            transition: all 0.3s ease;
        }
        
        .terminated-contact-link:hover {
            background: linear-gradient(135deg, rgba(96, 165, 250, 0.15) 0%, rgba(59, 130, 246, 0.12) 100%);
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(96, 165, 250, 0.2);
        }
        
        .terminated-contact-link i {
            font-size: 16px;
        }
        
        .premium-modal-footer {
            padding: 24px 32px 32px;
            display: flex;
            justify-content: center;
        }
        
        .premium-modal-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            background: linear-gradient(135deg, #475569 0%, #334155 100%);
            color: #f8fafc;
            border: none;
            padding: 14px 32px;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 
                0 4px 15px rgba(71, 85, 105, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
            border: 1px solid rgba(255, 255, 255, 0.1);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            min-width: 160px;
        }
        
        .premium-modal-btn:hover {
            background: linear-gradient(135deg, #64748b 0%, #475569 100%);
            transform: translateY(-2px);
            box-shadow: 
                0 8px 20px rgba(71, 85, 105, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
        }
        
        .premium-modal-btn i {
            font-size: 18px;
        }
        
        /* Tablet responsive for premium modal */
        @media (min-width: 577px) and (max-width: 768px) {
            .premium-modal {
                padding: 15px;
                align-items: center;
            }
            
            .premium-modal-content {
                width: 95%;
                max-width: 600px;
                max-height: 88vh;
            }
            
            .premium-modal-header {
                padding: 28px 24px 20px;
            }
            
            .premium-modal-icon {
                width: 70px;
                height: 70px;
            }
            
            .premium-modal-icon i {
                font-size: 32px;
            }
            
            .premium-modal-title {
                font-size: 26px;
            }
            
            .premium-modal-divider {
                margin: 0 24px;
            }
            
            .premium-modal-body {
                padding: 28px 24px;
            }
            
            .premium-modal-footer {
                padding: 20px 24px 28px;
            }
        }
        
        /* Mobile responsive for premium modal */
        @media (max-width: 576px) {
            .premium-modal {
                padding: 10px;
                align-items: flex-start;
                padding-top: 20px;
            }
            
            .premium-modal-content {
                width: 100%;
                max-width: 100%;
                max-height: 85vh;
                margin: 0;
                border-radius: 20px;
            }
            
            .premium-modal-header {
                padding: 20px 16px 16px;
            }
            
            .premium-modal-icon {
                width: 60px;
                height: 60px;
                margin-bottom: 12px;
            }
            
            .premium-modal-icon i {
                font-size: 28px;
            }
            
            .premium-modal-title {
                font-size: 22px;
            }
            
            .premium-modal-divider {
                margin: 0 16px;
            }
            
            .premium-modal-body {
                padding: 20px 16px;
            }
            
            .terminated-warning-icon i {
                font-size: 40px;
            }
            
            .terminated-member-name {
                font-size: 18px;
                margin-bottom: 12px;
            }
            
            .terminated-message {
                font-size: 14px;
                line-height: 1.6;
                margin-bottom: 16px;
            }
            
            .terminated-info-box {
                padding: 12px 14px;
                margin-bottom: 16px;
                font-size: 13px;
            }
            
            .terminated-info-box i {
                font-size: 18px;
            }
            
            .terminated-info-box p {
                font-size: 13px;
            }
            
            .terminated-download-btn {
                padding: 14px 20px;
                font-size: 14px;
            }
            
            .terminated-notice {
                padding: 12px 14px;
                margin-bottom: 16px;
            }
            
            .terminated-notice i {
                font-size: 18px;
            }
            
            .terminated-notice p {
                font-size: 13px;
            }
            
            .terminated-contact-section {
                padding-top: 16px;
            }
            
            .terminated-contact-section > p {
                font-size: 13px;
                margin-bottom: 10px;
            }
            
            .terminated-contact-link {
                font-size: 14px;
                padding: 8px 16px;
            }
            
            .premium-modal-footer {
                padding: 16px 16px 20px;
            }
            
            .premium-modal-btn {
                width: 100%;
                padding: 12px 24px;
                font-size: 15px;
            }
        }