/* ============================================
   FORGOT PASSWORD PAGE STYLES
   ============================================ */

/* Reuse auth page styles */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #fefcf0, #fef9e7);
    padding: 20px;
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    max-width: 1100px;
    width: 100%;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    min-height: 520px;
}

/* Left - Brand Section */
.auth-brand {
    background: #0b1a33;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.auth-brand::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.05), transparent 70%);
    border-radius: 50%;
}

.brand-content {
    position: relative;
    z-index: 1;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 40px;
}

.brand-logo i {
    color: #fbbf24;
}

.brand-logo .highlight {
    color: #fbbf24;
}

.brand-illustration {
    font-size: 4rem;
    color: #fbbf24;
    opacity: 0.15;
    margin-bottom: 24px;
}

.brand-content h2 {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 8px;
}

.brand-content p {
    color: #b8c9e0;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 24px;
    max-width: 380px;
}

.brand-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #b8c9e0;
    font-size: 0.95rem;
}

.feature-item i {
    color: #fbbf24;
    font-size: 1.1rem;
}

/* Right - Form Section */
.auth-form-wrapper {
    padding: 48px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
}

.auth-form-container {
    width: 100%;
    max-width: 400px;
}

.form-header {
    margin-bottom: 32px;
}

.form-header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0b1a33;
    margin: 0 0 4px;
}

.form-header p {
    color: #4a5f7a;
    font-size: 0.95rem;
    margin: 0;
}

/* Form Elements */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: #2d4059;
    margin-bottom: 4px;
}

.required {
    color: #fc8181;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    border-radius: 10px;
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.input-wrapper:focus-within {
    border-color: #fbbf24;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1);
}

.input-wrapper.error {
    border-color: #fc8181;
    background: #fff5f5;
}

.input-wrapper .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
    font-size: 1rem;
    z-index: 1;
    pointer-events: none;
    width: 20px;
    text-align: center;
}

.input-wrapper .form-input {
    width: 100%;
    padding: 12px 16px 12px 42px;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    background: transparent;
    color: #2d4059;
    font-family: inherit;
    outline: none;
}

.input-wrapper .form-input::placeholder {
    color: #a0aec0;
}

.form-hint {
    font-size: 0.78rem;
    color: #a0aec0;
    margin-top: 4px;
}

.form-error {
    font-size: 0.8rem;
    color: #fc8181;
    margin-top: 4px;
    display: none;
}

.form-error.visible {
    display: block;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 14px;
    background: #fbbf24;
    color: #0b1a33;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
    margin-top: 4px;
}

.btn-submit:hover {
    background: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(251, 191, 36, 0.4);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-loader {
    display: none;
}

.btn-submit.loading .btn-text {
    display: none;
}

.btn-submit.loading .btn-loader {
    display: inline;
}

/* Form Footer */
.form-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 0.95rem;
    color: #4a5f7a;
}

.form-footer a {
    color: #fbbf24;
    font-weight: 600;
    text-decoration: none;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Success Message */
.success-message {
    text-align: center;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-icon {
    font-size: 4rem;
    color: #48bb78;
    margin-bottom: 16px;
}

.success-icon i {
    animation: successPulse 0.6s ease;
}

@keyframes successPulse {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.success-message h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0b1a33;
    margin: 0 0 8px;
}

.success-message p {
    color: #4a5f7a;
    font-size: 0.95rem;
    margin: 0 0 8px;
    line-height: 1.6;
}

.success-instructions {
    background: #f7fafc;
    padding: 12px 16px;
    border-radius: 8px;
    margin: 12px 0 16px;
    font-size: 0.9rem;
}

.success-actions {
    display: flex;
    gap: 12px;
    margin: 16px 0;
}

.success-actions .btn-primary,
.success-actions .btn-outline {
    flex: 1;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.9rem;
    text-align: center;
}

.success-actions .btn-primary {
    background: #fbbf24;
    color: #0b1a33;
}

.success-actions .btn-primary:hover {
    background: #f59e0b;
}

.success-actions .btn-outline {
    background: transparent;
    color: #4a5f7a;
    border: 2px solid #e2e8f0;
}

.success-actions .btn-outline:hover {
    border-color: #fbbf24;
    color: #fbbf24;
}

.success-tip {
    font-size: 0.85rem;
    color: #a0aec0;
    margin-top: 12px;
}

.success-tip i {
    color: #fbbf24;
    margin-right: 6px;
}

/* Responsive */
@media (max-width: 1024px) {
    .auth-container {
        grid-template-columns: 1fr;
        max-width: 550px;
    }
    
    .auth-brand {
        padding: 32px 30px;
        text-align: center;
    }
    
    .brand-content p {
        max-width: 100%;
        margin: 0 auto 20px;
    }
    
    .brand-features {
        align-items: center;
    }
    
    .auth-form-wrapper {
        padding: 32px 24px;
    }
}

@media (max-width: 768px) {
    .auth-page {
        padding: 10px;
    }
    
    .auth-container {
        border-radius: 16px;
    }
    
    .auth-brand {
        padding: 24px 20px;
    }
    
    .brand-logo {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    
    .brand-illustration {
        font-size: 3rem;
        margin-bottom: 16px;
    }
    
    .brand-content h2 {
        font-size: 1.4rem;
    }
    
    .auth-form-wrapper {
        padding: 24px 16px;
    }
    
    .form-header h1 {
        font-size: 1.4rem;
    }
    
    .success-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .auth-brand {
        padding: 16px 16px;
    }
    
    .auth-form-wrapper {
        padding: 16px 12px;
    }
    
    .btn-submit {
        padding: 12px;
        font-size: 0.9rem;
    }
}