/**
 * Styles pour la bannière de consentement aux cookies
 * Design moderne et responsive compatible avec le style de TrackBot
 */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(47, 49, 54, 0.95);
    color: white;
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s ease, opacity 0.5s ease;
    font-family: 'Poppins', sans-serif;
}

.cookie-banner.hidden {
    transform: translateY(100%);
    opacity: 0;
}

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

.cookie-text {
    flex: 1;
    padding-right: 20px;
    min-width: 300px;
}

.cookie-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
}

.cookie-description {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-actions {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.cookie-button {
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
}

.cookie-button:hover {
    transform: translateY(-2px);
}

.accept-cookies {
    background-color: #5865F2;
    color: white;
}

.accept-cookies:hover {
    background-color: #4752c4;
}

.decline-cookies {
    background-color: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.decline-cookies:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.cookie-policy-link {
    color: #5865F2;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.3s ease;
}

.cookie-policy-link:hover {
    color: #4752c4;
}

/* Styles pour les appareils mobiles */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-text {
        padding-right: 0;
        margin-bottom: 15px;
    }
    
    .cookie-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .cookie-button {
        flex: 1;
        text-align: center;
    }
}
