/* Cookie Consent Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(11, 9, 98, 0.95) 0%, rgba(74, 70, 116, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-top: 2px solid var(--mauve);
    padding: 20px;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}

.cookie-banner.show {
    transform: translateY(0);
}

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

.cookie-banner-content {
    flex: 1;
    min-width: 300px;
}

.cookie-banner-title {
    color: var(--mauve);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cookie-banner-title::before {
    content: "🍪";
    font-size: 20px;
}

.cookie-banner-text {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 0;
}

.cookie-banner-text a {
    color: var(--mauve);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.cookie-banner-text a:hover {
    color: #ffffff;
}

.cookie-banner-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

/* Boutons de la bannière basés sur les styles .readon existants */
.cookie-btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    min-width: 120px;
    text-align: center;
}

/* Bouton Accepter tout - Style principal avec gradient mauve */
.cookie-btn-accept {
    background: linear-gradient(300deg, var(--mauve) 0%, var(--mauve3) 100%);
    color: var(--bleu);
    border: 2px solid var(--mauve);
}

.cookie-btn-accept:hover {
    background: linear-gradient(300deg, var(--mauve3) 0%, var(--mauve) 100%);
    color: var(--bleu);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(193, 187, 255, 0.3);
}

/* Bouton Refuser - Style outline */
.cookie-btn-reject {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.cookie-btn-reject:hover {
    background: #ffffff;
    color: var(--bleu);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* Styles spécifiques pour les boutons dans la modal */
.cookie-modal .cookie-btn-reject {
    background: transparent;
    color: var(--bleu);
    border: 2px solid var(--bleu);
}

.cookie-modal .cookie-btn-reject:hover {
    background: var(--bleu);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(11, 9, 98, 0.2);
}

.cookie-modal .cookie-btn-accept {
    background: linear-gradient(300deg, var(--mauve) 0%, var(--mauve3) 100%);
    color: #ffffff;
    border: 2px solid var(--mauve);
}

.cookie-modal .cookie-btn-accept:hover {
    background: linear-gradient(300deg, var(--mauve3) 0%, var(--mauve) 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(193, 187, 255, 0.3);
}

/* Bouton Personnaliser - Style secondaire */
.cookie-btn-customize {
    background: transparent;
    color: var(--mauve);
    border: 2px solid var(--mauve);
}

.cookie-btn-customize:hover {
    background: var(--mauve);
    color: var(--bleu);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(193, 187, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 15px;
    }
    
    .cookie-banner-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-banner-content {
        min-width: auto;
    }
    
    .cookie-banner-title {
        font-size: 16px;
        justify-content: center;
    }
    
    .cookie-banner-text {
        font-size: 13px;
    }
    
    .cookie-banner-actions {
        justify-content: center;
        width: 100%;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 100px;
        padding: 10px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .cookie-banner-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .cookie-btn {
        width: 100%;
        min-width: auto;
    }
}

/* Animation d'entrée */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-banner.animate-in {
    animation: slideUp 0.4s ease-out;
}

/* Effet de fermeture */
@keyframes slideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

.cookie-banner.animate-out {
    animation: slideDown 0.4s ease-in;
}