/* ============================================================
   Akim Store — Mot de passe oublié / réinitialisation
   Complète akim-login.css (même palette, mêmes composants)
   ============================================================ */

/* Les pages de réinitialisation ont plus de contenu : on autorise
   le défilement naturel au lieu de rogner le formulaire. */
.auth-main {
    overflow: visible;
}

.auth-card {
    padding-top: 34px;
}

/* ---------- Lien inline ---------- */

.link-inline {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 18px;
    color: var(--green-700);
    font-size: .82rem;
    font-weight: 700;
    transition: color .2s var(--ease);
}

.link-inline:hover {
    color: var(--orange-600);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.link-inline i {
    font-size: .72rem;
}

/* ---------- Confirmation d'envoi ---------- */

.sent-panel {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-top: 22px;
    padding: 16px;
    border: 1px solid var(--green-100);
    border-radius: 14px;
    background: linear-gradient(145deg, #F3F9EC, #FAFCF7);
    animation: alertIn .35s var(--ease) both;
}

.sent-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 12px;
    background: var(--green-600);
    color: #fff;
    font-size: .95rem;
    box-shadow: 0 8px 18px rgba(72, 142, 20, .22);
}

.sent-panel strong {
    display: block;
    color: var(--green-900);
    font-size: .9rem;
    font-weight: 800;
}

.sent-panel p {
    margin-top: 3px;
    color: var(--ink-soft);
    font-size: .82rem;
    line-height: 1.55;
}

.sent-hint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    color: var(--muted);
    font-size: .73rem;
    font-weight: 600;
}

.sent-hint i {
    color: var(--orange-600);
    font-size: .7rem;
}

/* ---------- Informations du compte ---------- */

.account-email {
    color: var(--green-800);
    font-weight: 800;
    word-break: break-word;
}

.field-hint {
    color: #8B9684;
    font-size: .72rem;
    font-weight: 600;
    white-space: nowrap;
}

/* ---------- Force du mot de passe ---------- */

.strength {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.strength-track {
    flex: 1;
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: #E8EDE3;
}

.strength-bar {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: #C9D3C1;
    transition: width .25s var(--ease), background .25s var(--ease);
}

.strength-bar.is-weak {
    width: 33%;
    background: #D96A4A;
}

.strength-bar.is-medium {
    width: 66%;
    background: var(--orange-500);
}

.strength-bar.is-strong {
    width: 100%;
    background: var(--green-600);
}

.strength-label {
    flex-shrink: 0;
    color: #8B9684;
    font-size: .7rem;
    font-weight: 700;
}

.strength-label.is-weak {
    color: #B55036;
}

.strength-label.is-medium {
    color: var(--orange-600);
}

.strength-label.is-strong {
    color: var(--green-700);
}

/* ---------- Conditions du mot de passe ---------- */

.password-requirements {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin: 9px 0 0;
    padding: 0;
    list-style: none;
    color: #8B9684;
    font-size: .72rem;
    line-height: 1.45;
}

.password-requirements li {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color .2s var(--ease);
}

.password-requirements li i {
    font-size: .68rem;
    color: #A9B3A2;
    transition: color .2s var(--ease);
}

.password-requirements li.is-met {
    color: var(--green-700);
    font-weight: 600;
}

.password-requirements li.is-met i {
    color: var(--green-600);
}

.match-hint {
    display: block;
    min-height: 16px;
    margin-top: 6px;
    color: #8B9684;
    font-size: .72rem;
    font-weight: 600;
}

.match-hint.is-ok {
    color: var(--green-700);
}

.match-hint.is-error {
    color: #B55036;
}

/* ---------- Lien d'action dans une alerte ---------- */

.alert-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 7px;
    color: inherit;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.alert-link:hover {
    opacity: .82;
}

/* ---------- Responsive ---------- */

@media (max-width: 520px) {
    /* Le libellé du bouton est plus long sur ces pages : on évite
       qu'il soit comprimé sur deux lignes dans une hauteur fixe. */
    .btn-submit {
        height: auto;
        min-height: 50px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .btn-submit .btn-label {
        line-height: 1.3;
    }

    .strength {
        gap: 8px;
    }

    .password-requirements {
        flex-direction: column;
        gap: 4px;
    }

    .sent-panel {
        padding: 14px;
    }

    .sent-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }
}
