/* Bannière de consentement de cookies */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    padding: 20px;
    box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: none;
    animation: slideUp 0.3s ease-out;
}

.cookie-consent-banner.show {
    display: block;
}

.cookie-consent-banner.hide {
    animation: slideDown 0.3s ease-out forwards;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

.cookie-consent-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-consent-text {
    flex: 1;
}

.cookie-consent-text h6 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.cookie-consent-text p {
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-consent-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-consent-buttons .btn {
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-consent-banner {
        padding: 15px;
    }

    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .cookie-consent-text h6 {
        font-size: 0.95rem;
    }

    .cookie-consent-text p {
        font-size: 0.85rem;
    }

    .cookie-consent-buttons {
        width: 100%;
    }

    .cookie-consent-buttons .btn {
        flex: 1;
        font-size: 0.9rem;
    }

    .cookie-consent-buttons .btn-link {
        flex: none;
    }
}

@media (max-width: 576px) {
    .cookie-consent-banner {
        padding: 12px;
    }

    .cookie-consent-buttons {
        flex-wrap: wrap;
    }

    .cookie-consent-buttons .btn {
        font-size: 0.85rem;
        padding: 0.4rem 0.75rem;
    }
}
