/**
 * cdf-account — Bloc "Gate de connexion" affiché à la place d'un widget
 * Elementor masqué aux anonymes (cf. includes/page-gating.php).
 * Styles sobres, surchargeables via les variables CSS.
 */

.cdfa-login-gate {
    --cdfa-gate-bg: rgba(0, 0, 0, 0.03);
    --cdfa-gate-border: 1px solid rgba(0, 0, 0, 0.1);
    --cdfa-gate-radius: 8px;
    --cdfa-gate-padding: 28px 24px;
    --cdfa-gate-accent: #c89414;
    --cdfa-gate-accent-contrast: #fff;

    background: var(--cdfa-gate-bg);
    border: var(--cdfa-gate-border);
    border-radius: var(--cdfa-gate-radius);
    padding: var(--cdfa-gate-padding);
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.cdfa-login-gate__title {
    margin: 0 0 12px;
    font-size: 1.35em;
    font-weight: 700;
    line-height: 1.3;
}

.cdfa-login-gate__body {
    margin: 0 0 20px;
    line-height: 1.5;
    opacity: 0.85;
}

.cdfa-login-gate__actions {
    margin: 0;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.cdfa-login-gate__btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    line-height: 1.4;
    border: 2px solid var(--cdfa-gate-accent);
    transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.cdfa-login-gate__btn:hover {
    transform: translateY(-1px);
}

.cdfa-login-gate__btn--primary {
    background: var(--cdfa-gate-accent);
    color: var(--cdfa-gate-accent-contrast);
}

.cdfa-login-gate__btn--primary:hover {
    background: transparent;
    color: var(--cdfa-gate-accent);
}

.cdfa-login-gate__btn--secondary {
    background: transparent;
    color: var(--cdfa-gate-accent);
}

.cdfa-login-gate__btn--secondary:hover {
    background: var(--cdfa-gate-accent);
    color: var(--cdfa-gate-accent-contrast);
}
