/* assets/styles/cookie_banner.css */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #F6EFE2; /* Lichtere, warmere achtergrond */
    color: #333; /* Donkerdere tekstkleur */
    padding: 20px 25px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999; /* Zorg ervoor dat het bovenaan andere content ligt */
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.cookie-banner p {
    margin: 0;
    font-size: 0.95em;
}

.cookie-banner a {
    color: #007bff; /* Een standaard blauwe linkkleur */
    text-decoration: underline;
}

.cookie-policy-link {
    margin-top: 10px;
    font-size: 0.9em;
}

.cookie-categories {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-category-item {
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.cookie-category-item label {
    display: flex;
    align-items: center;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 5px;
}

.cookie-category-item label input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2);
    cursor: pointer;
}

.cookie-category-item .info {
    font-weight: normal;
    font-size: 0.85em;
    color: #666;
    margin-left: 8px;
}

.cookie-category-item .description {
    font-size: 0.85em;
    color: #555;
    margin-top: 5px;
    padding-left: 30px; /* Om uit te lijnen met de checkbox */
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end; /* Knoppen aan de rechterkant */
}

.cookie-buttons .btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.cookie-buttons .btn:hover {
    transform: translateY(-1px);
}

.cookie-buttons .accept-btn {
    background-color: #009432; /* Groen */
    color: white;
}

.cookie-buttons .accept-btn:hover {
    background-color: #007c2a;
}

.cookie-buttons .decline-btn {
    background-color: #EA2027; /* Rood */
    color: white;
}

.cookie-buttons .decline-btn:hover {
    background-color: #c91b20;
}

.cookie-buttons .close-btn {
    background-color: #6c757d; /* Grijs */
    color: white;
}

.cookie-buttons .close-btn:hover {
    background-color: #5a6268;
}

/* Responsiviteit */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 15px;
    }
    .cookie-buttons {
        justify-content: center;
    }
    .cookie-buttons .btn {
        width: 100%;
    }
}
