/* Cookietoestemming (banner + instellingen), gedeeld door de Classic- en Modern-layouts.
   Bewust zonder Bootstrap-afhankelijkheid: Classic gebruikt Bootstrap 3, Modern Bootstrap 5.
   "Alles weigeren" en "Alles aanvaarden" hebben dezelfde stijl (geen sturing, zie de cookie-checklist van de GBA). */

.pmc,
.pmc *,
.pmc *::before,
.pmc *::after {
    box-sizing: border-box;
}

.pmc {
    font-family: inherit;
    font-size: 15px;
    line-height: 1.5;
    color: #1e2f33;
}

.pmc-banner {
    position: fixed;
    right: 16px;
    bottom: 16px;
    left: 16px;
    z-index: 10000;
    max-width: 64rem;
    margin: 0 auto;
    padding: 20px 24px;
    background: #fff;
    border: 1px solid #dde4e6;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(15, 35, 40, .18);
}

.pmc-banner[hidden] {
    display: none;
}

.pmc-title {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    color: #1e2f33;
}

.pmc-text {
    margin: 0 0 14px;
}

.pmc a {
    color: #00797c;
    font-weight: 600;
    text-decoration: underline;
}

.pmc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pmc .pmc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 18px;
    margin: 0;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    text-transform: none;
    letter-spacing: normal;
    cursor: pointer;
    background: #00797c;
    border: 1px solid #00797c;
    border-radius: 10px;
}

.pmc .pmc-btn:hover {
    background: #006a6d;
    border-color: #006a6d;
}

.pmc .pmc-btn:focus-visible,
.pmc a:focus-visible,
.pmc input:focus-visible {
    outline: 3px solid #8fd3d4;
    outline-offset: 2px;
}

/* Instellingen: omlijnd (secundair), geen keuze voor of tegen. */
.pmc .pmc-btn-secondary {
    color: #00797c;
    background: #fff;
}

.pmc .pmc-btn-secondary:hover {
    color: #006a6d;
    background: #e6f6f6;
}

@media (max-width: 575px) {
    .pmc-banner {
        right: 8px;
        bottom: 8px;
        left: 8px;
        padding: 16px;
    }

    .pmc .pmc-btn {
        flex: 1 1 100%;
    }
}

/* ---------- Instellingen (tweede laag) ---------- */

.pmc-dialog {
    width: min(36rem, calc(100vw - 24px));
    max-height: calc(100vh - 24px);
    padding: 0;
    color: #1e2f33;
    border: 0;
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(15, 35, 40, .28);
}

.pmc-dialog::backdrop {
    background: rgba(15, 35, 40, .45);
}

.pmc-dialog-body {
    padding: 22px 24px;
}

.pmc-dialog-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.pmc .pmc-close {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    padding: 0;
    font-size: 22px;
    line-height: 1;
    color: #4a6066;
    cursor: pointer;
    background: transparent;
    border: 0;
    border-radius: 8px;
}

.pmc .pmc-close:hover {
    background: #f1f4f5;
}

.pmc-category {
    padding: 14px 0;
    border-top: 1px solid #e6ebec;
}

.pmc-category:last-of-type {
    border-bottom: 1px solid #e6ebec;
    margin-bottom: 14px;
}

.pmc-category-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
}

.pmc-category-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
}

.pmc-category p {
    margin: 0;
    color: #4a6066;
    font-size: 14px;
}

.pmc-always {
    color: #00797c;
    font-size: 13px;
    font-weight: 700;
}

/* Schakelaar (checkbox) */
.pmc .pmc-switch {
    position: relative;
    flex-shrink: 0;
    width: 44px;
    height: 24px;
    margin: 0;
    cursor: pointer;
    appearance: none;
    background: #cfd8da;
    border: 0;
    border-radius: 999px;
    transition: background .15s ease;
}

.pmc .pmc-switch::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: transform .15s ease;
}

.pmc .pmc-switch:checked {
    background: #00797c;
}

.pmc .pmc-switch:checked::after {
    transform: translateX(20px);
}

/* Footerlinks en de knop op de pagina met het cookiebeleid */
.pm-cookie-settings-link {
    padding: 0;
    font: inherit;
    color: #00797c;
    text-decoration: underline;
    cursor: pointer;
    background: none;
    border: 0;
}
