/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 500px; /* Ne pas prendre toute la largeur sur grand écran */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 9999;
    display: none; /* Caché par défaut, affiché par JS */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    animation: slideIn 0.5s ease-out;
}

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

.cookie-content {
    margin-bottom: 15px;
}

.cookie-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: #111827;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cookie-text {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.5;
}

.cookie-text a {
    color: #4f46e5;
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.cookie-btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.cookie-btn-accept {
    background-color: #4f46e5;
    color: white;
}

.cookie-btn-accept:hover {
    background-color: #4338ca;
}

.cookie-btn-refuse {
    background-color: transparent;
    color: #4b5563;
    border: 1px solid #d1d5db;
}

.cookie-btn-refuse:hover {
    background-color: #f3f4f6;
    color: #1f2937;
}

@media (max-width: 600px) {
    .cookie-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
    
    .cookie-actions {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
        text-align: center;
    }
}
