/* Mondiaal Cookie Consent - styles */
.mcc-banner,
.mcc-modal,
.mcc-reopen {
    box-sizing: border-box;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
}
.mcc-banner *,
.mcc-modal * { box-sizing: border-box; }

/* ---------- Banner (onderkant, volledige breedte) ---------- */
.mcc-banner {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    background: #ffffff;
    border-top: 4px solid #e30613; /* FNV rood */
    box-shadow: 0 -4px 24px rgba(0,0,0,0.12);
    z-index: 999999;
    padding: 20px;
    animation: mcc-slide-up .3s ease-out;
}
@keyframes mcc-slide-up {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
}
.mcc-banner__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.mcc-banner__text {
    flex: 1 1 400px;
    min-width: 0;
}
.mcc-banner__text strong { display: block; margin-bottom: 4px; font-size: 15px; }
.mcc-banner__text p { margin: 0; color: #333; }
.mcc-banner__text a { color: #e30613; text-decoration: underline; }
.mcc-banner__buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.mcc-btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background .15s, color .15s, border-color .15s;
    font-family: inherit;
}
.mcc-btn--primary {
    background: #e30613;
    color: #fff;
    border-color: #e30613;
}
.mcc-btn--primary:hover { background: #b8050f; border-color: #b8050f; }
.mcc-btn--ghost {
    background: transparent;
    color: #333;
    border-color: #ccc;
}
.mcc-btn--ghost:hover { background: #f4f4f4; border-color: #999; }

/* ---------- Modal ---------- */
.mcc-modal {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.mcc-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}
.mcc-modal__dialog {
    position: relative;
    background: #fff;
    border-radius: 6px;
    max-width: 560px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 28px;
    box-shadow: 0 12px 48px rgba(0,0,0,0.25);
}
.mcc-modal__dialog h2 {
    margin: 0 0 12px;
    font-size: 22px;
    color: #1a1a1a;
}
.mcc-modal__dialog > p { margin: 0 0 20px; color: #555; }
.mcc-modal__close {
    position: absolute;
    top: 12px; right: 14px;
    background: transparent;
    border: 0;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #888;
    padding: 4px 8px;
}
.mcc-modal__close:hover { color: #000; }
.mcc-modal__buttons {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 24px;
    flex-wrap: wrap;
}

/* ---------- Categories ---------- */
.mcc-category {
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 14px 16px;
    margin-bottom: 12px;
}
.mcc-category__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    margin-bottom: 4px;
}
.mcc-category__title {
    font-weight: 600;
    font-size: 15px;
    color: #1a1a1a;
}
.mcc-category p {
    margin: 0;
    color: #666;
    font-size: 13px;
}

/* ---------- Toggle switch ---------- */
.mcc-toggle {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 24px;
    flex-shrink: 0;
}
.mcc-toggle input { opacity: 0; width: 0; height: 0; }
.mcc-toggle__slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #ccc;
    border-radius: 24px;
    transition: background .2s;
}
.mcc-toggle__slider::before {
    content: '';
    position: absolute;
    width: 18px; height: 18px;
    left: 3px; top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform .2s;
}
.mcc-toggle input:checked + .mcc-toggle__slider { background: #e30613; }
.mcc-toggle input:checked + .mcc-toggle__slider::before { transform: translateX(18px); }
.mcc-toggle--locked .mcc-toggle__slider { background: #999; cursor: not-allowed; }
.mcc-toggle--locked .mcc-toggle__slider::before { background: #f4f4f4; }

/* ---------- Reopen knop ---------- */
.mcc-reopen {
    position: fixed;
    bottom: 20px; left: 20px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    cursor: pointer;
    font-size: 22px;
    z-index: 999998;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .15s;
}
.mcc-reopen:hover { transform: scale(1.08); }

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
    .mcc-banner { padding: 16px; }
    .mcc-banner__inner { gap: 12px; }
    .mcc-banner__buttons { width: 100%; }
    .mcc-banner__buttons .mcc-btn { flex: 1 1 auto; }
    .mcc-modal__dialog { padding: 20px; }
    .mcc-modal__buttons .mcc-btn { flex: 1 1 auto; }
}
