/* Cookie banner styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--idf-white);
    border-top: 2px solid var(--idf-black);
    padding: 1.5rem;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: none;
    animation: slideUp 0.3s ease-out;
}

.cookie-banner.show {
    display: block;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-banner-text {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cookie-banner-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.cookie-banner-message {
    flex: 1;
}

.cookie-banner-message h3 {
    font-family: var(--stack-title-b);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--idf-black);
}

.cookie-banner-message p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--idf-black);
    margin: 0;
}

.cookie-banner-message a {
    color: var(--idf-red);
    text-decoration: underline;
    font-weight: 600;
}

.cookie-banner-message a:hover {
    color: #B01000;
}

.cookie-banner-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-family: var(--stack-title-sb);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
}

.cookie-btn-accept {
    background-color: var(--idf-red);
    color: var(--idf-white);
}

.cookie-btn-accept:hover {
    background-color: #B01000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(215, 19, 2, 0.3);
}

.cookie-btn-refuse {
    background-color: transparent;
    color: var(--idf-black);
    border: 2px solid var(--idf-black);
}

.cookie-btn-refuse:hover {
    background-color: var(--idf-black);
    color: var(--idf-white);
}

.cookie-btn-settings {
    background-color: transparent;
    color: var(--idf-red);
    border: 2px solid var(--idf-red);
}

.cookie-btn-settings:hover {
    background-color: var(--idf-red);
    color: var(--idf-white);
}

/* Responsive */
@media (min-width: 768px) {
    .cookie-banner-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .cookie-banner-buttons {
        flex-shrink: 0;
    }
}

@media (max-width: 767px) {
    .cookie-banner {
        padding: 1rem;
    }

    .cookie-banner-buttons {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
        text-align: center;
    }
}