:root {
    --primary-color: #07304b;
    --text-color: #333;
    --background-color: #fff;
    --border-color: #e0e0e0;
    --modal-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition-speed: 0.3s;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    line-height: 1.6;
    color: var(--text-color);
}

body.cookie-overlay-visible {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

.demo-content {
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.cookie-consent {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    z-index: 9999;
    padding: 1rem;
    align-items: center;
    justify-content: center;
}

.cookie-consent.visible {
    display: flex;
}

.cookie-consent__modal {
    background-color: var(--background-color);
    border-radius: 8px;
    box-shadow: var(--modal-shadow);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-consent__header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-consent__header h2 {
    font-size: 1.5rem;
    margin: 0;
}

.cookie-consent__close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    color: #666;
    transition: color var(--transition-speed);
}

.cookie-consent__close:hover {
    color: var(--text-color);
}

.cookie-consent__tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    padding: 0 1.5rem;
}

.tab-button {
    padding: 1rem 1.5rem;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    border-bottom: 2px solid transparent;
    transition: all var(--transition-speed);
}

.tab-button.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.cookie-consent__content {
    padding: 1.5rem;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
}

.cookie-category__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.cookie-category__header h3 {
    margin: 0;
    font-size: 1.1rem;
}

/* Switch styling */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: var(--transition-speed);
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: var(--transition-speed);
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--primary-color);
}

input:disabled+.slider {
    opacity: 0.5;
    cursor: not-allowed;
}

input:checked+.slider:before {
    transform: translateX(26px);
}

.cookie-consent__footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.cookie-consent__button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all var(--transition-speed);
}

.cookie-consent__button--accept {
    background-color: var(--primary-color);
    color: white;
}

.cookie-consent__button--accept:hover {
    background-color: #051f31;
}

.cookie-consent__button--reject {
    background-color: #f5f5f5;
    color: var(--text-color);
}

.cookie-consent__button--reject:hover {
    background-color: #e0e0e0;
}

.cookie-consent__button--save {
    background-color: #4CAF50;
    color: white;
}

.cookie-consent__button--save:hover {
    background-color: #388E3C;
}

/* Cookie Banner Styles */
.cookie-banner {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
}

.cookie-banner.visible {
    display: flex;

}

.cookie-banner__overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
}

.cookie-banner__container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease-out;
}

.cookie-banner__content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 90%;
    animation: scaleIn 0.3s ease-out;
    text-align: center;
}

.cookie-banner__icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(-10px);
    }
}

.cookie-banner__content h2 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: #2c3e50;
    font-weight: 600;
}

.cookie-banner__content p {
    color: #5a6c7d;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.cookie-banner__links {
    font-size: 0.9rem;
    text-align: left;
    margin-top: 1rem;
}

.cookie-banner__links a,
.cookie-consent__content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-speed);
}

.cookie-banner__links a:hover,
.cookie-consent__content a:hover {
    color: #051f31;
    text-decoration: underline;
}

.cookie-banner__features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    text-align: left;
}

.cookie-banner__features li {
    color: #5a6c7d;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cookie-banner__features li i {
    color: #2ecc71;
    font-size: 1.2rem;
}

.cookie-banner__buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.cookie-banner__button {
    flex: 1;
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.cookie-banner__button i {
    font-size: 1.2rem;
}

.cookie-banner__button {
    background: #f8f9fa;
    color: #2c3e50;
    border: 2px solid #e9ecef;
}

.cookie-banner__button:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.cookie-banner__button--accept {
    background: var(--primary-color);
    color: white;
    border: none;
}

.cookie-banner__button--accept:hover {
    background: #051f31;
    box-shadow: 0 4px 15px rgba(7, 48, 75, 0.3);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .cookie-banner__content {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }

    .cookie-banner__icon {
        font-size: 3rem;
    }

    .cookie-banner__content h2 {
        font-size: 1.75rem;
    }

    .cookie-banner__buttons {
        flex-direction: column;
    }

    .cookie-banner__button {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .cookie-consent__modal {
        width: 85%;
        /* Even narrower modal */
        max-width: 85%;
        max-height: 60vh;
        /* Significantly reduced height */
        margin: 0 auto;
        border-radius: 6px;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .cookie-consent__header {
        padding: 0.4rem;
        text-align: center;
        position: relative;
        border-bottom: 1px solid var(--border-color);
    }

    .cookie-consent__header h2 {
        font-size: 0.9rem;
        margin: 0;
    }

    .cookie-consent__close {
        position: absolute;
        right: 0.3rem;
        top: 50%;
        transform: translateY(-50%);
        font-size: 0.9rem;
        background: none;
        border: none;
        cursor: pointer;
    }

    .cookie-consent__tabs {
        display: none;
        /* Hide tabs to save space */
    }

    .cookie-consent__content {
        padding: 0.4rem;
        overflow-y: auto;
        flex-grow: 1;
        font-size: 0.7rem;
    }

    .cookie-category {
        margin-bottom: 0.3rem;
        padding: 0.3rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .cookie-category__header {
        display: flex;
        align-items: center;
        gap: 0.3rem;
    }

    .cookie-category__header h3 {
        font-size: 0.8rem;
        margin: 0;
    }

    .cookie-category p {
        display: none;
        /* Hide descriptions to save space */
    }

    .switch {
        width: 25px;
        height: 14px;
    }

    .slider:before {
        height: 10px;
        width: 10px;
    }

    input:checked+.slider:before {
        transform: translateX(11px);
    }

    .cookie-consent__footer {
        padding: 0.4rem;
        display: flex;
        flex-direction: column;
        gap: 0.2rem;
        border-top: 1px solid var(--border-color);
    }

    .cookie-consent__button {
        width: 100%;
        padding: 0.3rem;
        font-size: 0.7rem;
        margin: 0;
    }

    .cookie-banner__icon {
        font-size: 1.5rem;
        /* Significantly reduce icon size */
        color: var(--primary-color);
        margin-bottom: 0.5rem;
        /* Minimal bottom margin */
        animation: none;
        /* Remove bounce animation */
    }

    .cookie-banner__content {
        padding: 1rem;
        /* Reduce padding */
        max-width: 400px;
        /* Limit max width */
        width: 90%;
        /* Responsive width */
    }

    .cookie-banner__content h2 {
        font-size: 1.2rem;
        /* Smaller heading */
        margin-bottom: 0.5rem;
    }

    .cookie-banner__content p {
        font-size: 0.9rem;
        /* Smaller text */
        margin-bottom: 0.75rem;
    }

    .cookie-banner__features {
        margin-bottom: 0.75rem;
    }

    .cookie-banner__features li {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }

    .cookie-banner__features li i {
        font-size: 1rem;
        margin-right: 0.3rem;
    }

    .cookie-banner__buttons {
        gap: 0.5rem;
        margin-top: 0.75rem;
    }

    .cookie-banner__button {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}

/* Nieuwe stijl voor de cookie-instellingen knop */
.cookie-settings-button {
    position: fixed;
    bottom: 20px;
    /* Afstand van de onderkant */
    left: 20px;
    /* Afstand van de linkerkant */
    background-color: var(--primary-color);
    color: white;
    padding: 0.2rem 0.8rem;
    border: 1px solid white;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    font-size: 25px;
    transition: background-color var(--transition-speed);
    z-index: 10000;
    /* Zorg ervoor dat de knop boven andere elementen staat */
}

.cookie-settings-button:hover {
    background-color: #051f31;
    /* Donkerder bij hover */
}