/* assets/css/forgot_password.css */
/* Professional Styles for Forgot Password Page */

/* 1. Page Layout
-------------------------------------------------- */
.form-page-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    padding: 2rem;
    animation: fadeIn 0.5s ease-in-out;
}

.form-container {
    width: 100%;
    max-width: 450px;
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05), 0 10px 10px -5px rgba(0,0,0,0.04);
}

/* 2. Header & Form Elements
-------------------------------------------------- */
.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.logo-link img {
    height: 60px;
    margin-bottom: 1rem;
}

.form-header h2 {
    font-family: var(--font-secondary);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--text-light);
    font-size: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease-in-out;
}
.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.btn-submit {
    width: 100%;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.2s ease;
}
.btn-submit:hover {
    background-color: #2563eb;
}

/* 3. Messages & Footer
-------------------------------------------------- */
.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.success-message {
    text-align: center;
    padding: 1rem;
}
.success-message i {
    font-size: 3rem;
    color: var(--success-color);
    margin-bottom: 1rem;
}
.success-message p {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.success-message .btn-submit {
    margin-top: 1rem;
}

.form-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}
.form-footer a {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
}
.form-footer a:hover {
    text-decoration: underline;
}
/* Buttons */
.btn { border-radius: 50px; padding: 0.75rem 1.5rem; font-weight: 600; }
.btn-lg { padding: 0.9rem 1.5rem; font-size: 1rem; }
@keyframes shimmer-gradient-button {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.btn-primary {
    background: linear-gradient(120deg, #4361ee, #5a74f1, #7209b7, #4361ee);
    background-size: 300% 300%;
    color: white; border: none;
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
    animation: shimmer-gradient-button 4s ease infinite;
    transition: all 0.4s ease;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(67, 97, 238, 0.4); }
.btn-google { background-color: var(--white-bg); color: var(--dark-text); border: 1px solid var(--border-color); }
.btn-google:hover { background-color: #f8f9fa; }
.btn-google i { color: #DB4437; margin-right: 0.5rem; }

/* Responsive Design */
@media (max-width: 991.98px) {
    .auth-wrapper { grid-template-columns: 1fr; }
    .auth-brand-panel { display: none; }
    .auth-form-panel { padding: 2rem; }
}
