/* Forgot Password Page Styles */
.forgot-password-container {
    max-width: 500px;
    margin: 0 auto;
}

.forgot-password-container h1 {
    color: #2c3e50;
    font-size: 2rem;
}

.forgot-password-container .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.forgot-password-container .form-control:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.forgot-password-container .btn {
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.forgot-password-container .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.forgot-password-container .btn:disabled {
    transform: none;
    box-shadow: none;
}

.forgot-password-container .btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
}

.forgot-password-container .text-danger {
    color: #dc3545 !important;
}

.forgot-password-container .text-muted {
    color: #6c757d !important;
}

.forgot-password-container .alert {
    border-radius: 8px;
    border: none;
    padding: 16px;
    margin-bottom: 24px;
}

.forgot-password-container .alert-success {
    background-color: #d1edff;
    color: #0c5460;
}

.forgot-password-container .alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.forgot-password-container .alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
}

.forgot-password-container .alert-warning {
    background-color: #fff3cd;
    color: #856404;
}

.forgot-password-container a {
    transition: color 0.3s ease;
}

.forgot-password-container a:hover {
    color: #dc3545 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .forgot-password-container {
        margin: 0 16px;
        padding: 24px !important;
    }
    
    .forgot-password-container h1 {
        font-size: 1.75rem;
    }
    
    .forgot-password-container .form-control {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Animation for form submission */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.forgot-password-container {
    animation: fadeIn 0.5s ease-out;
}

/* Loading state */
.btn-loading .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
