/**
 * Styles pour la bannière de consentement des cookies
 */

/* Bannière de consentement */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(30, 6, 63, 0.97), rgba(58, 12, 163, 0.97));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: bottom 0.5s ease-in-out;
    border-top: 2px solid var(--color-accent-primary);
}

.cookie-banner.active {
    bottom: 0;
}

.cookie-banner.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.cookie-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-text {
    flex: 1 1 60%;
    min-width: 280px;
}

.cookie-text h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--color-accent-primary);
}

.cookie-text p {
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.cookie-actions {
    flex: 1 1 auto;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 150px;
}

.cookie-btn svg {
    width: 18px;
    height: 18px;
}

.cookie-accept {
    background: linear-gradient(90deg, var(--color-accent-primary), var(--color-accent-secondary));
    color: var(--color-bg-main);
}

.cookie-accept:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 240, 255, 0.3);
}

.cookie-settings {
    background: transparent;
    border: 1px solid var(--color-accent-primary);
    color: var(--color-text-heading);
}

.cookie-settings:hover {
    background-color: rgba(0, 240, 255, 0.1);
}

/* Animation */
@keyframes slideIn {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes slideOut {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(100%);
    }
}

/* Styles pour la version mobile */
@media screen and (max-width: 768px) {
    .cookie-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-text {
        text-align: center;
    }
} 