/* Entrada com Google / Microsoft / Apple (ecrãs Entrar e Criar conta). */
.social-signin[hidden] { display: none; }
.social-signin { margin-top: 18px; display: grid; gap: 12px; }
.social-or { display: flex; align-items: center; gap: 12px; color: var(--mist2, #5d6b64); font: 11px/1 var(--mono, monospace); letter-spacing: .08em; text-transform: uppercase; }
.social-or::before, .social-or::after { content: ""; flex: 1; height: 1px; background: var(--line, rgba(28, 36, 31, .16)); }
.social-buttons { display: grid; gap: 8px; }
.social-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 48px; padding: 0 16px; border: 1px solid var(--line2, rgba(28, 36, 31, .28)); border-radius: 12px; background: var(--slate, #fffdf9); color: var(--bone, #1c241f); font: 600 14px/1 inherit; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.social-btn:hover { background: var(--carbon, #e9e1d5); }
.social-btn:active { transform: scale(.985); }
.social-btn svg { width: 20px; height: 20px; flex: none; }
.social-why { font-size: 12px; line-height: 1.55; color: var(--mist, #4d5a54); }
.social-why summary { cursor: pointer; font-weight: 600; min-height: 32px; display: flex; align-items: center; }
.social-why ul { margin: 6px 0 8px; padding-left: 18px; }
.social-why p { margin: 0; }
/* Acima do ecrã «A ligar à sua Diligence…» (#runtimeLoading, z-index 99999): o diálogo dos Termos abre-se enquanto o arranque espera pela resposta. */
.social-consent { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 18px; background: rgba(16, 34, 29, .55); }
@supports (backdrop-filter: blur(1px)) { .social-consent { backdrop-filter: blur(6px); } }
.social-consent-card { width: min(440px, 100%); display: grid; gap: 14px; padding: 22px; border-radius: 18px; background: var(--slate, #fffdf9); color: var(--bone, #1c241f); box-shadow: 0 24px 70px rgba(0, 0, 0, .35); }
.social-consent-card h2 { margin: 0; font-size: 19px; letter-spacing: -.02em; }
.social-consent-card p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--mist, #4d5a54); }
.social-consent-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; cursor: pointer; }
.social-consent-check input { width: 22px; height: 22px; flex: none; margin: 0; }
.social-consent-check a { color: var(--teal-ink, #0e6d61); text-decoration: underline; }
.social-consent-note { font-size: 12px !important; }
.social-consent-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.social-consent-actions .btn { min-height: 46px; }
@media (prefers-reduced-motion: reduce) { .social-btn { transition: none; } .social-btn:active { transform: none; } }
