/**
 * WK 2026 – Eén aanmeldpaneel (hero onder aftelling + auth-blok).
 * Laadt als laatste signup-stijl; overschrijft losse hero/auth-varianten.
 */

/* —— Stack onder aftelling —— */
body.wk-poule-page .wk-hero-signup-stack {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    max-width: min(100%, 26rem);
    margin: 1rem auto 0;
    padding: 0;
}

body.wk-poule-page.wk-land-national .wk-hero.wk-hero--land-banner .wk-hero-signup-stack {
    margin-top: 0.85rem;
}

/* Deadline: compacte strip boven het paneel */
body.wk-poule-page .wk-hero-signup-stack__deadline.wk-poule-deadline-note {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin: 0;
    padding: 0.75rem 0.9rem;
    text-align: left;
    border-radius: 12px;
    border: 1px solid #fde68a;
    background: linear-gradient(135deg, #fffbeb 0%, #fff7ed 100%);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

body.wk-poule-page.wk-land-national.wk-land-nl .wk-hero-signup-stack__deadline.wk-poule-deadline-note,
body.wk-poule-page.wk-land-national.wk-land-nl .wk-hero-side__deadline.wk-poule-deadline-note {
    border-color: rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #14532d 0%, #15803d 50%, #166534 100%);
}

/* BE hero-deadline: achtergrond via school-deadline-readable.css / mobile-readability.css */
body.wk-poule-page.wk-land-national.wk-land-be .wk-hero-signup-stack__deadline.wk-poule-deadline-note:not(.wk-poule-deadline-note--play) {
    border-color: rgba(251, 191, 36, 0.45);
}

body.wk-poule-page .wk-poule-deadline-note__icon {
    flex-shrink: 0;
    font-size: 1.15rem;
    line-height: 1;
    margin-top: 0.05rem;
}

body.wk-poule-page .wk-poule-deadline-note__body {
    flex: 1;
    min-width: 0;
}

body.wk-poule-page .wk-poule-deadline-note__title {
    display: block;
    margin: 0 0 0.2rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #0f172a;
    line-height: 1.3;
}

body.wk-poule-page.wk-land-national.wk-land-nl .wk-hero-signup-stack__deadline .wk-poule-deadline-note__title,
body.wk-poule-page.wk-land-national.wk-land-nl .wk-hero-side__deadline .wk-poule-deadline-note__title {
    color: #ffffff;
}

body.wk-poule-page .wk-poule-deadline-note__text {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.45;
    color: #475569;
}

body.wk-poule-page.wk-land-national.wk-land-nl .wk-hero-signup-stack__deadline .wk-poule-deadline-note__text,
body.wk-poule-page.wk-land-national.wk-land-nl .wk-hero-side__deadline .wk-poule-deadline-note__text {
    color: rgba(255, 255, 255, 0.96);
}

body.wk-poule-page .wk-poule-deadline-note__text strong {
    color: #0f172a;
    font-weight: 700;
}

body.wk-poule-page.wk-land-national.wk-land-nl .wk-hero-signup-stack__deadline .wk-poule-deadline-note__text strong,
body.wk-poule-page.wk-land-national.wk-land-nl .wk-hero-side__deadline .wk-poule-deadline-note__text strong {
    color: #ffffff;
    font-weight: 800;
}

/* —— Gedeeld aanmeldpaneel —— */
body.wk-poule-page .wk-signup-panel {
    box-sizing: border-box;
    width: 100%;
    padding: 1.25rem 1.15rem 1.15rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 14px 36px rgba(15, 23, 42, 0.09);
    text-align: center;
}

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

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

body.wk-poule-page .wk-signup-panel__head {
    margin: 0 0 1rem;
}

body.wk-poule-page .wk-signup-panel__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

body.wk-poule-page.wk-land-national.wk-land-nl .wk-signup-panel__eyebrow {
    color: #c2410c;
}

body.wk-poule-page .wk-signup-panel__title {
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: #0f172a;
}

body.wk-poule-page .wk-signup-panel--auth .wk-signup-panel__title {
    font-size: 1.2rem;
}

body.wk-poule-page .wk-signup-panel__lead {
    margin: 0;
    font-size: 0.86rem;
    font-weight: 400;
    line-height: 1.5;
    color: #475569;
}

/* Google-blok binnen paneel */
body.wk-poule-page .wk-signup-panel__google-wrap {
    padding: 1rem 0.85rem 0.9rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

body.wk-poule-page.wk-land-national.wk-land-nl .wk-signup-panel__google-wrap {
    border-color: #fed7aa;
    background: linear-gradient(180deg, #fffbf7 0%, #f8fafc 100%);
}

body.wk-poule-page.wk-land-national.wk-land-be .wk-signup-panel__google-wrap {
    border-color: #fde68a;
    background: linear-gradient(180deg, #fffbeb 0%, #f8fafc 100%);
}

body.wk-poule-page .wk-signup-panel__badge {
    display: inline-block;
    margin: 0 0 0.7rem;
    padding: 0.22rem 0.65rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(165deg, #22c55e 0%, #16a34a 100%);
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.28);
}

body.wk-poule-page.wk-land-national.wk-land-be .wk-signup-panel__badge {
    background: linear-gradient(165deg, #292524 0%, #1a1a1a 100%);
    border: 1px solid #fbbf24;
    color: #fde047;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

body.wk-poule-page .wk-signup-panel__hint {
    margin: 0.65rem 0 0;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.45;
    color: #166534;
}

/* Google-knop: basis (hero + compact) */
body.wk-poule-page .wk-google-signin-btn,
body.wk-poule-page .wk-signup-panel .wk-google-signin-btn,
body.wk-poule-page .wk-signup-panel .wk-google-signin-btn.wk-signup-panel__google {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 50px !important;
    margin: 0 auto !important;
    padding: 0 1rem 0 0.85rem !important;
    box-sizing: border-box;
    background: #ffffff !important;
    color: #1f1f1f !important;
    border: 1px solid #747775 !important;
    border-radius: 4px !important;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 0.9375rem !important;
    font-weight: 500 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    line-height: 1.2 !important;
    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) !important;
    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,
body.wk-poule-page .wk-signup-panel .wk-google-signin-btn:hover {
    background: #f8f9fa !important;
    border-color: #5f6368 !important;
    color: #1f1f1f !important;
    transform: translateY(-1px);
    box-shadow:
        0 1px 3px rgba(60, 64, 67, 0.12),
        0 2px 6px 2px rgba(60, 64, 67, 0.08) !important;
}

body.wk-poule-page .wk-google-signin-btn:active,
body.wk-poule-page .wk-signup-panel .wk-google-signin-btn:active {
    background: #f1f3f4 !important;
    transform: translateY(0);
}

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

/* Secundaire acties (hero) */
body.wk-poule-page .wk-signup-panel__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
    margin-top: 0.85rem;
}

body.wk-poule-page .wk-signup-panel__btn {
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 0.5rem 0.65rem;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.25;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #0f172a;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

body.wk-poule-page .wk-signup-panel__btn:hover {
    transform: translateY(-1px);
    border-color: #cbd5e1;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.1);
}

body.wk-poule-page.wk-land-national.wk-land-nl .wk-signup-panel__btn--email {
    border-color: #fed7aa;
    color: #9a3412;
    background: #fff7ed;
}

body.wk-poule-page.wk-land-national.wk-land-be .wk-signup-panel__btn--email {
    border-color: #fde68a;
    color: #78350f;
    background: #fffbeb;
}

body.wk-poule-page .wk-signup-panel__btn--share {
    color: #334155;
    background: #f8fafc;
}

@media (max-width: 380px) {
    body.wk-poule-page .wk-signup-panel__actions {
        grid-template-columns: 1fr;
    }
}

/* Auth-sectie: zelfde paneel, iets breder */
body.wk-poule-page.wk-land-national .wk-auth-block .wk-signup-panel.wk-signup-panel--auth {
    max-width: 26rem;
    margin: 0 auto 1.25rem;
}

body.wk-poule-page .wk-signup-panel__divider.wk-auth-email-divider {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin: 1rem 0 0;
    padding: 0;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

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

/* Oude losse blokken verbergen / resetten */
body.wk-poule-page .wk-hero-cta-row,
body.wk-poule-page .wk-free-ribbon-pro .wk-free-ribbon-google {
    display: none !important;
}

body.wk-poule-page.wk-land-national .wk-hero.wk-hero--land-banner .wk-hero-cta-row {
    display: none !important;
}

body.wk-poule-page .wk-auth-block .wk-auth-google-card:not(.wk-signup-panel__google-wrap),
body.wk-poule-page .wk-auth-signup__head:not(.wk-signup-panel__head) {
    display: none !important;
}

/* Auth-signup.css dubbele padding op oude structuur neutraliseren */
body.wk-poule-page.wk-land-national section.wk-auth-signup.wk-signup-panel {
    padding: 1.25rem 1.15rem 1.15rem;
}

body.wk-poule-page.wk-land-national .wk-auth-block .wk-auth-google-card.wk-auth-google-card--pro.wk-signup-panel__google-wrap {
    margin: 0 !important;
    padding: 1rem 0.85rem 0.9rem !important;
    background: #f8fafc !important;
}
