/* Google / Apple sign-in buttons (public/js/sso.js). Only styles what sso.js renders inside #oidc-buttons, so a page where
   no provider is configured looks exactly as before (the container stays [hidden]). Tokens and .btn come from base.css.
   Button colours follow the providers' published button styles (Google: white with border; Apple: black with white text);
   the owner checks them against the current brand guidelines (docs/AUTH-SETUP.md). */
.oidc-buttons:not([hidden]) { margin-top: var(--sp-5); }
.sso-group { display: flex; flex-direction: column; gap: var(--sp-3); }
.sso-or { display: flex; align-items: center; gap: var(--sp-3); margin: 0 0 var(--sp-2); color: var(--c-muted); font-size: var(--fs-small); }
.sso-or::before, .sso-or::after { content: ""; flex: 1; height: 1px; background: var(--c-line); }
.sso-btn { gap: var(--sp-3); justify-content: center; font-weight: 600; }
.sso-btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.sso-btn-google { background: #ffffff; color: #1f1f1f; border: 1px solid #747775; }
.sso-btn-google:hover { background: #f2f2f2; }
.sso-btn-apple { background: #000000; color: #ffffff; border: 1px solid #000000; }
.sso-btn-apple:hover { background: #1f1f1f; }
.sso-btn:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 2px; }
.sso-mark { width: 20px; height: 20px; }
.sso-note { margin: 0; color: var(--c-muted); font-size: var(--fs-small); }
.sso-msg { margin: var(--sp-3) 0 0; padding: var(--sp-3) var(--sp-4); border: 1px solid var(--c-warning-line); border-radius: var(--r-md); background: var(--c-warning-bg); color: var(--c-warning-ink); }
.sso-msg-link { color: inherit; font-weight: 600; }
@media (prefers-color-scheme: dark) {
  .sso-btn-apple { background: #ffffff; color: #000000; border-color: #ffffff; }
  .sso-btn-apple:hover { background: #e8e8e8; }
}
/* Google's dark-theme button (brand guidelines: #131314 fill, #E3E3E3 text, #8E918F stroke) */
@media (prefers-color-scheme: dark) {
  .sso-btn-google { background: #131314; color: #e3e3e3; border-color: #8e918f; }
  .sso-btn-google:hover { background: #1f1f20; }
}
