/* Social sign-in: "Continue with Google" on the auth pages (G2, Ada, 26 Oct 2026).
   Loaded by includes/social_signin_ui.php with its own ?v=, not SITE_VERSION, so
   core.css and brand.css stay untouched. Bump SOCIAL_SIGNIN_CSS_VERSION there
   when this file changes.

   Neutral secondary button: white surface, strong grey border, dark text.
   Contrast: text #0F172A on #FFF is about 17:1; border #6B7280 on #FFF is
   about 4.8:1 (WCAG 1.4.11 asks 3:1). */

.social-signin {
    display: flex;
    flex-direction: column;
    gap: var(--space-3, 0.75rem);
}

a.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3, 0.75rem);
    width: 100%;
    min-height: 48px;
    padding: 10px 16px;
    background: #FFFFFF;
    color: var(--color-slate-900, #0F172A);
    border: 2px solid var(--color-slate-400, #6B7280);
    border-radius: var(--radius-md, 8px);
    font-family: var(--font-sans, inherit);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.25;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

a.btn-social:hover {
    background: var(--color-slate-100, #F1F5F9);
    border-color: var(--color-slate-800, #1E293B);
    color: var(--color-slate-900, #0F172A);
}

a.btn-social:active {
    background: var(--color-slate-200, #E2E8F0);
}

a.btn-social:focus-visible {
    outline: 3px solid var(--color-primary-500, #0A6E9A);
    outline-offset: 2px;
}

/* LOGO SLOT. The provider's official mark goes in here (20 x 20). It takes no
   space while empty, so the label stays centred until the asset arrives. */
.social-logo-slot {
    display: inline-block;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.social-logo-slot:empty {
    display: none;
}

.social-signin-or {
    margin: var(--space-5, 1.25rem) 0;
}

/* oauth_finish.php: the verified email, shown but not editable. */
.auth-readonly {
    background: var(--color-slate-50, #F8FAFC);
    color: var(--color-slate-700, #334155);
    cursor: default;
}
