/* WMNL Kidz - centrale opslaginstellingen */

.kidz-cookie-banner {
    position: fixed;
    inset: auto 1rem 1rem 1rem;
    z-index: 9999;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.kidz-cookie-banner[hidden],
.kidz-consent-modal[hidden] {
    display: none;
}

.kidz-cookie-content {
    width: min(760px, 100%);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    background: #fff;
    border: 2px solid #8F65E4;
    border-radius: 1.25rem;
    box-shadow: 0 18px 50px rgba(8, 20, 38, .22);
    pointer-events: auto;
}

.kidz-cookie-icon {
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    border-radius: 1rem;
    background: #EDE6FC;
    font-size: 1.6rem;
}

.kidz-cookie-text h2 {
    margin: 0 0 .25rem;
    font-size: 1.05rem;
}

.kidz-cookie-text p {
    margin: 0;
    line-height: 1.45;
}

.kidz-cookie-small {
    margin-top: .25rem !important;
    opacity: .7;
    font-size: .85rem;
}

.kidz-cookie-actions,
.kidz-consent-modal-actions {
    display: flex;
    gap: .5rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.kidz-cookie-actions button,
.kidz-consent-modal-actions button,
.kidz-consent-settings {
    border: 0;
    border-radius: 999px;
    padding: .7rem 1rem;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}

.kidz-cookie-actions button:hover,
.kidz-consent-modal-actions button:hover,
.kidz-consent-settings:hover {
    transform: translateY(-2px);
}

.kidz-cookie-decline {
    background: #f1f1f1;
    color: #081426;
}

.kidz-cookie-accept {
    background: #8F65E4;
    color: #fff;
    box-shadow: 0 5px 0 #7650C7;
}

.kidz-consent-settings {
    margin: .75rem auto 0;
    display: block;
    background: #EDE6FC;
    color: #7650C7;
}

.kidz-consent-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(8, 20, 38, .58);
}

.kidz-consent-modal-card {
    position: relative;
    width: min(520px, 100%);
    padding: 2rem;
    background: #fff;
    border: 2px solid #8F65E4;
    border-radius: 1.5rem;
    box-shadow: 0 25px 70px rgba(8, 20, 38, .3);
}

.kidz-consent-close {
    position: absolute;
    top: .75rem;
    right: .9rem;
    width: 2.2rem;
    height: 2.2rem;
    border: 0;
    border-radius: 50%;
    background: #EDE6FC;
    color: #7650C7;
    font-size: 1.5rem;
    cursor: pointer;
}

.kidz-consent-current {
    margin: 1rem 0;
    padding: .8rem 1rem;
    border-radius: 1rem;
    background: #f7f7f8;
}

@media (max-width: 680px) {
    .kidz-cookie-content {
        grid-template-columns: auto 1fr;
    }

    .kidz-cookie-actions {
        grid-column: 1 / -1;
        width: 100%;
    }

    .kidz-cookie-actions button {
        flex: 1;
    }

    .kidz-consent-modal-card {
        padding: 1.5rem;
    }
}
