/* 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;
}
