/* ══════════════════════════════════════════════════════
   auth.css — Styles pour pages d'authentification (login,
   inscription, accept invitation, password reset, etc.)
   Externalise depuis les <style nonce> pour fiabilite
   (CSP bloquante : nonce parfois pas honore selon contexte).
   ══════════════════════════════════════════════════════ */

/* ── Boutons social login (accessibilité seniors) ── */
.social-login {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
}
.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 52px;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #1f2937;
    text-decoration: none;
    cursor: pointer;
    transition: box-shadow 0.15s, transform 0.05s;
}
.social-btn:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.social-btn:active { transform: translateY(1px); }
.social-btn svg { flex-shrink: 0; width: 22px; height: 22px; }

.social-btn--facebook {
    background: #1877f2;
    color: #fff;
    border-color: #1877f2;
}
.social-btn--facebook:hover { background: #166fe5; }

.auth-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #94a3b8;
    font-size: 13px;
    margin: 20px 0 4px;
}
.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

/* ── Bouton passkey (cle d'acces WebAuthn) ── */
.social-btn--passkey {
    background: #0f172a;
    color: #fff;
    border-color: #0f172a;
}
.social-btn--passkey:hover { background: #1e293b; }
.social-btn--passkey svg { width: 22px; height: 22px; }

.passkey-error {
    display: none;
    margin-top: 10px;
    padding: 10px 14px;
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    border-radius: 6px;
    font-size: 14px;
}
