*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Poppins;
    background: var(--primary-bg);
    color: #000000;
}

.app-layout {
    display: flex;
    min-height: 100vh;
}

.app-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-left: 70px;
    min-width: 0;
    transition: margin-left 0.25s ease;
}

.app-body--expanded {
    margin-left: 260px;
}

.main-content {
    padding: 20px;
    flex: 1;
}

h2{
font-family: Poppins;
font-size: 25px;
font-style: normal;
font-weight: 600;
line-height: 150%; /* 48px */
margin: 0;
}

h3{
    color: #000;
font-family: Poppins;
font-size: 20px;
font-style: normal;
font-weight: 600;
line-height: 150%; /* 30px */
letter-spacing: -0.4px;
}

span{
color: var(--lable);
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 150%; /* 21px */
letter-spacing: -0.28px;
}

/* ===== Page canvas ===== */

/*
 * Voeg .page-section toe aan elk blok in een page-canvas dat
 * een scheidingslijn onder zich moet hebben (behalve het laatste blok).
 * Gebruik dit consequent op alle nieuwe pagina's.
 */
.page-section {
    border-bottom: 1px solid #F0F0F0;
    padding-bottom: 16px;
    flex-shrink: 0;
}

.page-canvas {
    border-radius: 30px;
    border: 1px solid #F0F0F0;
    background: #FFF;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: calc(100vh - 64px - 40px); /* 64px header + 20px padding top + 20px padding bottom */
    overflow-y: auto;
}

/* ── Gedeelde paginacomponenten ─────────────────────────────────────────── */

/* Aantal-kop (bijv. "22 sessies", "214 studenten") */
.page-count {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    flex-shrink: 0;
    line-height: 1.2;
}

/* Toolbar: zoekbalk links, knoppen rechts */
.page-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-shrink: 0;
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}