/* MesActes — pages d'accès (connexion, inscription, code SMS, mot de passe) alignées sur le site public,
   aux couleurs du Brand Book v2 : bleu encre (action), papier (fond), filet vermillon, Spectral + Inter ;
   boutons en pilule, panneau de marque « photo de ville » teintée bleu encre, carte blanche.
   Chargé après me-auth.css ; les jetons --e-* sont redéfinis sous .me-auth (les espaces connectés ne changent pas). */
.me-auth {
  --e-primaire: #1D2B6B; --e-primaire-fonce: #15204F; --e-doux: #E9EDF8; --e-doux-bord: #CDD5EE;
  --e-fond: #FAF8F3; --e-bord: #ECEDF1; --e-texte: #15172B; --e-texte-2: #3E4252;
  --e-ombre-haute: 0 6px 24px rgba(21, 23, 43, .06);
  --cap-vert: #1D2B6B;
}
.me-auth .me-auth-card { position: relative; border-color: #ECEDF1; border-top: 4px solid #D63A2F; border-radius: 10px; box-shadow: 0 6px 24px rgba(21, 23, 43, .06); }
.me-auth .me-auth-card h1 { color: #15172B; font-family: "Spectral", Georgia, "Times New Roman", serif; font-weight: 600; font-size: 1.85rem; letter-spacing: -.005em; }
.me-auth .me-auth-card .sx-eyebrow { color: #5E6272; letter-spacing: .06em; font-weight: 600; }
.me-auth .me-auth-card .sx-btn-primary, .me-auth .me-auth-card button[type="submit"].ma-bloc-plein { border-radius: 1000px; font-weight: 600; box-shadow: 0 8px 20px rgba(29, 43, 107, .22); }
.me-auth .me-auth-card .sx-btn-primary:hover { box-shadow: 0 10px 24px rgba(29, 43, 107, .28); }
.me-auth .me-auth-card .form-control:focus { border-color: var(--cap-vert); box-shadow: 0 0 0 3px rgba(29, 43, 107, .18); }
.me-auth .me-auth-card label a { color: var(--e-primaire-fonce); text-decoration: underline; font-weight: 600; }

/* haut de page mobile : blanc, comme l'en-tête du site */
.me-auth .me-acces__haut { background: #fff; border-bottom: 1px solid #ECEDF1; }
.me-auth .me-acces__tarifs { font-weight: 600; color: #15172B; }

/* message flash aligné sur la carte */
.me-auth .me-acces__main > .container-fluid { width: 100%; max-width: 472px; margin: 0 auto; padding: 12px 16px 0; }
.me-auth .me-acces__main .alert { border-radius: 10px; font-weight: 600; }
.me-auth .me-acces__main .alert-info { background: #E9EDF8; color: #1D2B6B; border: 1px solid #CDD5EE; }
.me-auth .me-acces__main .alert-success { background: #E6F2EC; color: #1E6B47; border: 1px solid #C5DFD1; }
.me-auth .me-acces__main .alert-warning { background: #FDF1E3; color: #75420B; border: 1px solid #F3D9B8; }
.me-auth .me-acces__main .alert-danger { background: #FBEDEC; color: #B8322A; border: 1px solid #F1C9C5; }
.me-auth .me-acces__main .alert-fill .icon { color: inherit; }

@media (min-width: 992px) {
  .me-auth .me-acces__haut { background: none; border: 0; }
  /* panneau de marque : même « photo » de ville assombrie que le héros du site */
  .me-auth .me-acces__marque { background:
      linear-gradient(180deg, rgba(21, 32, 79, .55) 0%, rgba(21, 32, 79, .88) 100%),
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 900' preserveAspectRatio='xMidYMax slice'%3E%3Cdefs%3E%3ClinearGradient id='c' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23315F8C'/%3E%3Cstop offset='.6' stop-color='%237FA3C2'/%3E%3Cstop offset='1' stop-color='%23C9D8E2'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='600' height='900' fill='url(%23c)'/%3E%3Cg fill='%23FFFFFF' opacity='.5'%3E%3Cellipse cx='420' cy='150' rx='170' ry='30'/%3E%3Cellipse cx='120' cy='260' rx='130' ry='22'/%3E%3C/g%3E%3Cg fill='%2353708C'%3E%3Cpath d='M0 700h40v-80h40v-60h50v140h30v-100h50v100h40v-170h50v170h40v-90h40v90h40v-130h40v130h40v-80h40v280H0z'/%3E%3C/g%3E%3Cg fill='%2338506A'%3E%3Cpath d='M0 780h70v-50h50v50h70v-60h50v60h80v-40h60v40h80v-70h50v70h70v120H0z'/%3E%3C/g%3E%3C/svg%3E") center bottom / cover no-repeat; }
  .me-auth .me-acces__titre { font-family: "Spectral", Georgia, "Times New Roman", serif; font-weight: 600; letter-spacing: -.005em; }
  .me-auth .me-acces__points li { color: #F2F4FA; }
  .me-auth .me-acces__points .icon { color: #fff; }
  .me-auth .me-acces__note { color: #C9CEE0; }
}

/* ux.css (Scolarix) impose border-radius: 0 !important à tous les boutons : la pilule doit donc l'emporter ici. */
.me-auth .me-auth-card button[type="submit"].ma-bloc-plein, .me-auth .me-auth-card .sx-btn-primary { border-radius: 1000px !important; }

/* le body porte .bg-lighter (DashLite, gris #F5F6FA, !important) : fond papier du Brand Book */
body.me-auth.bg-lighter { background-color: #FAF8F3 !important; }
