/* Connexion par SMS (modules/auth/phoneAuthView.js). Documentations/Auth/connexion_telephone.md
   Sur le fond sombre du cadre de connexion et de la porte « Ajoute ton numéro » : textes en blanc. */
.phone-auth {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    color: #fff;
}
.phone-auth__step {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.phone-auth__step.hidden {
    display: none;
}
.phone-auth__label {
    font-size: 0.75rem;
    color: rgb(255 255 255 / 0.8);
    margin-left: 0.25rem;
}
.phone-auth__field {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.phone-auth__field > input {
    flex: 1 1 0;
    min-width: 0;
}
.phone-auth__prefix {
    padding: 0.75rem;
    border-radius: 0.75rem;
    background: rgb(255 255 255 / 0.2);
    border: 1px solid rgb(255 255 255 / 0.3);
    font-weight: 600;
}
.phone-auth__hint {
    font-size: 0.875rem;
    text-align: center;
}
.phone-auth__code {
    text-align: center;
    font-size: 1.5rem;
    letter-spacing: 0.5em;
    /* Le dernier chiffre garde sa place malgré l'espacement de fin de ligne. */
    padding-left: calc(0.75rem + 0.5em);
}
.phone-auth__legal {
    font-size: 0.75rem;
    line-height: 1.3;
    text-align: center;
    color: rgb(255 255 255 / 0.7);
}
/* Porte « Ajoute ton numéro » (modules/auth/phoneLinkGate.js) : plein écran, même bleu que le chargement. */
#phone-link-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 1.5rem 1rem;
    background: linear-gradient(125deg, var(--sy-accent-600), var(--sy-brand-600) 55%, var(--sy-brand-500));
}
#phone-link-overlay.hidden {
    display: none;
}
.phone-link__card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 24rem;
    margin: auto;
    color: #fff;
    text-align: center;
}
.phone-link__card > .sy-btn {
    align-self: center;
}
/* Heeboo au point d'exclamation (images/UI/Eeboo/eeboo_advice.png, 256 px, affiché en 128). */
.phone-link__owl {
    align-self: center;
    width: 8rem;
    height: 8rem;
    object-fit: contain;
}
.phone-link__title {
    font-size: 1.5rem;
    font-weight: 700;
}
.phone-link__text {
    font-size: 0.9375rem;
    line-height: 1.4;
}
.phone-link__text--note {
    font-size: 0.8125rem;
    color: rgb(255 255 255 / 0.8);
}
.phone-link__card [data-root] {
    text-align: left;
}

/* Apparence claire (tiroirs et fenêtres de l'appli : profil, confirmation d'identité). Jetons : clair et sombre. */
.phone-auth--light {
    color: var(--sy-text);
}
.phone-auth--light .phone-auth__label,
.phone-auth--light .phone-auth__legal {
    color: var(--sy-text-muted);
}
.phone-auth--light .phone-auth__prefix {
    background: var(--sy-neutral-100);
    border-color: var(--sy-neutral-300);
}

/* Bouton email de l'écran d'accueil, rangé en lien de secours sous « Se connecter avec Google ». */
.phone-auth__email-link {
    align-self: center;
}
.phone-auth__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.25rem 0.5rem;
}
