/* Connexion dans l'univers visuel du site public. */
.sl-auth-web {
    --auth-ink: #eef1f8;
    --auth-muted: #9aa3ba;
    --auth-line: rgba(255, 255, 255, .12);
    --auth-accent: #60a5fa;
    color-scheme: dark;
    font-family: 'Inter', system-ui, sans-serif;
    background: #05070f;
    isolation: isolate;
}
.sl-auth-web::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(ellipse at 15% 25%, rgba(59, 130, 246, .17), transparent 50%),
                radial-gradient(ellipse at 85% 65%, rgba(139, 92, 246, .18), transparent 50%);
}
.sl-auth-web::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(transparent, #000 30%, transparent);
}
.sl-auth-web a { color: #93c5fd; }
.sl-auth-web .pn-logo { color: #fff; }
.sl-auth-web .pn a:hover { text-decoration: none; }
.sl-login-stage { flex: 1; display: grid; place-items: center; padding: 48px 20px 24px; }
.sl-auth-web .sl-auth-main {
    flex: none;
    max-width: 480px;
    margin: 0;
    padding: 36px;
    background: linear-gradient(145deg, rgba(20, 27, 47, .95), rgba(10, 14, 28, .96));
    border: 1px solid var(--auth-line);
    border-radius: 24px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.sl-auth-web .sl-auth-mode { background: rgba(5, 7, 15, .55); border-radius: 12px; margin-bottom: 28px; }
.sl-auth-web .sl-auth-mode a { color: var(--auth-muted); border-radius: 8px; }
.sl-auth-web .sl-auth-mode a[aria-current='page'] {
    color: #fff;
    background: linear-gradient(120deg, rgba(59, 130, 246, .3), rgba(139, 92, 246, .3));
    box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .2);
}
.sl-auth-web .sl-auth-kicker { color: #a78bfa; letter-spacing: .1em; text-transform: uppercase; font-size: .7rem; }
.sl-auth-web .sl-auth-title { font-family: 'Space Grotesk', 'Inter', sans-serif; font-size: 2rem; letter-spacing: -.03em; margin-bottom: 12px; }
.sl-auth-web .sl-auth-caption { margin-bottom: 28px; font-size: .88rem; }
.sl-auth-web .form-input-sl { color: var(--auth-ink); background: #0a0e1c; border-color: rgba(154, 163, 186, .35); border-radius: 10px; }
.sl-auth-web .form-input-sl::placeholder { color: #8d98b0; }
.sl-auth-web .form-input-sl:focus { border-color: #60a5fa; outline-color: rgba(96, 165, 250, .2); }
.sl-auth-web .form-input-sl:autofill { color: var(--auth-ink); background: #0a0e1c; }
.sl-auth-web .form-input-sl:-webkit-autofill { -webkit-text-fill-color: #eef1f8; -webkit-box-shadow: 0 0 0 1000px #0a0e1c inset; caret-color: #eef1f8; }
.sl-auth-web .sl-auth-password button { color: #9aa3ba; border-radius: 8px; }
.sl-auth-web .sl-auth-password button:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.sl-auth-web .btn-auth {
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 12px;
    background: linear-gradient(120deg, #3b82f6, #8b5cf6);
    box-shadow: 0 8px 28px rgba(59, 130, 246, .2);
    transition: box-shadow .2s, filter .2s;
}
.sl-auth-web .btn-auth:hover { filter: brightness(1.12); box-shadow: 0 10px 32px rgba(139, 92, 246, .3); }
.sl-auth-web .alert-error { color: #fecaca; background: rgba(127, 29, 29, .24); border-color: rgba(248, 113, 113, .35); border-radius: 10px; }
.sl-auth-web .sl-auth-legal a { color: var(--auth-muted); }
@media (max-width: 600px) {
    .sl-login-stage { padding: 28px 16px 16px; }
    .sl-auth-web .sl-auth-main { padding: 26px 22px; border-radius: 20px; }
    .sl-auth-web .sl-auth-title { font-size: 1.8rem; }
}
@media (prefers-reduced-motion: reduce) { .sl-auth-web .btn-auth { transition: none; } }
