   /* ===== CSS RESET ===== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html,
        body {
            height: 100%;
            width: 100%;
            overflow: hidden;
            font-family: 'Inter', sans-serif;
        }

        /* ===== MAIN CONTAINER ===== */
        .forgot-password-container {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            display: flex;
            min-height: 100vh;
            overflow: hidden;
        }

        /* ===== LEFT PANEL ===== */
        .left-panel {
            flex: 1;
            background: linear-gradient(135deg, #4247df 0%, #9a34ff 100%);
            color: white;
            padding: 40px;
            display: none;
            position: relative;
            overflow: hidden;
        }

        .panel-background {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image:
                radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
        }

        .panel-content {
            position: relative;
            z-index: 2;
            max-width: 500px;
            margin: 0 auto;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .panel-logo {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-bottom: 40px;
            font-family: 'Poppins', sans-serif;
            font-weight: 700;
            font-size: 24px;
        }

        .panel-icon {
            width: 48px;
            height: 48px;
            background: rgba(255, 255, 255, 0.15);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            backdrop-filter: blur(8px);
        }

        .panel-title {
            font-family: 'Poppins', sans-serif;
            font-size: 36px;
            font-weight: 800;
            line-height: 1.2;
            margin-bottom: 16px;
        }

        .panel-subtitle {
            font-size: 18px;
            opacity: 0.9;
            margin-bottom: 40px;
            line-height: 1.6;
        }

        .feature-list {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .feature-list li {
            display: flex;
            align-items: center;
            gap: 16px;
            font-size: 16px;
        }

        .feature-list i {
            width: 32px;
            height: 32px;
            background: rgba(255, 255, 255, 0.15);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            flex-shrink: 0;
        }

        /* ===== RIGHT PANEL - FORM CONTAINER ===== */
        .right-panel {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            background: #f9fafb;
            overflow: auto;
        }

        /* ===== FORGOT CARD - PERFECTLY CENTERED ===== */
        .forgot-card {
            width: 100%;
            max-width: 420px;
            min-height: 520px;
            background: white;
            border-radius: 20px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
            display: flex;
            flex-direction: column;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        /* ===== PROGRESS STEPS ===== */
        .reset-steps {
            padding: 24px 24px 16px;
            border-bottom: 1px solid #e5e7eb;
            background: #f9fafb;
        }

        .steps-container {
            display: flex;
            justify-content: space-between;
            position: relative;
            padding: 0 8px;
        }

        .steps-container::before {
            content: '';
            position: absolute;
            top: 16px;
            left: 15%;
            right: 15%;
            height: 2px;
            background: #d1d5db;
            z-index: 1;
        }

        .step {
            display: flex;
            flex-direction: column;
            align-items: center;
            position: relative;
            z-index: 2;
            width: 80px;
        }

        .step-icon {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: white;
            border: 2px solid #d1d5db;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            color: #6b7280;
            margin-bottom: 8px;
            transition: all 0.3s ease;
        }

        .step.active .step-icon {
            background: #3b82f6;
            border-color: #3b82f6;
            color: white;
            box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
            transform: scale(1.1);
        }

        .step.completed .step-icon {
            background: #10b981;
            border-color: #10b981;
            color: white;
        }

        .step-label {
            font-size: 12px;
            font-weight: 600;
            color: #6b7280;
            text-align: center;
            transition: all 0.3s ease;
        }

        .step.active .step-label {
            color: #3b82f6;
            font-weight: 700;
        }

        .step.completed .step-label {
            color: #10b981;
        }

        /* ===== CARD BODY ===== */
        .forgot-body {
            flex: 1;
            padding: 24px;
            display: flex;
            flex-direction: column;
            position: relative;
            min-height: 400px;
        }

        /* ===== STEP CONTAINERS - ALWAYS VISIBLE ===== */
        .step-container {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            padding: 0 24px 24px;
            display: flex;
            flex-direction: column;
            opacity: 0;
            transform: translateX(20px);
            pointer-events: none;
            transition: all 0.3s ease;
        }

        .step-container.active {
            opacity: 1;
            transform: translateX(0);
            pointer-events: all;
            position: relative;
        }

        /* ===== FORM CONTAINER ===== */
        .form-container {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            min-height: 320px;
        }

        /* ===== MESSAGES ===== */
        .message-container {
            margin-bottom: 20px;
        }

        .message {
            padding: 12px 16px;
            border-radius: 8px;
            display: none;
            align-items: flex-start;
            gap: 12px;
            font-size: 14px;
            line-height: 1.5;
        }

        .message.show {
            display: flex;
        }

        .info-message {
            background: #eff6ff;
            border: 1px solid #dbeafe;
            color: #1d4ed8;
        }

        .success-message {
            background: #f0fdf4;
            border: 1px solid #bbf7d0;
            color: #166534;
        }

        .error-message {
            background: #fef2f2;
            border: 1px solid #fecaca;
            color: #991b1b;
        }

        /* ===== FORM ELEMENTS ===== */
        .form-group {
            margin-bottom: 20px;
        }

        .form-label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #374151;
            font-size: 14px;
        }

        .required {
            color: #ef4444;
            margin-left: 4px;
        }

        .input-with-icon {
            position: relative;
        }

        .input-icon {
            position: absolute;
            left: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: #9ca3af;
            pointer-events: none;
        }

        .form-control {
            width: 100%;
            padding: 12px 16px;
            padding-left: 44px;
            border: 2px solid #d1d5db;
            border-radius: 8px;
            font-size: 16px;
            font-family: 'Inter', sans-serif;
            color: #1f2937;
            background: white;
            transition: all 0.2s ease;
        }

        .form-control:focus {
            outline: none;
            border-color: #3b82f6;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        }

        .toggle-password {
            position: absolute;
            right: 16px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: #9ca3af;
            cursor: pointer;
            padding: 4px;
            font-size: 16px;
        }

        .toggle-password:hover {
            color: #6b7280;
        }

        /* ===== CODE INPUT ===== */
        .code-input-container {
            display: flex;
            gap: 12px;
            justify-content: center;
            margin-bottom: 20px;
        }

        .code-input-wrapper {
            width: 44px;
            height: 48px;
        }

        .code-input {
            width: 100%;
            height: 100%;
            border: 2px solid #d1d5db;
            border-radius: 8px;
            text-align: center;
            font-size: 20px;
            font-weight: 600;
            font-family: 'Courier New', monospace;
            color: #1f2937;
            background: white;
            transition: all 0.2s ease;
            caret-color: transparent;
        }

        .code-input:focus {
            outline: none;
            border-color: #3b82f6;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
            transform: scale(1.05);
        }

        .code-input.filled {
            border-color: #10b981;
            background: #f0fdf4;
        }

        /* ===== PASSWORD REQUIREMENTS ===== */
        .password-requirements {
            margin-top: 12px;
            padding: 12px;
            background: #f9fafb;
            border-radius: 8px;
            border: 1px solid #e5e7eb;
        }

        .requirement {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 12px;
            color: #6b7280;
            margin-bottom: 8px;
        }

        .requirement:last-child {
            margin-bottom: 0;
        }

        .requirement.valid {
            color: #10b981;
        }

        .requirement.valid i {
            color: #10b981;
        }

        /* ===== FORM ERRORS ===== */
        .form-error {
            display: none;
            align-items: center;
            gap: 8px;
            margin-top: 8px;
            font-size: 14px;
            color: #ef4444;
        }

        .form-error.show {
            display: flex;
        }

        /* ===== RESEND CODE ===== */
        .resend-code {
            text-align: center;
            padding: 16px;
            background: #f9fafb;
            border-radius: 8px;
            border: 1px solid #e5e7eb;
            margin-bottom: 20px;
        }

        .resend-code p {
            color: #4b5563;
            margin-bottom: 8px;
            font-size: 14px;
        }

        #countdown {
            font-weight: 600;
            color: #3b82f6;
        }

        /* ===== BUTTONS ===== */
        .form-actions {
            display: flex;
            gap: 12px;
            margin-top: auto;
            padding-top: 20px;
            border-top: 1px solid #e5e7eb;
        }

        .btn {
            padding: 12px 20px;
            border: none;
            border-radius: 8px;
            font-family: 'Inter', sans-serif;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            flex: 1;
            min-height: 44px;
            position: relative;
        }

        .btn-primary {
            background: #3b82f6;
            color: white;
        }

        .btn-primary:hover:not(:disabled) {
            background: #2563eb;
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
        }

        .btn-primary:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .btn-secondary {
            background: white;
            border: 2px solid #d1d5db;
            color: #374151;
        }

        .btn-secondary:hover:not(:disabled) {
            border-color: #3b82f6;
            color: #3b82f6;
        }

        .btn-link {
            background: transparent;
            color: #3b82f6;
            text-decoration: none;
            font-weight: 600;
            padding: 0;
        }

        .btn-link:hover:not(:disabled) {
            text-decoration: underline;
        }

        .btn-link:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        /* ===== LOADER ===== */
        .btn-loader {
            display: none;
            width: 16px;
            height: 16px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            border-top-color: white;
            animation: spin 0.8s ease-in-out infinite;
        }

        .btn.loading .btn-text {
            display: none;
        }

        .btn.loading .btn-loader {
            display: block;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }

        /* ===== FOOTER ===== */
        .forgot-footer {
            padding: 16px 24px;
            border-top: 1px solid #e5e7eb;
            text-align: center;
            background: #f9fafb;
        }

        .back-to-login {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: #3b82f6;
            text-decoration: none;
            font-weight: 600;
            font-size: 14px;
            padding: 8px 16px;
            border-radius: 8px;
            transition: all 0.2s ease;
        }

        .back-to-login:hover {
            background: #eff6ff;
        }

        /* ===== RESPONSIVE BREAKPOINTS ===== */

        /* SMALL SCREENS (Mobile) */
        @media (max-width: 1023px) {
            .left-panel {
                display: none;
            }

            .right-panel {
                padding: 16px;
            }

            .forgot-card {
                max-width: 100%;
                min-height: 500px;
                border-radius: 16px;
            }

            .reset-steps {
                padding: 20px 20px 12px;
            }

            .step {
                width: 70px;
            }

            .step-icon {
                width: 28px;
                height: 28px;
                font-size: 12px;
                margin-bottom: 6px;
            }

            .step-label {
                font-size: 11px;
            }

            .forgot-body {
                padding: 20px;
                min-height: 380px;
            }

            .step-container {
                padding: 0 20px 20px;
            }

            .form-container {
                min-height: 300px;
            }

            .code-input-wrapper {
                width: 40px;
                height: 44px;
            }

            .code-input {
                font-size: 18px;
            }

            .form-actions {
                flex-direction: column;
                gap: 8px;
            }

            .btn {
                width: 100%;
            }
        }

        /* VERY SMALL SCREENS */
        @media (max-width: 375px) {
            .right-panel {
                padding: 12px;
            }

            .forgot-card {
                min-height: 480px;
            }

            .reset-steps {
                padding: 16px 16px 12px;
            }

            .steps-container::before {
                left: 10%;
                right: 10%;
            }

            .step {
                width: 60px;
            }

            .step-icon {
                width: 24px;
                height: 24px;
                font-size: 11px;
            }

            .forgot-body {
                padding: 16px;
                min-height: 360px;
            }

            .step-container {
                padding: 0 16px 16px;
            }

            .code-input-wrapper {
                width: 36px;
                height: 40px;
            }

            .code-input {
                font-size: 16px;
            }
        }

        /* LARGE SCREENS (Desktop) - Show Left Panel */
        @media (min-width: 1024px) {
            .left-panel {
                display: flex;
            }

            .right-panel {
                padding: 40px;
            }

            .forgot-card {
                max-width: 440px;
                min-height: 540px;
            }

            .forgot-body {
                min-height: 420px;
            }

            .form-container {
                min-height: 340px;
            }
        }

        /* EXTRA LARGE SCREENS */
        @media (min-width: 1280px) {
            .forgot-card {
                max-width: 460px;
                min-height: 560px;
            }

            .forgot-body {
                min-height: 440px;
            }

            .form-container {
                min-height: 360px;
            }
        }

        /* HEIGHT-BASED ADJUSTMENTS */
        @media (max-height: 700px) {
            .forgot-card {
                min-height: 480px;
                max-height: 90vh;
            }

            .forgot-body {
                min-height: 360px;
            }

            .form-container {
                min-height: 280px;
            }

            .form-group {
                margin-bottom: 16px;
            }

            .form-actions {
                padding-top: 16px;
            }
        }

        /* VERY SHORT SCREENS */
        @media (max-height: 600px) {
            .right-panel {
                align-items: flex-start;
                padding-top: 20px;
                overflow-y: auto;
            }

            .forgot-card {
                min-height: auto;
                max-height: none;
                margin: auto 0;
            }
        }

        /* LANDSCAPE MODE */
        @media (max-height: 500px) and (orientation: landscape) {
            .right-panel {
                padding: 12px;
                align-items: center;
            }

            .forgot-card {
                max-width: 90%;
                min-height: 90vh;
            }

            .forgot-body {
                min-height: 300px;
            }

            .form-container {
                min-height: 240px;
            }

            .form-group {
                margin-bottom: 12px;
            }
        }

        /* DARK MODE */
        @media (prefers-color-scheme: dark) {
            .right-panel {
                background: #111827;
            }

            .forgot-card {
                background: #1f2937;
                border-color: #374151;
            }

            .reset-steps,
            .forgot-footer {
                background: #111827;
                border-color: #374151;
            }

            .step-icon {
                background: #374151;
                border-color: #4b5563;
                color: #d1d5db;
            }

            .form-control {
                background: #374151;
                border-color: #4b5563;
                color: #f9fafb;
            }

            .form-control:focus {
                border-color: #3b82f6;
                box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
            }

            .form-label {
                color: #e5e7eb;
            }

            .password-requirements,
            .resend-code {
                background: #111827;
                border-color: #374151;
            }

            .requirement {
                color: #9ca3af;
            }

            .btn-secondary {
                background: #374151;
                border-color: #4b5563;
                color: #f9fafb;
            }

            .btn-secondary:hover:not(:disabled) {
                border-color: #3b82f6;
                color: #3b82f6;
            }

            .back-to-login:hover {
                background: #374151;
            }
        }
         /* ===== SCROLLBAR ===== */
        ::-webkit-scrollbar {
            width: 6px;
        }

        ::-webkit-scrollbar-track {
            background: var(--gray-light);
            border-radius: var(--border-radius-xs);
        }

        ::-webkit-scrollbar-thumb {
            background: var(--primary-color);
            border-radius: var(--border-radius-xs);
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--primary-dark);
        }
