/* Pages de connexion, habillage legacy (charte DIMO : panneau à liseré, champs compacts). */
.lg-auth { display: flex; justify-content: center; padding: 48px 16px; }
.lg-auth__card { width: 100%; max-width: 380px; }
.lg-auth__title { margin: 0; font-size: 14px; cursor: default; }
.lg-auth__body { display: grid; gap: var(--space-2); }
.lg-auth__form { display: grid; gap: var(--space-1); }
.lg-auth__label { margin-top: var(--space-2); color: var(--text); font-weight: 600; }
.lg-auth__input { padding: 5px 8px; font: inherit; color: var(--text); background: var(--bg-panel); border: 1px solid var(--panel-border); border-radius: var(--radius); }
.lg-auth__input:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.lg-auth__actions { display: flex; justify-content: flex-end; margin-top: 12px; }
.lg-auth__sso .lg-btn { width: 100%; justify-content: center; }
.lg-auth__or { margin: 4px 0; text-align: center; color: var(--text-muted); }
.lg-auth .lg-toast { position: static; box-shadow: none; }
/* CGU */
.lg-auth--wide .lg-auth__card { max-width: 760px; }
.lg-auth__meta { margin: 0; color: var(--text-muted); }
.lg-auth__terms { max-height: 50vh; overflow-y: auto; padding: 8px; background: var(--bg-panel); border: 1px solid var(--panel-border); border-radius: var(--radius); }
.lg-auth__actions { gap: 8px; }
/* Page de connexion DIMO (relevé 2026-11-26) : fond blanc, disque teal à droite, formulaire en haut à droite.
   Sans logo ni illustration de l'éditeur : le disque est uni et porte le nom « Gobannos ». */
.lg-login { position: relative; min-height: 100vh; overflow: hidden; background: #ffffff; font: 14px/1.43 "Helvetica Neue", Helvetica, Arial, sans-serif; }
.lg-login__disc { position: absolute; top: -18vh; right: -16vw; display: grid; place-items: center; width: max(560px, 72vw); height: max(560px, 72vw); border-radius: 50%; background: var(--accent); }
.lg-login__brand { margin: 22vw 22vw 0 0; color: rgba(255, 255, 255, .85); font-family: "Montserrat", var(--font); font-size: clamp(32px, 5vw, 64px); font-weight: 500; letter-spacing: .04em; }
.lg-login__panel { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; width: min(320px, calc(100vw - 32px)); margin: 32px 48px 0 auto; color: #ffffff; }
.lg-login__title { margin: 0 0 8px; font-size: 20px; font-weight: 500; text-align: right; }
.lg-login__name { font-family: "Montserrat", var(--font); }
.lg-login__form { display: flex; flex-direction: column; gap: 10px; }
.lg-login__group { display: flex; height: 34px; }
.lg-login__addon { display: grid; place-items: center; width: 38px; border: 1px solid #cccccc; border-right: 0; border-radius: 4px 0 0 4px; background: #eeeeee; color: #555555; }
.lg-login__input { flex: 1; min-width: 0; height: 34px; padding: 6px 12px; border: 1px solid #cccccc; border-radius: 0 4px 4px 0; background: #ffffff; color: #555555; font: inherit; }
.lg-login__group .lg-login__input:not(:last-child) { border-radius: 0; }
.lg-login__input:focus { outline: none; border-color: #66afe9; box-shadow: 0 0 6px rgba(102, 175, 233, .6); }
.lg-login__eye { width: 38px; border: 1px solid #cccccc; border-left: 0; border-radius: 0 4px 4px 0; background: #ffffff; color: #555555; cursor: pointer; }
.lg-login__actions { display: flex; justify-content: flex-end; }
.lg-login__submit { height: 30px; padding: 5px 12px; border: 0; border-radius: 2px; background: #363940; color: #ffffff; font: inherit; font-size: 13px; cursor: pointer; }
.lg-login__submit:hover, .lg-login__submit:focus-visible { background: #4a4e57; }
.lg-login__forgot { align-self: flex-end; color: #ffffff; text-decoration: none; }
a.lg-login__forgot:hover { text-decoration: underline; }
.lg-login__or { margin: 0; text-align: center; }
.lg-login__sso .lg-btn { width: 100%; justify-content: center; }
.lg-login__langs { align-self: flex-end; }
.lg-login .lg-toast { position: static; box-shadow: none; color: var(--text); }
@media (max-width: 640px) { .lg-login__panel { margin: 24px auto 0; } .lg-login__disc { top: -40vw; right: -40vw; } }
