/* ==========================================================================
   GLOBAL — Beukenootje WK Poule
   ========================================================================== */

body {
    background: #f0f4f8 !important;
}

/* Fix Breakdance section-container max-width */
.section-container {
    max-width: 100% !important;
    padding: 0 !important;
}

.bde-section__inner,
.bde-section > .section-container {
    max-width: 100% !important;
    padding: 0 !important;
}

/* Dashboard layout */
.wk-dashboard-wrapper {
    display: flex !important;
    gap: 24px !important;
    align-items: flex-start !important;
    padding: 24px 28px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.wk-main-content {
    flex: 1 !important;
    min-width: 0 !important;
}

.wk-right-sidebar {
    width: 300px !important;
    min-width: 300px !important;
    flex-shrink: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}

/* Kaarten */
.wk-rc,
.wk-uc,
.wk-gc {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
    margin-bottom: 16px;
}

/* Responsive */
@media (max-width: 900px) {
    .wk-dashboard-wrapper {
        flex-direction: column !important;
        padding: 16px !important;
    }

    .wk-right-sidebar {
        width: 100% !important;
        min-width: 0 !important;
    }
}
/* Fix voor sidebar + section breedte */
body.has-wk-sidebar .section-container {
    max-width: calc(100vw - 220px) !important;
    width: calc(100vw - 220px) !important;
}

body.has-wk-sidebar .bde-section,
body.has-wk-sidebar .bde-section > .section-container {
    max-width: calc(100vw - 220px) !important;
    width: calc(100vw - 220px) !important;
}