/* Basisstijlen voor de cookie-banner en modal */
.cookie-banner,
.cookie-modal {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgb(248, 249, 250, 0.7) !important;
    color: #333;
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    font-family: sans-serif;
}

.cookie-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    padding: 30px;

    max-height: 90vh;
    overflow-y: auto;
}

.cookie-banner__content,
.cookie-modal__content {
    max-width: 800px;
    margin: 0 auto;
}

.cookie-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 10px;
    font-size: 16px;
}

.cookie-btn--secondary {
    background-color: #6c757d;
}

.cookie-btn:hover {
    opacity: 0.9;
}

.cookie-category {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

.cookie-category__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-category__header h3 {
    margin: 0;
}

input[type="checkbox"]+label {
    position: relative;
    width: 50px;
    height: 26px;
    background-color: #ccc;
    border-radius: 13px;
    cursor: pointer;
    display: inline-block;
    transition: background-color 0.3s;
}

input[type="checkbox"]+label::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s;
}

input[type="checkbox"]:checked+label {
    background-color: #007bff;
}

input[type="checkbox"]:checked+label::after {
    transform: translateX(24px);
}

input[type="checkbox"]:disabled+label {
    background-color: #28a745;
    cursor: not-allowed;
}

.form-check-input.green:focus {
    border-color: #28a745;
    outline: 0;
    box-shadow: 0 0 0 0.25 margin rgba(40, 167, 69, 0.25);
    /* Een zachte gloed in dezelfde kleur */
}

/* 3. Kleur van het schuifje wanneer deze UIT staat (optioneel) */
.form-check-input.green {
    background-color: #28a745;
    border-color: #adb5bd;
}

.btn {
    font-size: 0.8rem;
}

.open-settings-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    background-color: #333;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;

}

.cookie-btn--cancel {
    background-color: transparent;
    color: #6c757d;
    border: 1px solid #6c757d;

}

.cookie-btn--cancel:hover {
    background-color: #6c757d;
    color: white;
}