/* Holland Vlaggen cookie bar — modern, AVG + GCM v2 */

:root {
    --hv-c-brand: #26358c;
    --hv-c-brand-dark: #1c2870;
    --hv-c-accent: #ee7202;
    --hv-c-accent-dark: #d66400;
    --hv-c-bg: #ffffff;
    --hv-c-text: #212529;
    --hv-c-muted: #6c757d;
    --hv-c-border: #dee2e6;
    --hv-c-surface: #f4f6fb;
}

.hv-cookie {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: 760px;
    margin: 0 auto;
    background: var(--hv-c-bg);
    color: var(--hv-c-text);
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,.18), 0 2px 6px rgba(0,0,0,.06);
    z-index: 2147483647;
    font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    transform: translateY(120%);
    opacity: 0;
    transition: transform .4s cubic-bezier(.2,.8,.2,1), opacity .3s ease;
    pointer-events: none;
}

.hv-cookie.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.hv-cookie__inner {
    padding: 20px 24px;
}

.hv-cookie__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--hv-c-brand);
    margin: 0 0 6px 0;
}

.hv-cookie__text {
    color: var(--hv-c-text);
    margin: 0 0 16px 0;
}
.hv-cookie__text p { margin: 0 0 8px 0; }
.hv-cookie__text p:last-child { margin-bottom: 0; }
.hv-cookie__text a { color: var(--hv-c-brand); text-decoration: underline; }

.hv-cookie__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.hv-cookie__btn {
    appearance: none;
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    line-height: 1;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
    font-family: inherit;
}

.hv-cookie__btn--link {
    background: transparent;
    color: var(--hv-c-muted);
    text-decoration: underline;
    padding: 10px 6px;
    border: 0;
}
.hv-cookie__btn--link:hover { color: var(--hv-c-brand); }

.hv-cookie__btn--reject {
    background: transparent;
    color: var(--hv-c-brand);
    border-color: var(--hv-c-brand);
}
.hv-cookie__btn--reject:hover {
    background: var(--hv-c-surface);
}

.hv-cookie__btn--accept {
    background: var(--hv-c-accent);
    color: #fff;
}
.hv-cookie__btn--accept:hover { background: var(--hv-c-accent-dark); }

.hv-cookie__btn--save {
    background: var(--hv-c-brand);
    color: #fff;
}
.hv-cookie__btn--save:hover { background: var(--hv-c-brand-dark); }

/* Customize panel */
.hv-cookie__panel {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--hv-c-border);
}

.hv-cookie__categories {
    list-style: none;
    margin: 0 0 16px 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
}
.hv-cookie__cat { margin: 0; }
.hv-cookie__cat-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--hv-c-brand);
    cursor: pointer;
}
.hv-cookie__cat-head input[disabled] { cursor: not-allowed; opacity: .6; }
.hv-cookie__cat-head input[type="checkbox"] {
    width: 18px; height: 18px;
    accent-color: var(--hv-c-brand);
    cursor: pointer;
}
.hv-cookie__cat-label { font-size: 14px; }
.hv-cookie__cat-desc {
    margin: 4px 0 0 26px;
    color: var(--hv-c-muted);
    font-size: 13px;
}

.hv-cookie__panel-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.hv-cookie__more {
    color: var(--hv-c-muted);
    text-decoration: underline;
    font-size: 13px;
}
.hv-cookie__more:hover { color: var(--hv-c-brand); }

/* Re-open trigger (floating button na eerste keuze) */
.hv-cookie-reopen {
    position: fixed;
    left: 16px;
    bottom: 16px;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 0;
    background: var(--hv-c-brand);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
    z-index: 2147483646;
    display: none;
}
.hv-cookie-reopen.is-visible { display: block; }
.hv-cookie-reopen:hover { background: var(--hv-c-brand-dark); }

/* Embed block placeholder (for YouTube/Maps zonder consent) */
.hv-embed-block {
    display: block;
    padding: 20px;
    background: var(--hv-c-surface);
    border: 1px dashed var(--hv-c-border);
    border-radius: 8px;
    text-align: center;
    color: var(--hv-c-muted);
    font-size: 14px;
}
.hv-embed-block button {
    margin-top: 10px;
    appearance: none;
    border: 0;
    background: var(--hv-c-brand);
    color: #fff;
    border-radius: 6px;
    padding: 8px 16px;
    cursor: pointer;
    font-weight: 600;
}

@media (max-width: 640px) {
    .hv-cookie { left: 8px; right: 8px; bottom: 8px; font-size: 13px; }
    .hv-cookie__inner { padding: 16px 18px; }
    .hv-cookie__title { font-size: 16px; }
    .hv-cookie__actions { justify-content: stretch; }
    .hv-cookie__btn { flex: 1 1 auto; text-align: center; }
    .hv-cookie__btn--link { flex-basis: 100%; order: 10; }
    .hv-cookie__categories { grid-template-columns: 1fr; }
}
