/* ==========================================================================
   Connexion et activation de compte (login.html, activate.html)
   --------------------------------------------------------------------------
   Téléphone : une carte centrée, logo en tête. Grand écran : panneau de
   marque bleu Pollustock à gauche, formulaire à droite. Jetons de vision.css
   uniquement ; le logo (texte noir) est toujours posé sur fond blanc
   (.side-brand de vision.css).
   ========================================================================== */

body.auth { min-height: 100%; background: var(--bg); }

.auth-page { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr); }

/* Panneau de marque (grand écran seulement) */
.auth-brand { display: none; }
@media (min-width: 901px) {
    .auth-page { grid-template-columns: minmax(380px, 5fr) minmax(0, 6fr); }
    .auth-brand {
        position: relative; overflow: hidden;
        display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
        padding: 44px 52px 36px;
        background: var(--side-bg); color: var(--side-text);
    }
    .auth-brand::before {
        content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
        background: var(--sky);
    }
}
.auth-brand .side-brand { align-self: flex-start; padding: 12px 18px; }
.auth-brand .side-brand img { height: 40px; }
.auth-brand-body { display: flex; flex-direction: column; gap: 16px; max-width: 460px; }
.auth-brand h2 { font-family: var(--head); font-size: 34px; line-height: 1.15; color: var(--side-active); }
.auth-brand-body > p { font-size: 16.5px; line-height: 1.55; color: var(--side-text); }
.auth-points { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.auth-points li { display: flex; align-items: center; gap: 14px; font-size: 15.5px; color: var(--side-active); }
.auth-ico, .auth-num {
    width: 38px; height: 38px; border-radius: 12px; flex: none;
    display: grid; place-items: center;
    background: var(--side-hover); color: var(--side-active);
}
.auth-ico svg { width: 20px; height: 20px; }
.auth-num { font-family: var(--head); font-weight: 700; font-size: 17px; }
.auth-brand-foot { font-size: 13px; color: var(--side-head); }

/* Formulaire */
.auth-main {
    position: relative;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 64px 16px 32px;
}
.auth-theme { position: absolute; top: 12px; right: 12px; }
.auth-card { width: 100%; max-width: 420px; padding: 28px 22px; gap: 20px; }
@media (min-width: 901px) {
    .auth-main { padding: 48px 32px; }
    .auth-card { padding: 36px; }
    .auth-card .auth-logo { display: none; }
}
.auth-logo { align-self: center; padding: 10px 16px; }
.auth-logo img { height: 40px; }
.auth-head { display: flex; flex-direction: column; gap: 6px; }
.auth-head h1 { font-size: 26px; }
.auth-mail { font-family: var(--mono); font-size: 14px; color: var(--accent); overflow-wrap: anywhere; }
.auth-card .input { height: 46px; font-size: 16px; }
.auth-submit { margin-top: 6px; }
.auth-foot { font-size: 12.5px; color: var(--muted); text-align: center; }

/* Préférence d'alerte (activation) */
.auth-alertes { display: flex; flex-direction: column; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.auth-seuil { display: flex; flex-direction: column; gap: 8px; padding-left: 28px; }
.auth-seuil-valeur { color: var(--accent); font-weight: 700; font-size: 15px; }
.auth-range { width: 100%; margin: 0; accent-color: var(--accent); cursor: pointer; }
.auth-ticks { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; color: var(--muted); }
