 /* Modal Styles */
        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 9999;
            align-items: center;
            justify-content: center;
        }
        .modal-overlay.active {
            display: flex;
        }
        .modal-container {
            background: #fff;
            border-radius: 12px;
            max-width: 450px;
            width: 90%;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
            animation: modalFadeIn 0.3s ease;
        }
        @keyframes modalFadeIn {
            from { opacity: 0; transform: scale(0.95); }
            to { opacity: 1; transform: scale(1); }
        }
        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1.25rem 1.5rem;
            border-bottom: 1px solid #e2e8f0;
        }
        .modal-title {
            font-size: 1.25rem;
            font-weight: 600;
            color: #2d3748;
        }
        .modal-close {
            background: none;
            border: none;
            font-size: 1.25rem;
            color: #a0aec0;
            cursor: pointer;
            transition: color 0.3s;
        }
        .modal-close:hover {
            color: #4a5568;
        }
        .modal-body {
            padding: 1.5rem;
        }
        .login-container {
            padding: 0.5rem 0;
        }
        .login-header {
            text-align: center;
            margin-bottom: 1.5rem;
        }
        .login-header h2 {
            font-size: 1.5rem;
            font-weight: 700;
            color: #2d3748;
            margin-bottom: 0.5rem;
        }
        .login-header p {
            color: #718096;
            font-size: 0.95rem;
        }
        .form-group {
            margin-bottom: 1.25rem;
        }
        .form-group label {
            display: block;
            font-weight: 500;
            color: #4a5568;
            margin-bottom: 0.4rem;
            font-size: 0.9rem;
        }
        .input-group {
            position: relative;
            display: flex;
            align-items: center;
        }
        .input-group .input-icon {
            position: absolute;
            left: 12px;
            color: #a0aec0;
            font-size: 0.95rem;
            z-index: 1;
        }
        .input-group input {
            width: 100%;
            padding: 0.65rem 1rem 0.65rem 2.4rem;
            border: 1.5px solid #e2e8f0;
            border-radius: 8px;
            font-size: 0.95rem;
            transition: all 0.3s;
            background: #f7fafc;
            color: #2d3748;
        }
        .input-group input:focus {
            outline: none;
            border-color: #667eea;
            background: #fff;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }
        .input-group input::placeholder {
            color: #a0aec0;
        }
        .input-group .password-toggle {
            position: absolute;
            right: 12px;
            background: none;
            border: none;
            color: #a0aec0;
            cursor: pointer;
            font-size: 1rem;
            padding: 5px;
            z-index: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: color 0.3s;
        }
        .input-group .password-toggle:hover {
            color: #4a5568;
        }
        .form-options {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.25rem;
        }
        .checkbox-container {
            display: flex;
            align-items: center;
            font-size: 0.9rem;
            color: #4a5568;
            cursor: pointer;
        }
        .checkbox-container input {
            margin-right: 0.5rem;
            accent-color: #667eea;
        }
        .forgot-password {
            color: #667eea;
            font-size: 0.9rem;
            text-decoration: none;
            font-weight: 500;
            cursor: pointer;
        }
        .forgot-password:hover {
            text-decoration: underline;
        }
        .login-btn {
            width: 100%;
            padding: 0.75rem;
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: #fff;
            border: none;
            border-radius: 8px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }
        .login-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
        }
        .login-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }
        .login-footer {
            text-align: center;
            margin-top: 1.25rem;
            padding-top: 1.25rem;
            border-top: 1px solid #e2e8f0;
            font-size: 0.95rem;
            color: #718096;
        }
        .login-footer a {
            color: #667eea;
            font-weight: 600;
            text-decoration: none;
        }
        .login-footer a:hover {
            text-decoration: underline;
        }
        .otp-mobile-number {
            color: #4a5568;
            font-weight: 500;
        }
        .otp-timer {
            text-align: center;
            margin-bottom: 0.75rem;
        }
        .otp-timer span {
            font-weight: 600;
            color: #667eea;
        }
        .resend-otp {
            text-align: center;
            margin-bottom: 1rem;
        }
        .resend-otp button {
            background: none;
            border: none;
            color: #667eea;
            font-size: 0.9rem;
            font-weight: 500;
            cursor: pointer;
        }
        .resend-otp button:disabled {
            color: #a0aec0;
            cursor: not-allowed;
        }
        .success-icon {
            font-size: 3rem;
            color: #48bb78;
            margin-bottom: 0.75rem;
        }
        /* Alert Box Styles */
        .alert-box {
            padding: 12px 15px;
            border-radius: 6px;
            margin-bottom: 15px;
            font-size: 14px;
            font-weight: 500;
            display: none;
            animation: slideDown 0.3s ease;
        }
        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        .alert-error {
            background: #fee2e2;
            color: #dc2626;
            border-left: 4px solid #dc2626;
        }
        .alert-success {
            background: #dcfce7;
            color: #16a34a;
            border-left: 4px solid #16a34a;
        }
        .alert-warning {
            background: #fef3c7;
            color: #d97706;
            border-left: 4px solid #d97706;
        }
        .alert-info {
            background: #dbeafe;
            color: #2563eb;
            border-left: 4px solid #2563eb;
        }
        /* For numeric inputs - hide spinners */
        input[type="number"]::-webkit-inner-spin-button,
        input[type="number"]::-webkit-outer-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }
        input[type="number"] {
            -moz-appearance: textfield;
        }

        /* ======================================================
           COLORFUL LOGIN FORM STYLES
           ====================================================== */
        .login-form {
            background: linear-gradient(145deg, #ffffff, #f8faff);
            border-radius: 16px;
            padding: 2rem;
            box-shadow: 0 10px 40px rgba(102, 126, 234, 0.15);
            border: 1px solid rgba(102, 126, 234, 0.08);
        }

        .login-form .login-header img {
            filter: drop-shadow(0 2px 8px rgba(102, 126, 234, 0.2));
        }

        .login-form .login-header p {
            color: #667eea;
            font-weight: 500;
            background: linear-gradient(135deg, #667eea, #764ba2);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        .form-group-icon {
            position: relative;
        }

        .form-group-icon input {
            width: 100%;
            padding: 0.75rem 1rem 0.75rem 2.8rem;
            border: 2px solid #e8edf5;
            border-radius: 10px;
            font-size: 0.95rem;
            transition: all 0.3s;
            background: #f8faff;
            color: #2d3748;
        }

        .form-group-icon input:focus {
            outline: none;
            border-color: #667eea;
            background: #ffffff;
            box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
        }

        .form-group-icon input::placeholder {
            color: #a0aec0;
        }

        .form-group-icon i {
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            color: #667eea;
            font-size: 1rem;
            z-index: 1;
        }

        .form-group-icon .password-toggle {
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: #a0aec0;
            cursor: pointer;
            padding: 5px;
            font-size: 1rem;
            z-index: 1;
            transition: color 0.3s;
        }

        .form-group-icon .password-toggle:hover {
            color: #667eea;
        }

        .theme-btn {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: #fff;
            border: none;
            padding: 0.75rem 2rem;
            border-radius: 10px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
        }

        .theme-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
        }

        .theme-btn:active {
            transform: translateY(0);
        }

        /* OTP Section Styling */
        #otp-section {
            background: linear-gradient(135deg, #f0f4ff, #faf5ff);
            border-radius: 12px;
            padding: 1.25rem;
            margin-bottom: 1.25rem;
            border: 2px dashed #667eea;
            animation: fadeSlideDown 0.4s ease;
        }

        @keyframes fadeSlideDown {
            0% {
                opacity: 0;
                transform: translateY(-10px);
            }
            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .otp-info-box {
            display: flex;
            align-items: center;
            gap: 12px;
            background: linear-gradient(135deg, #667eea, #764ba2);
            padding: 10px 16px;
            border-radius: 8px;
            margin-bottom: 15px;
            color: #fff;
        }

        .otp-info-box i {
            font-size: 1.2rem;
            color: #fff;
        }

        .otp-info-box .otp-mobile-display {
            font-weight: 600;
            font-size: 1rem;
            letter-spacing: 0.5px;
        }

        .otp-info-box .otp-label {
            font-size: 0.8rem;
            opacity: 0.8;
            font-weight: 400;
        }

        .otp-timer-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 8px;
            padding: 8px 4px;
        }

        .otp-timer-row .timer-text {
            font-size: 0.85rem;
            color: #4a5568;
        }

        .otp-timer-row .timer-text span {
            font-weight: 700;
            color: #667eea;
            font-size: 1rem;
        }

        .otp-timer-row .resend-btn {
            background: none;
            border: none;
            color: #667eea;
            font-size: 0.85rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            padding: 4px 12px;
            border-radius: 6px;
        }

        .otp-timer-row .resend-btn:hover:not(:disabled) {
            background: rgba(102, 126, 234, 0.1);
        }

        .otp-timer-row .resend-btn:disabled {
            color: #a0aec0;
            cursor: not-allowed;
        }

        /* Forgot Password Modal Colorful */
        #forgot-password-modal .login-header h2 {
            background: linear-gradient(135deg, #667eea, #764ba2);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        /* Success Modal */
        .success-icon {
            font-size: 4rem;
            color: #48bb78;
            background: linear-gradient(135deg, #48bb78, #38a169);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        /* ===== ANIMATED FLIGHT LOADER (same as flight-search.php) ===== */
        #globalLoader {
            position: fixed;
            inset: 0;
            background: rgba(244, 247, 249, 0.6);
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(6px);
            z-index: 999999;
            display: none;
            align-items: center;
            justify-content: center;
        }
        #globalLoader.active {
            display: flex;
        }
        body.loading-active {
            overflow: hidden;
        }
        /* ===== ANIMATED FLIGHT LOADER (only loader changes) ===== */
        .tb-loading-overlay .spinner-box {
            background: var(--tb-paper, #ffffff);
            padding: 40px 50px;
            border-radius: var(--tb-radius-lg, 18px);
            text-align: center;
            box-shadow: var(--tb-shadow-xl, 0 25px 60px rgba(15, 23, 32, 0.25));
            max-width: 400px;
            position: relative;
            overflow: hidden;
        }
        .tb-loading-overlay .spinner-box::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: conic-gradient(from 0deg, transparent, rgba(14,124,134,0.03), transparent 60%);
            animation: rotateBg 6s linear infinite;
            pointer-events: none;
        }
        @keyframes rotateBg {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        .tb-loading-overlay .spinner-box::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(90deg, var(--tb-teal, #0E7C86), var(--tb-amber, #E8935B));
            z-index: 3;
        }
        .flight-loader {
            position: relative;
            width: 250px;
            height: 96px;
            margin: 4px auto 22px;
        }
        .flight-loader .flight-sky {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 28px;
        }
        .flight-loader .flight-sky i {
            position: absolute;
            color: var(--tb-slate, #64748b);
            opacity: 0.22;
            animation: cloudDrift 3.4s ease-in-out infinite;
        }
        .flight-loader .flight-sky i:nth-child(1) { top: 2px; left: 6%; font-size: 14px; animation-delay: 0s; }
        .flight-loader .flight-sky i:nth-child(2) { top: 13px; left: 47%; font-size: 10px; animation-delay: 0.8s; }
        .flight-loader .flight-sky i:nth-child(3) { top: 0; left: 80%; font-size: 11px; animation-delay: 0.35s; }
        @keyframes cloudDrift {
            0%, 100% { transform: translateX(0); opacity: 0.14; }
            50% { transform: translateX(-5px); opacity: 0.3; }
        }
        .flight-loader .flight-route {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            overflow: visible;
        }
        .flight-loader .route-base {
            fill: none;
            stroke: var(--tb-slate, #64748b);
            stroke-width: 2;
            stroke-linecap: round;
            stroke-dasharray: 1 7;
            opacity: 0.28;
        }
        .flight-loader .route-progress {
            fill: none;
            stroke: url(#flightRouteGradient);
            stroke-width: 2.25;
            stroke-linecap: round;
            stroke-dasharray: 100;
            stroke-dashoffset: 100;
            animation: routeDraw 2.6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
        }
        @keyframes routeDraw {
            0% { stroke-dashoffset: 100; opacity: 0.95; }
            80% { stroke-dashoffset: 0; opacity: 0.95; }
            100% { stroke-dashoffset: 0; opacity: 0; }
        }
        .flight-loader .flight-node {
            position: absolute;
            bottom: 24px;
            width: 9px;
            height: 9px;
            border-radius: 50%;
            box-shadow: 0 0 0 4px var(--tb-paper, #ffffff);
            z-index: 2;
        }
        .flight-loader .flight-node.origin { left: 9px; background: var(--tb-teal, #0E7C86); }
        .flight-loader .flight-node.destination { right: 9px; background: var(--tb-amber, #E8935B); }
        .flight-loader .flight-plane-track {
            position: absolute;
            width: 26px;
            height: 26px;
            left: 0;
            top: 58%;
            transform: translate(-50%, -50%);
            animation: planeMove 2.6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
            z-index: 3;
        }
        @keyframes planeMove {
            0%   { left: 3%;  top: 66%; opacity: 0; }
            8%   { opacity: 1; }
            25%  { left: 27%; top: 30%; }
            50%  { left: 50%; top: 12%; }
            75%  { left: 73%; top: 30%; }
            92%  { opacity: 1; }
            100% { left: 97%; top: 66%; opacity: 0; }
        }
        .flight-loader .flight-plane-icon {
            display: block;
            width: 100%;
            height: 100%;
            color: var(--tb-teal, #0E7C86);
            filter: drop-shadow(0 3px 4px rgba(14,124,134,0.35));
            animation: planeBank 2.6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
        }
        @keyframes planeBank {
            0%   { transform: rotate(65deg); }
            25%  { transform: rotate(55deg); }
            50%  { transform: rotate(90deg); }
            75%  { transform: rotate(120deg); }
            100% { transform: rotate(100deg); }
        }
        .tb-loading-overlay .spinner-box h4 {
            font-family: var(--tb-display, 'Fraunces', serif);
            font-weight: 600;
            letter-spacing: 0.2px;
            margin-bottom: 4px;
            position: relative;
            z-index: 2;
        }
        .tb-loading-overlay .spinner-box p {
            color: var(--tb-slate, #64748b);
            font-size: 14px;
            margin: 0;
            position: relative;
            z-index: 2;
        }
        .flight-status-bar {
            position: relative;
            width: 190px;
            height: 4px;
            margin: 16px auto 0;
            border-radius: 4px;
            background: rgba(14, 124, 134, 0.12);
            overflow: hidden;
            z-index: 2;
        }
        .flight-status-bar::after {
            content: '';
            position: absolute;
            top: 0;
            left: -40%;
            width: 40%;
            height: 100%;
            background: linear-gradient(90deg, transparent, var(--tb-teal, #0E7C86), var(--tb-amber, #E8935B), transparent);
            animation: shimmerMove 1.6s ease-in-out infinite;
        }
        @keyframes shimmerMove {
            0% { left: -40%; }
            100% { left: 100%; }
        }

        @media (max-width: 640px) {
            .flight-loader { width: 200px; height: 80px; }
            .tb-loading-overlay .spinner-box { padding: 30px 28px; }
            .tb-loading-overlay .spinner-box h4 { font-size: 1rem; }
            .login-form { padding: 1.25rem; }
            #otp-section { padding: 1rem; }
        }
