/* 
 * Style pour le système de gestion des cookies
 * Couleur principale : #29ab8f
 */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: none;
}

.cookie-consent.show {
    display: block;
    animation: slideUp 0.5s forwards;
}

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem;
}

.cookie-content h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.cookie-content p {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    color: #333;
    max-width: 800px;
}

.cookie-options {
    margin-bottom: 3rem;
}

.cookie-option {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.cookie-option:last-child {
    border-bottom: none;
}

.cookie-option input[type="checkbox"] {
    margin-right: 1.5rem;
    margin-top: 0.3rem;
    transform: scale(1.2);
}

.cookie-option label {
    font-weight: 600;
    font-size: 1.7rem;
    margin-right: 1.5rem;
    flex: 1 0 300px;
}

.cookie-option p {
    font-size: 1.5rem;
    color: #666;
    margin: 0.5rem 0 0 3rem;
    flex: 1 0 100%;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.cookie-buttons button {
    margin-right: 1.5rem;
    padding: 1.2rem 2.5rem;
    font-size: 1.6rem;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.cookie-buttons .btn-primary {
    background-color: #29ab8f;
    color: white;
    border: none;
}

.cookie-buttons .btn-primary:hover {
    background-color: #218a73;
}

.cookie-buttons .btn-secondary {
    background-color: #2c3e50;
    color: white;
    border: none;
}

.cookie-buttons .btn-secondary:hover {
    background-color: #1a2530;
}

.cookie-buttons .btn {
    background-color: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
}

.cookie-buttons .btn:hover {
    background-color: #e9ecef;
}

/* Responsive styles */
@media (max-width: 768px) {
    .cookie-content {
        padding: 2rem 1.5rem;
    }

    .cookie-option label {
        flex: 1 0 80%;
    }

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

    .cookie-buttons button {
        width: 100%;
        margin-right: 0;
        margin-bottom: 1rem;
    }
}
