/* Page de connexion : defile de ce qu'on trouve apres la connexion (selon le type de compte). Remplace le trace de la courbe de charge. */
/* le pied de page (cookies) se trouve sous la zone de connexion : on le compte dans la hauteur pour que la page ne defile pas */
body.pro .auth { min-height: calc(100vh - 68px); }
body.pro .auth-brand { gap: 28px; }
body.pro .auth-mid { display: flex; flex-direction: column; gap: 22px; min-height: 0; }
body.pro .auth-lead { margin: 0; font-size: .82rem; font-weight: 500; letter-spacing: .02em; color: var(--muted); }

.auth-show { display: flex; flex-direction: column; gap: 14px; width: min(600px, 100%, max(360px, calc((100vh - 600px) * 1.6))); } /* la largeur suit la hauteur de la fenetre : la page de connexion ne defile pas */
.show-stage { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: var(--bg); border: 1px solid var(--line); box-shadow: 0 18px 40px -26px #00000066; }
.show-slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s linear .7s; }
.show-slide.on { opacity: 1; visibility: visible; transition: opacity .7s ease; }
.show-slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.show-cap { display: flex; flex-direction: column; gap: 4px; min-height: 84px; }
.show-for { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line-strong, var(--line)); font-size: .74rem; font-weight: 600; color: var(--blue); background: var(--blue-dark, transparent); }
.show-for::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.show-title { font-size: 1.05rem; font-weight: 600; line-height: 1.3; color: var(--text); }
.show-text { font-size: .9rem; line-height: 1.5; color: var(--muted); max-width: 54ch; }
.show-cap > * { animation: showin .5s ease both; }
@keyframes showin { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.show-nav { display: flex; align-items: center; gap: 12px; }
.show-dots { display: flex; gap: 8px; align-items: center; }
.show-dots button { all: unset; box-sizing: border-box; width: 22px; height: 22px; display: grid; place-items: center; cursor: pointer; border-radius: 50%; }
.show-dots button::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong, #8a8f97); transition: width .25s ease, background-color .25s ease; }
.show-dots button.on::after { width: 20px; border-radius: 4px; background: var(--blue); }
.show-dots button:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
.show-bar { flex: 1; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.show-bar i { display: block; height: 100%; width: 0; background: var(--blue); }
.show-bar i.run { animation: showbar var(--show-ms, 6500ms) linear forwards; }
@keyframes showbar { from { width: 0; } to { width: 100%; } }
.show-pause { all: unset; box-sizing: border-box; width: 30px; height: 30px; display: grid; place-items: center; cursor: pointer; border-radius: 8px; color: var(--muted); }
.show-pause:hover { background: var(--card-hover, #00000012); color: var(--text); }
.show-pause:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
.show-pause svg { width: 14px; height: 14px; fill: currentColor; }

@media (max-height: 960px) { .show-cap { min-height: 58px; } .show-text { display: none; } }
@media (prefers-reduced-motion: reduce) { .show-slide, .show-slide.on { transition: none; } .show-cap > * { animation: none; } .show-bar i.run { animation: none; width: 100%; } }
