/**
 * WK 2026 – Inschrijven / Google login (professioneel, leesbaar).
 * Vervangt groene wk-pro-cta-green box met wit paneel + officiële Google-knopstijl.
 */

/* —— Sectie: wit paneel, geen groene achtergrond —— */
body.wk-poule-page.wk-land-national .wk-auth-signup {
    max-width: 28rem;
    margin: 0 auto 1.35rem;
    padding: 1.35rem 1.2rem 1.15rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 12px 32px rgba(15, 23, 42, 0.08);
    text-align: center;
}

body.wk-poule-page.wk-land-national.wk-land-nl .wk-auth-signup {
    border-top: 3px solid #ea580c;
}

body.wk-poule-page.wk-land-national.wk-land-be .wk-auth-signup {
    border-top: 3px solid #fbbf24;
}

body.wk-poule-page.wk-land-national .wk-auth-signup__title {
    margin: 0 0 0.4rem;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
    line-height: 1.25;
}

body.wk-poule-page.wk-land-national .wk-auth-signup__lead {
    margin: 0 0 1.1rem;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.5;
    color: #475569;
}

body.wk-poule-page.wk-land-national .wk-auth-signup__lead strong {
    color: #0f172a;
    font-weight: 600;
}

body.wk-poule-page.wk-land-national.wk-land-nl .wk-auth-signup__lead strong {
    color: #c2410c;
}

body.wk-poule-page.wk-land-national.wk-land-be .wk-auth-signup__lead strong {
    color: #1a1a1a;
}

/* Verberg oude groene CTA-styling */
body.wk-poule-page.wk-land-national .wk-pro-cta-green {
    display: none !important;
}

/* —— Google-kaart —— */
body.wk-poule-page.wk-land-national .wk-auth-block .wk-auth-google-card.wk-auth-google-card--pro {
    margin: 0 !important;
    padding: 1.15rem 1rem 1.1rem !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    text-align: center;
}

body.wk-poule-page.wk-land-national.wk-land-nl .wk-auth-block .wk-auth-google-card.wk-auth-google-card--pro {
    border-color: #fed7aa !important;
    background: linear-gradient(180deg, #fffbf7 0%, #f8fafc 100%) !important;
}

body.wk-poule-page.wk-land-national.wk-land-be .wk-auth-block .wk-auth-google-card.wk-auth-google-card--pro {
    border-color: #fde68a !important;
    background: linear-gradient(180deg, #fffbeb 0%, #f8fafc 100%) !important;
}

body.wk-poule-page.wk-land-national .wk-auth-google-card__badge {
    display: inline-block;
    margin: 0 0 0.75rem;
    padding: 0.22rem 0.65rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 999px;
    color: #fff;
}

body.wk-poule-page.wk-land-national.wk-land-nl .wk-auth-google-card__badge {
    background: linear-gradient(165deg, #22c55e 0%, #16a34a 100%);
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.3);
}

body.wk-poule-page.wk-land-national.wk-land-be .wk-auth-google-card__badge {
    background: linear-gradient(165deg, #292524 0%, #1a1a1a 100%);
    border: 1px solid #fbbf24;
    color: #fde047;
}

/* Oude leads verbergen */
body.wk-poule-page .wk-auth-block .wk-auth-google-lead,
body.wk-poule-page .wk-auth-block .wk-oauth-hint {
    display: none !important;
}

body.wk-poule-page.wk-land-national .wk-auth-google-card__note {
    margin: 0.75rem 0 0;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.45;
    color: #64748b;
}

/* —— Google Sign-In knop (brand guidelines) —— */
body.wk-poule-page .wk-google-signin-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    margin: 0 auto;
    padding: 0 1rem 0 0.85rem;
    box-sizing: border-box;
    background: #ffffff;
    color: #1f1f1f;
    border: 1px solid #747775;
    border-radius: 4px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow:
        0 1px 2px rgba(60, 64, 67, 0.08),
        0 1px 3px 1px rgba(60, 64, 67, 0.06);
    transition:
        background 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease,
        transform 0.15s ease;
}

body.wk-poule-page .wk-google-signin-btn:hover {
    background: #f8f9fa;
    border-color: #5f6368;
    box-shadow:
        0 1px 3px rgba(60, 64, 67, 0.12),
        0 2px 6px 2px rgba(60, 64, 67, 0.08);
    transform: translateY(-1px);
    color: #1f1f1f !important;
}

body.wk-poule-page .wk-google-signin-btn:active {
    background: #f1f3f4;
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.1);
}

body.wk-poule-page .wk-google-signin-btn:focus-visible {
    outline: 2px solid #4285f4;
    outline-offset: 2px;
}

body.wk-poule-page .wk-google-signin-btn__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

body.wk-poule-page .wk-google-signin-btn__icon svg {
    display: block;
    width: 20px;
    height: 20px;
}

body.wk-poule-page .wk-google-signin-btn__label {
    flex: 1 1 auto;
    text-align: center;
    white-space: nowrap;
}

/* Override oude pill-styling van .wk-oauth-btn */
body.wk-poule-page.wk-land-national .wk-auth-block a.wk-google-signin-btn.wk-oauth-google {
    width: 100% !important;
    min-height: 48px !important;
    border-radius: 4px !important;
    font-size: 0.9375rem !important;
    font-weight: 500 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

/* Scheidingslijn */
body.wk-poule-page.wk-land-national .wk-auth-email-divider {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    max-width: 22rem;
    margin: 1.15rem auto 0;
    padding: 0 0.15rem;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body.wk-poule-page.wk-land-national .wk-auth-email-divider::before,
body.wk-poule-page.wk-land-national .wk-auth-email-divider::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: #e2e8f0;
}

body.wk-poule-page.wk-land-national.wk-land-nl .wk-auth-email-divider::before,
body.wk-poule-page.wk-land-national.wk-land-nl .wk-auth-email-divider::after {
    background: linear-gradient(90deg, transparent, #fed7aa, transparent);
}

body.wk-poule-page.wk-land-national.wk-land-be .wk-auth-email-divider::before,
body.wk-poule-page.wk-land-national.wk-land-be .wk-auth-email-divider::after {
    background: linear-gradient(90deg, transparent, #fde68a, transparent);
}

/* Focus-pulse op Google-kaart */
body.wk-poule-page.wk-land-national.wk-auth-block--focus .wk-auth-google-card.wk-auth-google-card--pro {
    animation: wk-auth-google-focus 0.9s ease 2;
}

@keyframes wk-auth-google-focus {
    0%, 100% {
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.9),
            0 0 0 0 rgba(66, 133, 244, 0);
    }
    50% {
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.9),
            0 0 0 4px rgba(66, 133, 244, 0.2);
    }
}

body.wk-poule-page.wk-land-national .wk-auth-google-card--done {
    opacity: 0.85;
    pointer-events: none;
}

body.wk-poule-page.wk-land-national .wk-auth-google-card--done .wk-auth-google-card__badge {
    background: #94a3b8 !important;
    color: #fff !important;
    border: none !important;
}

/* Formulieren onder divider */
body.wk-poule-page.wk-land-national .wk-auth-grid {
    margin-top: 1rem !important;
}

body.wk-poule-page.wk-land-national .wk-auth-block #wkAuthMsg {
    margin-top: 0.75rem;
}

@media (min-width: 700px) {
    body.wk-poule-page.wk-land-national .wk-auth-signup {
        max-width: 26rem;
        padding: 1.45rem 1.35rem 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.wk-poule-page .wk-google-signin-btn {
        transition: none;
    }
    body.wk-poule-page .wk-google-signin-btn:hover {
        transform: none;
    }
}
