:root {
            --primary-color: #f9a141;
            --primary-hover: #e8922f;
            --primary-light: rgba(249, 161, 65, 0.1);
            --primary-glow: rgba(249, 161, 65, 0.3);
            --bg-dark: #0c0a09;
            --bg-card: rgba(28, 25, 23, 0.7);
            --border-color: rgba(68, 64, 60, 0.5);
            --text-primary: #ffffff;
            --text-secondary: #a8a29e;
            --text-muted: #78716c;
            --input-bg: rgba(41, 37, 36, 0.5);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            min-height: 100vh;
            background: linear-gradient(135deg, #0c0a09 0%, #1c1917 50%, #0c0a09 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            position: relative;
            overflow-x: hidden;
        }

        /* Background Pattern */
        .bg-pattern {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: radial-gradient(circle at 2px 2px, var(--primary-color) 1px, transparent 0);
            background-size: 48px 48px;
            opacity: 0.03;
            pointer-events: none;
        }

        /* Ambient Glows */
        .glow {
            position: fixed;
            width: 400px;
            height: 400px;
            border-radius: 50%;
            filter: blur(100px);
            opacity: 0.1;
            pointer-events: none;
        }

        .glow-1 {
            top: 10%;
            left: -100px;
            background: var(--primary-color);
        }

        .glow-2 {
            bottom: 10%;
            right: -100px;
            background: var(--primary-color);
        }

        /* Main Container */
        .forgot-container {
            width: 100%;
            max-width: 420px;
            position: relative;
            z-index: 10;
        }

        /* Back Button */
        .back-link {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 0.875rem;
            margin-bottom: 1.5rem;
            transition: all 0.2s ease;
        }

        .back-link:hover {
            color: var(--primary-color);
        }

        .back-link i {
            transition: transform 0.2s ease;
        }

        .back-link:hover i {
            transform: translateX(-4px);
        }

        /* Header Section */
        .header-section {
            text-align: center;
            margin-bottom: 2rem;
        }

        .header-icon {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 72px;
            height: 72px;
            background: var(--primary-light);
            border: 1px solid rgba(249, 161, 65, 0.2);
            border-radius: 1rem;
            margin-bottom: 1.5rem;
        }

        .header-icon i {
            font-size: 2rem;
            color: var(--primary-color);
        }

        .header-icon::after {
            content: '';
            position: absolute;
            inset: -8px;
            background: var(--primary-color);
            border-radius: 1.25rem;
            filter: blur(24px);
            opacity: 0.2;
            z-index: -1;
        }

        .header-title {
            font-size: 1.5rem;
            font-weight: 500;
            color: var(--text-primary);
            margin-bottom: 0.75rem;
        }

        .header-subtitle {
            font-size: 0.875rem;
            color: var(--text-secondary);
            line-height: 1.6;
            max-width: 320px;
            margin: 0 auto;
        }

        /* Forgot Card */
        .forgot-card {
            background: var(--bg-card);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid var(--border-color);
            border-radius: 1rem;
            padding: 2rem;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
        }

        /* Form Labels */
        .form-label {
            font-size: 0.7rem;
            font-weight: 500;
            color: var(--text-secondary);
            text-transform: uppercase;
            letter-spacing: 0.1em;
            margin-bottom: 0.5rem;
        }

        .name-row {
            display: flex;
            flex-direction: row;
            gap: 0.75rem;
        }

        /* Input Groups */
        .input-group-custom {
            position: relative;
        }

        .input-icon {
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-muted);
            transition: color 0.2s ease;
            z-index: 5;
        }

        /* Error states */
.input-group-custom.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.validation-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    min-height: 1.25rem;
}

.error-state {
    text-align: center;
    padding: 2rem;
    display: none;
}

.error-icon {
    font-size: 4rem;
    color: #dc3545;
    margin-bottom: 1.5rem;
}

.error-title {
    color: #dc3545;
    margin-bottom: 1rem;
    font-weight: 600;
}

.error-message {
    color: #6c757d;
    margin-bottom: 1.5rem;
    display: block;
}

.btn-secondary-custom {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-secondary-custom:hover {
    background: #e9ecef;
    color: #212529;
}

.success-state {
    display: none;
}

/* Loading state for button */
#submitBtn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.arrow-icon {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

#submitBtn:hover .arrow-icon {
    transform: translateX(5px);
}

        .form-control-custom {
            width: 100%;
            background: var(--input-bg);
            border: 1px solid var(--border-color);
            border-radius: 0.75rem;
            padding: 0.875rem 1rem 0.875rem 3rem;
            color: var(--text-primary);
            font-size: 0.95rem;
            transition: all 0.2s ease;
        }

        .form-control-custom::placeholder {
            color: var(--text-muted);
        }

        .form-control-custom:focus {
            outline: none;
            border-color: rgba(249, 161, 65, 0.5);
            box-shadow: 0 0 0 3px rgba(249, 161, 65, 0.1);
            background: var(--input-bg);
        }

        .form-control-custom:focus + .input-icon,
        .input-group-custom:focus-within .input-icon {
            color: var(--primary-color);
        }

        /* Phone Input with Country Code */
        .phone-wrapper {
            display: flex;
            gap: 0.75rem;
        }

        .country-select {
            width: 100px;
            background: var(--input-bg);
            border: 1px solid var(--border-color);
            border-radius: 0.75rem;
            padding: 0.875rem 0.75rem;
            color: var(--text-primary);
            font-size: 0.95rem;
            cursor: pointer;
            transition: all 0.2s ease;
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2378716c' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 0.75rem center;
        }

        .country-select:focus {
            outline: none;
            border-color: rgba(249, 161, 65, 0.5);
            box-shadow: 0 0 0 3px rgba(249, 161, 65, 0.1);
        }

        .phone-input-wrapper {
            flex: 1;
            position: relative;
        }

        .phone-input-wrapper .form-control-custom {
            padding-left: 1rem;
        }

        /* Submit Button */
        .btn-primary-custom {
            width: 100%;
            background: var(--primary-color);
            border: none;
            border-radius: 0.75rem;
            padding: 0.875rem 1.5rem;
            color: var(--bg-dark);
            font-weight: 500;
            font-size: 1rem;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

        .btn-primary-custom:hover {
            background: var(--primary-hover);
            transform: translateY(-1px);
            box-shadow: 0 10px 30px -10px rgba(249, 161, 65, 0.5);
        }

        .btn-primary-custom:active {
            transform: translateY(0);
        }

        .btn-primary-custom:disabled {
            opacity: 0.7;
            cursor: not-allowed;
            transform: none;
        }

        .btn-primary-custom .arrow-icon {
            transition: transform 0.2s ease;
        }

        .btn-primary-custom:hover .arrow-icon {
            transform: translateX(4px);
        }

        .btn-primary-custom .spinner {
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        /* Info Note */
        .info-note {
            width: 100%;
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
            padding: 1rem;
            background: rgba(249, 161, 65, 0.05);
            border: 1px solid rgba(249, 161, 65, 0.1);
            border-radius: 0.75rem;
            margin-top: 1.5rem;
        }

        .info-note i {
            color: var(--primary-color);
            font-size: 1rem;
            flex-shrink: 0;
            margin-top: 0.1rem;
        }

        .info-note p {
            font-size: 0.8rem;
            color: var(--text-secondary);
            line-height: 1.5;
            margin: 0;
        }

        /* Footer */
        .forgot-footer {
            text-align: center;
            margin-top: 2rem;
            font-size: 0.875rem;
            color: var(--text-muted);
        }

        .forgot-footer a {
            color: var(--primary-color);
            text-decoration: none;
            transition: opacity 0.2s ease;
        }

        .forgot-footer a:hover {
            opacity: 0.8;
            text-decoration: underline;
        }

        /* Success State */
        .success-state {
            display: none;
            text-align: center;
            padding: 1rem 0;
        }

        .success-state.show {
            display: block;
        }

        .success-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 64px;
            height: 64px;
            background: rgba(34, 197, 94, 0.1);
            border: 1px solid rgba(34, 197, 94, 0.2);
            border-radius: 50%;
            margin-bottom: 1.5rem;
        }

        .success-icon i {
            font-size: 1.75rem;
            color: #22c55e;
        }

        .success-title {
            font-size: 1.25rem;
            font-weight: 500;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
        }

        .success-message {
            font-size: 0.875rem;
            color: var(--text-secondary);
            margin-bottom: 1.5rem;
        }

        .btn-secondary-custom {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 1.5rem;
            background: transparent;
            border: 1px solid var(--border-color);
            border-radius: 0.75rem;
            color: var(--text-secondary);
            font-size: 0.875rem;
            cursor: pointer;
            transition: all 0.2s ease;
            text-decoration: none;
        }

        .btn-secondary-custom:hover {
            border-color: var(--text-muted);
            color: var(--text-primary);
            background: rgba(41, 37, 36, 0.5);
        }

        /* Responsive */
        @media (max-width: 480px) {
            .forgot-card {
                padding: 1.5rem;
            }

            .header-title {
                font-size: 1.25rem;
            }

            .phone-wrapper {
                flex-direction: column;
            }

            .country-select {
                width: 100%;
            }
        }

        /* Focus visible for accessibility */
        .form-control-custom:focus-visible,
        .btn-primary-custom:focus-visible,
        .country-select:focus-visible {
            outline: 2px solid var(--primary-color);
            outline-offset: 2px;
        }

        /* Field validation states */
        .input-group-custom.valid .form-control-custom {
            border-color: rgba(34, 197, 94, 0.5);
        }

        .input-group-custom.valid .input-icon {
            color: #22c55e;
        }

        .input-group-custom.invalid .form-control-custom {
            border-color: rgba(239, 68, 68, 0.5);
        }

        .input-group-custom.invalid .input-icon {
            color: #ef4444;
        }

        .validation-message {
            font-size: 0.75rem;
            margin-top: 0.5rem;
            display: none;
        }

        .validation-message.error {
            color: #ef4444;
            display: block;
        }

        .validation-message.success {
            color: #22c55e;
            display: block;
        }