/* ==============================================================================
 * DOC-BLOCK: assets/css/pages/forgot_password.css
 * Role: styles de presentation frontend pour cette page/composant.
 * Portee: structure visuelle, couleurs, responsive et etats interactifs.
 * Note: ce fichier ne contient pas de logique metier; seulement la couche UI.
 * ============================================================================== */

body {
    margin: 0;
    min-height: 100vh;
    background-image: url('../../../images/PageCalaoWeb.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: #1f2328;
}

.auth-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(255, 255, 255, 0.22);
}

.auth-card {
    width: 100%;
    max-width: 520px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #e4e6eb;
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

.auth-title {
    margin: 0;
    font-size: 1.9rem;
    color: #ba0001;
}

.auth-subtitle {
    margin: 10px 0 22px;
    color: #5c6470;
    line-height: 1.45;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.field-label {
    font-weight: 600;
    color: #2f3640;
}

.field-input {
    border: 1px solid #cfd6df;
    border-radius: 10px;
    padding: 12px 13px;
    font-size: 0.98rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field-input:focus {
    outline: none;
    border-color: #ba0001;
    box-shadow: 0 0 0 3px rgba(186, 0, 1, 0.12);
}

.auth-btn {
    margin-top: 6px;
    border: none;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 0.98rem;
    font-weight: 700;
    color: #ffffff;
    background: #ba0001;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.auth-btn:hover {
    background: #980001;
    box-shadow: 0 10px 22px rgba(186, 0, 1, 0.24);
    transform: translateY(-1px);
}

.status-message {
    margin: 16px 0 0;
    border-radius: 10px;
    padding: 11px 13px;
    line-height: 1.4;
}

.status-success {
    background: #edf9ee;
    border: 1px solid #b6e2bc;
    color: #206534;
}

.status-error {
    background: #fff0f0;
    border: 1px solid #f2b8b8;
    color: #8b1c1c;
}

.auth-links {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
}

.auth-links a {
    color: #ba0001;
    text-decoration: none;
    font-weight: 600;
}

.auth-links a:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .auth-shell {
        padding: 14px;
    }

    .auth-card {
        padding: 20px;
        border-radius: 12px;
    }

    .auth-title {
        font-size: 1.55rem;
    }
}
