/**
 * SCAP Workout Sync - espace adherent (connexion / inscription).
 *
 * Mise en page deux colonnes sur ordinateur : un visuel aux couleurs du
 * club a gauche, le formulaire a droite. Sur mobile, une seule colonne.
 *
 * Le plugin neutralise le titre de page du theme pour eviter le doublon
 * avec son propre titre, et remplace le padding vertical trop important.
 */

/* ================================================================== */
/* Neutralisation du gabarit de page du theme                          */
/* ================================================================== */
/* On masque le titre de page du theme : le formulaire porte son propre
   titre, sinon les deux se superposent. !important car la feuille du
   theme est chargee apres la notre. */
.page-id-67 .entry-header,
.page-id-68 .entry-header,
.page-connexion .entry-header,
.page-inscription .entry-header,
.entry-header:has(+ .entry-body > .scap-auth) {
    display: none !important;
}

/* Le theme impose 120px de marges : on les retire pour un plein ecran. */
.page-id-67 .entry-content,
.page-id-68 .entry-content,
.page-connexion .entry-content,
.page-inscription .entry-content,
.entry-content:has(> article > .entry-body > .scap-auth) {
    padding: 0 !important;
}

.page-id-67 .entry-body,
.page-id-68 .entry-body,
.page-connexion .entry-body,
.page-inscription .entry-body,
.entry-body:has(> .scap-auth) {
    margin: 0 !important;
}

/* ================================================================== */
/* Bloc principal                                                     */
/* ================================================================== */
.scap-auth {
    --sa-rouge: #E00838;
    --sa-rouge-fonce: #B30A2F;
    --sa-noir: #16161A;
    --sa-noir-2: #232325;
    --sa-creme: #F8F4EC;
    --sa-creme-2: #EFE7D8;
    --sa-blanc: #FFFDF8;
    --sa-texte: #403F43;
    --sa-gris: #8E8D92;
    --sa-ok: #1a7f37;
    --sa-outfit: var(--outfit, "Outfit", "Segoe UI", sans-serif);
    --sa-inter: var(--inter, "Inter", "Segoe UI", sans-serif);

    display: grid;
    grid-template-columns: 1fr;
    min-height: 78vh;
    font-family: var(--sa-inter);
    color: var(--sa-texte);
}

/* ------------------------------- */
/* Colonne visuelle (gauche)        */
/* ------------------------------- */
.scap-auth-aside {
    position: relative;
    display: none;
    padding: 56px 48px;
    background: linear-gradient(150deg, var(--sa-noir) 0%, #241F22 55%, #3A1018 100%);
    color: var(--sa-creme);
    overflow: hidden;
}

.scap-auth-aside::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -70px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(224, 8, 56, .5), transparent 68%);
    pointer-events: none;
}

.scap-auth-aside-inner {
    position: relative;
    z-index: 1;
    max-width: 380px;
}

.scap-auth-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    padding: 7px 15px;
    border: 1px solid rgba(248, 244, 236, .22);
    border-radius: 999px;
    font-family: var(--sa-outfit);
    font-weight: 700;
    font-size: 11.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(248, 244, 236, .9);
}

.scap-auth-badge svg {
    width: 15px;
    height: 15px;
    color: var(--sa-rouge);
}

.scap-auth-aside-title {
    margin: 0 0 14px;
    font-family: var(--sa-caveat, var(--sa-outfit), cursive);
    font-size: clamp(30px, 3.2vw, 42px);
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
}

.scap-auth-aside-title em {
    font-style: normal;
    color: var(--sa-rouge);
}

.scap-auth-aside-text {
    margin: 0 0 28px;
    font-size: 15.5px;
    line-height: 1.7;
    color: rgba(248, 244, 236, .78);
}

.scap-auth-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.scap-auth-points li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: 14.5px;
    line-height: 1.5;
    color: rgba(248, 244, 236, .9);
}

.scap-auth-points svg {
    flex: none;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    color: var(--sa-rouge);
}

/* ------------------------------- */
/* Colonne formulaire (droite)     */
/* ------------------------------- */
.scap-auth-main {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 28px;
    background: var(--sa-creme);
}

.scap-auth-card {
    width: 100%;
    max-width: 440px;
}

/* ------------------------------- */
/* En-tete du formulaire            */
/* ------------------------------- */
.scap-auth-head {
    margin-bottom: 26px;
}

.scap-auth-kicker {
    display: inline-block;
    margin: 0 0 8px;
    font-family: var(--sa-outfit);
    font-weight: 700;
    font-size: 11.5px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--sa-rouge);
}

.scap-auth-title {
    margin: 0 0 8px;
    font-family: var(--sa-outfit);
    font-weight: 800;
    font-size: clamp(27px, 4vw, 34px);
    line-height: 1.14;
    letter-spacing: -.01em;
    color: var(--sa-noir);
}

.scap-auth-sub {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #6A6A70;
}

/* ------------------------------- */
/* Formulaire                      */
/* ------------------------------- */
.scap-auth-form {
    margin: 0;
}

.scap-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.scap-field {
    margin-bottom: 17px;
}

.scap-field label {
    display: block;
    margin-bottom: 7px;
    font-family: var(--sa-outfit);
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--sa-noir);
}

.scap-field label em {
    font-style: normal;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    color: var(--sa-gris);
}

.scap-field input[type="text"],
.scap-field input[type="email"],
.scap-field input[type="tel"],
.scap-field input[type="password"] {
    width: 100%;
    min-height: 52px;
    padding: 14px 16px;
    border: 2px solid rgba(20, 20, 25, .12);
    border-radius: 14px;
    background: var(--sa-blanc);
    font-family: var(--sa-inter);
    font-size: 15px;
    color: var(--sa-noir);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
    appearance: none;
    -webkit-appearance: none;
}

.scap-field input::placeholder {
    color: #B6B4BA;
}

.scap-field input:focus {
    outline: none;
    border-color: var(--sa-rouge);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(224, 8, 56, .12);
}

.scap-field.has-error input {
    border-color: var(--sa-rouge-fonce);
    background: rgba(179, 10, 47, .03);
}

.scap-field-error {
    margin: 6px 0 0;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--sa-rouge-fonce);
}

/* Mot de passe avec oeil */
.scap-pass {
    position: relative;
}

.scap-pass input {
    padding-right: 52px !important;
}

.scap-eye {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--sa-gris);
    cursor: pointer;
    transition: color .2s ease, background .2s ease;
}

.scap-eye:hover {
    color: var(--sa-noir);
    background: rgba(20, 20, 25, .05);
}

.scap-eye svg {
    width: 20px;
    height: 20px;
}

.scap-hint {
    margin: 6px 0 0;
    font-size: 12.5px;
    color: var(--sa-gris);
}

.scap-check {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    font-size: 14px;
    color: var(--sa-texte);
    cursor: pointer;
}

.scap-check input {
    width: 18px;
    height: 18px;
    accent-color: var(--sa-rouge);
    cursor: pointer;
}

.scap-legal {
    margin: 0 0 20px;
    padding: 13px 15px;
    border-left: 3px solid rgba(224, 8, 56, .35);
    border-radius: 0 10px 10px 0;
    background: rgba(224, 8, 56, .05);
    font-size: 12.5px;
    line-height: 1.55;
    color: #6A6A70;
}

/* ------------------------------- */
/* Bouton                          */
/* ------------------------------- */
.scap-auth-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 56px;
    padding: 15px 24px;
    border: 0;
    border-radius: 999px;
    background: var(--sa-rouge);
    color: #fff;
    font-family: var(--sa-outfit);
    font-weight: 700;
    font-size: 14.5px;
    letter-spacing: .07em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 16px 32px -14px rgba(224, 8, 56, .8);
    transition: background .3s cubic-bezier(.4, 0, .2, 1), transform .2s ease, box-shadow .3s ease;
}

.scap-auth-submit:hover:not(:disabled) {
    background: var(--sa-rouge-fonce);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 20px 36px -14px rgba(179, 10, 47, .8);
}

.scap-auth-submit:disabled {
    opacity: .65;
    cursor: wait;
    transform: none;
}

.scap-auth-submit.is-loading::after {
    content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-left: 10px;
    border: 2px solid rgba(255, 255, 255, .35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: scap-spin .7s linear infinite;
    vertical-align: -2px;
}

@keyframes scap-spin {
    to { transform: rotate(360deg); }
}

/* ------------------------------- */
/* Messages et liens               */
/* ------------------------------- */
.scap-auth-msg {
    display: none;
    margin: 20px 0 0;
    padding: 14px 17px;
    border-radius: 14px;
    border-left: 4px solid;
    font-size: 14px;
    line-height: 1.5;
}

.scap-auth-msg.is-visible {
    display: block;
}

.scap-auth-msg.is-error {
    background: rgba(179, 10, 47, .08);
    border-color: var(--sa-rouge-fonce);
    color: #8d0824;
}

.scap-auth-msg.is-success {
    background: rgba(26, 127, 55, .09);
    border-color: var(--sa-ok);
    color: #14612b;
}

.scap-auth-alt {
    margin: 24px 0 0;
    padding-top: 20px;
    border-top: 1px solid rgba(20, 20, 25, .1);
    text-align: center;
    font-size: 14px;
    color: #6A6A70;
}

.scap-auth-alt a {
    color: var(--sa-rouge);
    font-weight: 700;
    text-decoration: none;
}

.scap-auth-alt a:hover {
    color: var(--sa-rouge-fonce);
    text-decoration: underline;
}

/* ================================================================== */
/* Ordinateur : deux colonnes                                         */
/* ================================================================== */
@media (min-width: 900px) {
    .scap-auth {
        grid-template-columns: 1.05fr 1fr;
    }

    .scap-auth-aside {
        display: block;
    }
}

/* ================================================================== */
/* Tablette : visuel allonge en haut                                   */
/* ================================================================== */
@media (min-width: 600px) and (max-width: 899px) {
    .scap-auth-aside {
        display: block;
        padding: 40px 34px;
    }

    .scap-auth-aside-inner {
        max-width: 100%;
    }

    .scap-auth-aside-title {
        font-size: 30px;
    }
}

/* ================================================================== */
/* Mobile                                                               */
/* ================================================================== */
@media (max-width: 599px) {
    .scap-auth-main {
        padding: 38px 20px 44px;
    }

    .scap-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .scap-auth-title {
        font-size: 26px;
    }

    .scap-auth-submit {
        min-height: 52px;
        font-size: 13.5px;
    }
}

/* ================================================================== */
/* Preferences systeme                                                 */
/* ================================================================== */
@media (prefers-reduced-motion: reduce) {
    .scap-auth-submit,
    .scap-field input,
    .scap-eye {
        transition: none;
    }

    .scap-auth-submit:hover,
    .scap-auth-submit.is-loading::after {
        animation: none;
        transform: none;
    }
}
/* ================================================================== */
/* En-tete du site : integration sur les pages de l espace adherent  */
/* ================================================================== */

/* Le theme pose le header en position absolute : il flotte au-dessus des
   images d accroche des pages du site. Sur nos pages il n'y a pas d'image,
   il doit donc occuper une vraie place dans le flux, sinon il chevauche
   le formulaire. On lui donne aussi un fond sombre : le body du theme est
   creme, le logo et le menu seraient sinon illisibles. */
body.scap-full-header.scap-full-header .site-header {
    position: relative !important;
    background: #0E0E11 !important;
}

/* Meme fond sur la barre de navigation, plus une ombre douce pour la
   detacher du contenu. */
body.scap-full-header.scap-full-header .main-nav {
    background: #0E0E11;
    box-shadow: 0 10px 26px -20px rgba(0, 0, 0, .8);
}

/* Le bandeau rouge du theme est vide sur ces pages : on le masque
   pour eviter un trait rouge orphelin au-dessus du header. */
body.scap-full-header.scap-full-header .topbar {
    display: none !important;
}

/* Au defilement le header se colle en haut, comme sur le reste du site. */
body.scap-full-header.scap-full-header .site-header.is-sticky {
    position: fixed !important;
    background: rgba(14, 14, 17, .96);
    backdrop-filter: blur(12px);
}

/* On compense la place occupee par le header : le contenu commence
   juste en dessous, sans superposition ni marge fantome. */
body.scap-full-header.scap-full-header .entry-content {
    margin-top: 0 !important;
}
/* ================================================================== */
/* Apercu des prochaines seances (colonne visuelle)                    */
/* ================================================================== */
.scap-auth-preview {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid rgba(248, 244, 236, .16);
}

.scap-auth-preview-label {
    margin: 0 0 12px;
    font-family: var(--sa-outfit);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--sa-rouge);
}

.scap-auth-preview-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.scap-auth-preview-list li {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 11px 14px;
    border-radius: 13px;
    background: rgba(248, 244, 236, .06);
    border: 1px solid rgba(248, 244, 236, .09);
}

.scap-auth-preview-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    flex: none;
    font-family: var(--sa-outfit);
    font-weight: 800;
    font-size: 12px;
    line-height: 1.15;
    text-transform: uppercase;
    color: rgba(248, 244, 236, .9);
}

.scap-auth-preview-day em {
    font-style: normal;
    font-size: 10.5px;
    font-weight: 700;
    color: var(--sa-rouge);
}

.scap-auth-preview-body {
    min-width: 0;
}

.scap-auth-preview-body strong {
    display: block;
    font-family: var(--sa-outfit);
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.scap-auth-preview-body small {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    line-height: 1.4;
    color: rgba(248, 244, 236, .62);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ================================================================== */
/* Champs avec icone et placeholder                                   */
/* ================================================================== */
.scap-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.scap-input-ico {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    color: #A8A7AF;
    pointer-events: none;
    transition: color .2s ease;
}

.scap-input-ico svg {
    width: 19px;
    height: 19px;
}

.scap-input-wrap:focus-within .scap-input-ico {
    color: var(--sa-rouge);
}

.scap-input-wrap input {
    padding-left: 45px !important;
}

.scap-input-wrap:has(.scap-eye) input {
    padding-right: 52px !important;
}

/* Ligne « rester connecté » + mot de passe oublié */
.scap-auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.scap-auth-row .scap-check {
    margin-bottom: 0;
}

.scap-auth-lost {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--sa-rouge);
    text-decoration: none;
}

.scap-auth-lost:hover {
    color: var(--sa-rouge-fonce);
    text-decoration: underline;
}

@media (max-width: 480px) {
    .scap-auth-row {
        gap: 10px;
    }

    .scap-auth-preview-list li {
        padding: 10px 12px;
    }
}
/* ================================================================== */
/* Mot de passe oublie                                                 */
/* ================================================================== */
.scap-reset-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 26px;
    font-size: 13.5px;
    font-weight: 600;
    color: rgba(248, 244, 236, .72);
    text-decoration: none;
    transition: color .2s ease;
}

.scap-reset-back:hover {
    color: #F8F4EC;
}

.scap-reset-steps {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.scap-reset-steps li {
    position: relative;
    padding-left: 34px;
    font-size: 14.5px;
    line-height: 1.6;
    color: rgba(248, 244, 236, .72);
}

/* Pastille numerotee */
.scap-reset-steps li::before {
    content: counter(scap-reset-counter);
    counter-increment: scap-reset-counter;
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(224, 8, 56, .16);
    border: 1px solid rgba(224, 8, 56, .5);
    color: #FF5A78;
    font-family: var(--sa-outfit);
    font-size: 12px;
    font-weight: 700;
}

.scap-reset-steps {
    counter-reset: scap-reset-counter;
}

/* Carte du formulaire */
.scap-reset-card {
    background: #fff;
    border: 1px solid rgba(20, 25, 25, .08);
    border-radius: 22px;
    padding: 36px 32px;
    box-shadow: 0 18px 44px -28px rgba(20, 25, 25, .34);
}

.scap-reset-title {
    margin: 0 0 22px;
    font-family: var(--sa-outfit);
    font-size: 22px;
    font-weight: 800;
    color: var(--sa-noir);
}

/* Messages de retour */
.scap-reset-alert {
    display: grid;
    gap: 5px;
    margin: 0 0 22px;
    padding: 15px 17px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.6;
}

.scap-reset-alert strong {
    font-family: var(--sa-outfit);
    font-size: 15px;
    font-weight: 700;
}

.scap-reset-alert.is-ok {
    background: rgba(31, 168, 92, .1);
    border: 1px solid rgba(31, 168, 92, .32);
    color: #166B3C;
}

.scap-reset-alert.is-ko {
    background: rgba(224, 8, 56, .08);
    border: 1px solid rgba(224, 8, 56, .3);
    color: #A5002A;
}

/* Champ honeypot : invisible mais present dans le HTML. */
.scap-hp {
    position: absolute !important;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 900px) {
    .scap-reset-card {
        padding: 28px 22px;
        border-radius: 18px;
    }
}
/* Pied du formulaire : lien vers la connexion. */
.scap-reset-foot {
    margin: 20px 0 0;
    font-size: 14px;
    color: #6A6A70;
}

.scap-reset-foot a {
    color: var(--sa-rouge);
    font-weight: 700;
    text-decoration: none;
}

.scap-reset-foot a:hover {
    text-decoration: underline;
}

/* Titre de la carte formulaire. */
.scap-reset-card h2.scap-auth-aside-title {
    font-size: 21px;
    color: var(--sa-noir);
}
/* ================================================================== */
/* Notifications temporaires (toasts)                                 */
/* ================================================================== */
/* Apparaissent en haut de l ecran, restent quelques secondes puis    */
/* disparaissent seules. Plus visibles que le message sous le        */
/* formulaire, qui reste en place pour l historique.                 */
/* ================================================================== */
.scap-toast-zone {
    position: fixed;
    top: 24px;
    right: 24px;
    left: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    pointer-events: none;
}

.scap-toast {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
    max-width: 480px;
    padding: 18px 20px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 60px -22px rgba(20, 25, 25, .45);
    border-left: 5px solid var(--sa-rouge);
    font-family: var(--sa-outfit);
    font-size: 15px;
    line-height: 1.5;
    color: var(--sa-noir);
    pointer-events: auto;
    opacity: 0;
    transform: translateY(-16px) scale(.97);
    transition: opacity .28s ease, transform .28s ease;
}

.scap-toast.is-visible {
    opacity: 1;
    transform: none;
}

/* Sortie : on le fait remonter et disparaitre. */
.scap-toast.is-hiding {
    opacity: 0;
    transform: translateY(-12px) scale(.97);
}

.scap-toast.is-success {
    border-left-color: #1FA85C;
    background: #F1FBF5;
}

.scap-toast.is-error {
    border-left-color: var(--sa-rouge);
    background: #FEF2F5;
}

.scap-toast-ico {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    color: var(--sa-rouge);
}

.scap-toast.is-success .scap-toast-ico {
    color: #1FA85C;
}

.scap-toast-ico svg {
    width: 18px;
    height: 18px;
}

.scap-toast-body {
    flex: 1 1 auto;
    min-width: 0;
}

.scap-toast-title {
    margin: 0 0 3px;
    font-size: 15px;
    font-weight: 800;
}

.scap-toast-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #56555B;
}

.scap-toast-close {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #A8A7AF;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.scap-toast-close:hover {
    background: rgba(20, 25, 25, .07);
    color: var(--sa-noir);
}

.scap-toast-close svg {
    width: 15px;
    height: 15px;
}

/* Barre de progression : montre le temps restant avant disparition. */
.scap-toast-bar {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    border-radius: 0 0 11px 11px;
    background: currentColor;
    opacity: .28;
    transform-origin: left center;
}

.scap-toast.is-success .scap-toast-bar {
    background: #1FA85C;
}

.scap-toast.is-error .scap-toast-bar {
    background: var(--sa-rouge);
}

.scap-toast {
    position: relative;
    overflow: hidden;
}

@media (max-width: 560px) {
    .scap-toast-zone {
        top: 12px;
        right: 12px;
        left: 12px;
    }

    .scap-toast {
        padding: 15px 16px;
        font-size: 14px;
    }
}
/* ================================================================== */
/* Notifications : plus de presence                                   */
/* ================================================================== */
/* Les toasts doivent sauter aux yeux : taille plus genereuse, ombre   */
/* portee, halo colore et une secousse legere a l apparition.         */
/* ================================================================== */
.scap-toast-zone {
    top: 28px;
    gap: 14px;
}

.scap-toast {
    max-width: 540px;
    padding: 22px 24px;
    border-radius: 18px;
    border-left-width: 7px;
    box-shadow: 0 28px 70px -20px rgba(20, 25, 25, .5);
    font-size: 16px;
}

/* Secousse courte : signale l arrivee sans>importe. */
@keyframes scap-toast-in {
    0%   { opacity: 0; transform: translateY(-22px) scale(.94); }
    60%  { opacity: 1; transform: translateY(3px) scale(1.015); }
    100% { opacity: 1; transform: none; }
}

.scap-toast.is-visible {
    animation: scap-toast-in .42s cubic-bezier(.22, 1, .36, 1);
}

/* Halo colore derriere la carte. */
.scap-toast.is-success {
    background: #E9F9EF;
    box-shadow: 0 28px 70px -18px rgba(31, 168, 92, .45);
}

.scap-toast.is-error {
    background: #FDE8ED;
    box-shadow: 0 28px 70px -18px rgba(224, 8, 56, .45);
}

.scap-toast-ico {
    width: 42px;
    height: 42px;
    box-shadow: 0 6px 16px -8px rgba(20, 25, 25, .4);
}

.scap-toast-ico svg {
    width: 22px;
    height: 22px;
}

.scap-toast-title {
    margin: 0 0 5px;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.01em;
}

.scap-toast-text {
    font-size: 15px;
    line-height: 1.6;
    color: #3F3E44;
}

.scap-toast-close {
    width: 32px;
    height: 32px;
}

/* Le titre de l erreur passe avant le message d attente. */
.scap-auth-msg.is-success,
.scap-auth-msg.is-error {
    font-weight: 600;
}