/* Mot de passe oublié — cible REF_002 */
.bo-auth-forgot-page {
    min-height: 100vh;
    min-height: 100svh;
    background:
        radial-gradient(circle at 50% 0%, #ffffff 0%, #f8fbff 48%, #eef5ff 100%);
}

.bo-auth-forgot-page .bo-auth-shell {
    width: min(100%, 500px);
    padding:
        max(18px, env(safe-area-inset-top, 0px))
        16px
        max(24px, env(safe-area-inset-bottom, 0px));
}

.bo-auth-forgot-page .bo-auth-topbrand {
    gap: 5px;
    margin-bottom: 17px;
}

.bo-auth-forgot-brand {
    display: grid;
    justify-items: center;
    gap: 4px;
}

.bo-auth-forgot-brand .fc-brand-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.bo-auth-forgot-brand strong {
    color: var(--bo-navy);
    font-size: 1.68rem;
    line-height: 1;
    font-weight: 900;
}

.bo-auth-forgot-brand .fc-brand-fallback {
    color: var(--bo-navy);
    font-size: 0;
    font-weight: 900;
}

.bo-auth-forgot-page .bo-auth-topbrand > p {
    font-size: 0.88rem;
}

.bo-auth-forgot-page .bo-auth-back {
    gap: 8px;
    margin: 0 0 16px;
    font-size: 0.92rem;
    font-weight: 700;
}

.bo-auth-forgot-page .bo-auth-back > span {
    font-size: 1.2rem;
    line-height: 1;
}

.bo-auth-forgot-page .bo-auth-card {
    border-radius: 20px;
    box-shadow: 0 14px 38px rgba(7, 22, 74, 0.07);
}

.bo-auth-forgot-page .bo-auth-forgot-card {
    padding: 25px 24px 24px;
}

.bo-auth-forgot-page .bo-auth-envelope {
    width: 122px;
    margin: 0 auto 13px;
}

.bo-auth-forgot-page .bo-auth-title {
    font-size: 1.58rem;
    line-height: 1.15;
}

.bo-auth-forgot-page .bo-auth-subtitle {
    max-width: 335px;
    margin: 10px auto 22px;
    color: #5d6b9c;
    font-size: 0.95rem;
    line-height: 1.48;
}

.bo-auth-forgot-page .bo-auth-alert {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 13px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.bo-auth-forgot-page .bo-auth-form {
    gap: 16px;
}

.bo-auth-forgot-page .bo-auth-field label {
    margin-bottom: 7px;
    color: #293967;
    font-size: 0.9rem;
    font-weight: 700;
}

.bo-auth-forgot-page .bo-auth-input-wrap {
    height: 54px;
    padding: 0 14px;
    border-color: #c9d6ee;
    border-radius: 13px;
}

.bo-auth-forgot-page .bo-auth-input-wrap:focus-within {
    border-color: #0f62fe;
    box-shadow: 0 0 0 3px rgba(15, 98, 254, 0.11);
}

.bo-auth-forgot-page .bo-auth-input-wrap input {
    font-size: 1rem;
}

.bo-auth-forgot-page .bo-auth-submit {
    min-height: 56px;
    border-radius: 13px;
    font-size: 1rem;
}

.bo-auth-forgot-page .bo-auth-info-card {
    gap: 12px;
    margin-top: 16px;
    padding: 13px 14px;
    border-radius: 13px;
    font-size: 0.84rem;
    line-height: 1.42;
}

.bo-auth-forgot-page .bo-auth-info-card p {
    margin: 0;
}

.bo-auth-security-icon {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 11px;
    background: #0f62fe;
    color: #ffffff;
}

.bo-auth-security-icon svg {
    width: 24px;
    height: 24px;
}

.bo-auth-forgot-page .bo-auth-sent {
    margin-top: 16px;
    border-color: #b8f2d2 !important;
}

.bo-auth-forgot-page .bo-auth-sent-head {
    gap: 14px;
    padding: 16px 18px;
}

.bo-auth-forgot-page .bo-auth-sent-head > span {
    width: 43px;
    height: 43px;
    font-size: 1.45rem;
}

.bo-auth-forgot-page .bo-auth-sent-head p {
    color: #315f4a;
    font-size: 0.91rem;
    line-height: 1.42;
}

.bo-auth-forgot-page .bo-auth-sent-head strong {
    margin-bottom: 2px;
    color: #087a43;
    font-size: 1rem;
}

.bo-auth-forgot-page .bo-auth-sent-actions {
    gap: 15px;
    padding: 15px 18px 18px;
}

.bo-auth-forgot-page .bo-auth-sent-actions button {
    min-height: 50px;
    border-width: 1.5px;
    border-radius: 12px;
    font-size: 0.94rem;
}

.bo-auth-forgot-page .bo-auth-sent-actions button:disabled {
    border-color: #86adff;
    color: #456da9;
    cursor: wait;
    opacity: 0.82;
}

.bo-auth-forgot-page .bo-auth-sent-actions button:not(:disabled) {
    cursor: pointer;
}

.bo-auth-forgot-page .bo-auth-sent-actions a {
    font-size: 0.92rem;
}

.bo-auth-forgot-page .bo-auth-language {
    grid-template-columns: 42px 1fr 1px 1fr;
    gap: 12px;
    margin-top: 16px;
    padding: 13px 16px;
}

.bo-auth-forgot-page .bo-auth-language a {
    font-size: 0.96rem;
}

.bo-auth-forgot-page .bo-auth-language > span:nth-child(3) {
    height: 34px;
}

.bo-auth-forgot-page .bo-auth-globe {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 1.45rem;
}

.bo-auth-forgot-page .bo-auth-footer {
    gap: 12px;
    margin-top: 20px;
    font-size: 0.83rem;
}

.bo-auth-forgot-page .bo-auth-footer p {
    margin: 0;
}

.bo-auth-forgot-page .bo-auth-secure {
    padding: 9px 14px;
    border-radius: 12px;
}

.bo-auth-forgot-page .bo-auth-secure span {
    font-size: 1.25rem;
}

.bo-auth-forgot-page .bo-auth-secure small {
    font-size: 0.76rem;
}

[dir="rtl"] .bo-auth-forgot-page .bo-auth-back > span {
    transform: scaleX(-1);
}

@media (max-width: 380px) {
    .bo-auth-forgot-page .bo-auth-shell {
        padding-right: 12px;
        padding-left: 12px;
    }

    .bo-auth-forgot-page .bo-auth-forgot-card {
        padding: 21px 19px 20px;
    }

    .bo-auth-forgot-page .bo-auth-envelope {
        width: 108px;
    }

    .bo-auth-forgot-page .bo-auth-title {
        font-size: 1.42rem;
    }

    .bo-auth-forgot-page .bo-auth-subtitle {
        font-size: 0.9rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bo-auth-forgot-page *,
    .bo-auth-forgot-page *::before,
    .bo-auth-forgot-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
