.sl-auth-page, .sl-client-page { --auth-ink: #20282b; --auth-muted: #59656e; --auth-line: #dce2e6; --auth-accent: #2563eb; font-family: 'Manrope', sans-serif; color: var(--auth-ink); margin: 0; }
.sl-auth-page { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; background: linear-gradient(180deg, #f1f5f8 0, #fff 260px); }
.sl-auth-page *, .sl-client-page * { box-sizing: border-box; letter-spacing: 0; }
.sl-auth-page a { color: #1d4ed8; text-decoration: none; }
.sl-auth-page a:hover { text-decoration: underline; }
.sl-auth-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 40px; border-bottom: 1px solid var(--auth-line); background: #fff; }
a.sl-auth-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.5rem; font-weight: 800; line-height: 1; color: var(--auth-ink); text-decoration: none; }
.sl-auth-brand img { display: block; flex: none; }
a.sl-auth-back { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; color: var(--auth-muted); }
.sl-auth-main { width: 100%; max-width: 440px; min-width: 0; margin: 0 auto; padding: 52px 20px 40px; flex: 1; }
.sl-auth-mode { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; gap: 4px; background: #edf1f4; border: 1px solid var(--auth-line); border-radius: 8px; margin-bottom: 38px; }
.sl-auth-mode a { color: var(--auth-muted); padding: 10px 8px; text-align: center; font-size: .84rem; font-weight: 650; border-radius: 5px; }
.sl-auth-mode a[aria-current="page"] { background: #fff; color: #1d4ed8; box-shadow: 0 1px 4px #20282b12; }
.sl-auth-kicker { font-size: .78rem; font-weight: 700; color: var(--auth-muted); margin: 0 0 8px; }
.sl-auth-title { font-size: 1.85rem; font-weight: 800; line-height: 1.25; margin: 0 0 28px; overflow-wrap: anywhere; }
.sl-auth-form { margin: 0; }
.form-group-sl { margin-bottom: 22px; }
.form-label-sl { display: block; color: var(--auth-ink); font-size: .84rem; font-weight: 650; margin-bottom: 9px; }
.form-input-sl { display: block; width: 100%; min-width: 0; height: 50px; border: 1px solid #adb9c2; border-radius: 6px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--auth-ink); background: #fff; }
.form-input-sl::placeholder { color: #7a858e; }
.form-input-sl:focus { border-color: var(--auth-accent); outline: 3px solid #2563eb18; outline-offset: 0; }
.sl-auth-password { position: relative; }
.sl-auth-password .form-input-sl { padding-right: 54px; }
.sl-auth-password button { position: absolute; right: 4px; top: 4px; width: 42px; height: 42px; border: 0; border-radius: 4px; background: transparent; color: var(--auth-muted); cursor: pointer; }
.sl-auth-password button:hover { background: #f0f3f6; }
.btn-auth { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 50px; padding: 13px 16px; border: 1px solid var(--auth-accent); border-radius: 6px; background: var(--auth-accent); color: #fff !important; font: inherit; font-size: .87rem; font-weight: 700; line-height: 1.5; cursor: pointer; text-align: center; }
.btn-auth:hover { background: #1d4ed8; border-color: #1d4ed8; text-decoration: none !important; }
.btn-auth:disabled { opacity: .6; cursor: wait; }
.sl-auth-footer { border-top: 1px solid var(--auth-line); padding-top: 24px; margin: 28px 0 0; text-align: center; font-size: .8rem; color: var(--auth-muted); line-height: 1.8; }
.sl-auth-footer a { font-weight: 700; }
.sl-auth-caption { color: var(--auth-muted); font-size: .9rem; line-height: 1.7; margin-bottom: 24px; }
.sl-auth-legal { display: flex; justify-content: center; align-items: center; gap: 24px; padding: 24px; font-size: .72rem; color: var(--auth-muted); }
.sl-auth-legal a { color: var(--auth-muted); }
.sl-auth-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .8rem; line-height: 1.6; margin: 0 0 22px; }
.sl-auth-consent input { flex: none; width: 17px; height: 17px; margin: 3px 0 0; accent-color: var(--auth-accent); }
.sl-auth-page .client-notice { border: 1px solid #b8d5cb; border-left: 3px solid #17745f; padding: 16px; margin: 0 0 24px; border-radius: 6px; background: #f0f8f4; color: #285c4d; font-size: .84rem; line-height: 1.7; overflow-wrap: anywhere; }
.alert-error { display: flex; align-items: flex-start; gap: 10px; background: #fff4f3; color: #a92c27; border: 1px solid #f1cbc8; border-radius: 6px; padding: 14px; font-size: .84rem; line-height: 1.6; margin-bottom: 22px; }
.sl-auth-page [hidden] { display: none !important; }
.social-google { min-height: 44px; display: flex; justify-content: center; margin-bottom: 24px; }
.auth-divider { display: flex; align-items: center; gap: 12px; font-size: .75rem; color: var(--auth-muted); margin-bottom: 24px; }
.auth-divider::before, .auth-divider::after { content: ''; height: 1px; background: var(--auth-line); flex: 1; }
.sl-auth-page :is(a, button, input):focus-visible { outline: 3px solid #8baef8; outline-offset: 3px; }
.sl-client-page { --client-accent: #2563eb; --client-ink: #20282b; --client-line: #dce2e6; background: #f7f9fb; }
.client-nav-session { margin: 0; }
.client-nav-session button { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--auth-line); border-radius: 6px; background: #fff; font: inherit; font-size: .8rem; cursor: pointer; }
.sl-client-page .client-main { padding-top: 36px; }
.sl-client-page .client-rdv { background: #fff; padding: 22px 16px; }
.sl-client-page .client-tabs { margin-bottom: 20px; }
.sl-client-page .client-tabs a { padding-bottom: 10px; }
.sl-client-page input { font-size: 1rem !important; }
@media (max-width: 600px) {
    .sl-auth-header { padding: 18px 20px; }
    .sl-auth-main { padding-top: 30px; }
    .sl-auth-mode { margin-bottom: 28px; }
    .sl-auth-title { font-size: 1.6rem; }
    .sl-auth-legal { padding: 20px; }
    .client-nav-session button { font-size: .74rem; }
}
@media (prefers-reduced-motion: no-preference) {
    .sl-auth-main { animation: sl-auth-enter .25s ease-out; }
    @keyframes sl-auth-enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
}