/* Pages connexion / inscription (client et pro) : logo centre, carte centree,
   boutons Apple / Google, separateur « ou », pied de page colle en bas. */
body.sp-auth { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body.sp-auth > .footer { margin-top: 0; }
.auth-main { flex: 1 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 16px 64px; width: 100%; }
.auth-logo { display: flex; justify-content: center; margin-bottom: 24px; color: var(--fg); }
.auth-logo .logo { color: inherit; }
.auth-card { width: 100%; max-width: 440px; }
.auth-card.wide { max-width: 520px; }
.auth-card h1 { font-size: 1.55rem; text-align: center; }
.auth-card .auth-sub { text-align: center; margin-top: 6px; font-size: .9rem; }
.auth-badge { display: flex; justify-content: center; margin-bottom: 10px; }

.social-stack { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.btn-social { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 46px; padding: 0 16px;
  border-radius: var(--r-md, 10px); font-weight: 600; font-size: .96rem; letter-spacing: 0; line-height: 1; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: background-color .15s, box-shadow .15s, transform .1s; }
.btn-social:active { transform: translateY(1px); }
.btn-social:focus-visible { outline: 2px solid var(--ring, var(--accent)); outline-offset: 2px; }
.btn-social svg { flex: none; }
/* Apple (Human Interface Guidelines) : noir sur fond clair, blanc sur fond sombre. */
.btn-apple { background: #000; color: #fff; border-color: #000; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; }
.btn-apple:hover { background: #1d1d1f; color: #fff; }
.btn-apple svg { fill: currentColor; margin-top: -2px; }
/* Google (charte « Sign in with Google ») : blanc, bord #747775, texte #1F1F1F. */
.btn-google { background: #fff; color: #1f1f1f; border-color: #747775; font-family: Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 500; }
.btn-google:hover { background: #f8f9fa; color: #1f1f1f; box-shadow: 0 1px 2px rgba(60,64,67,.3), 0 1px 3px 1px rgba(60,64,67,.15); }
[data-theme="dark"] .btn-apple { background: #fff; color: #000; border-color: #fff; }
[data-theme="dark"] .btn-apple:hover { background: #f2f2f7; color: #000; }
[data-theme="dark"] .btn-google { background: #131314; color: #e3e3e3; border-color: #8e918f; }
[data-theme="dark"] .btn-google:hover { background: #1f1f20; color: #e3e3e3; }
@media (prefers-color-scheme: dark) {
  [data-theme="auto"] .btn-apple { background: #fff; color: #000; border-color: #fff; }
  [data-theme="auto"] .btn-google { background: #131314; color: #e3e3e3; border-color: #8e918f; }
}

.auth-or { display: flex; align-items: center; gap: 12px; margin: 20px 0 4px; color: var(--fg-3); font-size: .84rem; text-transform: lowercase; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.auth-legal { font-size: .76rem; text-align: center; margin-top: 12px; }
.auth-foot { text-align: center; font-size: .86rem; margin-top: 18px; }
.auth-foot a, .auth-link { color: var(--accent); }
.phone-row { display: flex; gap: 8px; }
.phone-row select { flex: 0 0 auto; width: 118px; }
.phone-row input { flex: 1; min-width: 0; }
@media (max-width: 480px) { .auth-main { padding-top: 28px; justify-content: flex-start; } .card.pad-lg.auth-card { padding: 22px; } }
