/**
 * Styles pour la bannière de consentement aux cookies
 * 
 * DESIGN :
 * - Position fixe en bas de page
 * - Fond sombre avec texte clair
 * - Boutons d'action clairs
 * - Responsive (adapté mobile)
 * 
 * @package PicteosTheme
 * @version 1.0.0
 */

/* Container principal de la bannière */
.picteos-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2b2b2b;
    color: #ffffff;
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Contenu de la bannière */
.picteos-cookie-banner__content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
}

/* Section texte */
.picteos-cookie-banner__text {
    flex: 1;
}

.picteos-cookie-banner__text h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.picteos-cookie-banner__text p {
    margin: 0 0 8px 0;
    font-size: 14px;
    line-height: 1.5;
    color: #ecf0f1;
}

.picteos-cookie-banner__info {
    margin-top: 10px !important;
}

.picteos-cookie-banner__info small {
    color: #bdc3c7;
    font-style: italic;
}

/* Section boutons */
.picteos-cookie-banner__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Boutons */
.picteos-cookie-banner__button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.picteos-cookie-banner__button--accept {
    background-color: #27ae60;
    color: #ffffff;
}

.picteos-cookie-banner__button--accept:hover {
    background-color: #2ecc71;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(39, 174, 96, 0.3);
}

.picteos-cookie-banner__button--reject {
    background-color: #e3e3e3;
    color: #333333;
}

.picteos-cookie-banner__button--reject:hover {
    background-color: #d0d0d0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive - Mobile */
@media (min-width: 768px) {
    .picteos-cookie-banner__content {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
    }
    
    .picteos-cookie-banner__actions {
        flex-shrink: 0;
        flex-wrap: nowrap;
    }
    
    .picteos-cookie-banner__text h3 {
        font-size: 20px;
    }
    
    .picteos-cookie-banner__text p {
        font-size: 15px;
    }
}

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

.picteos-cookie-banner {
    animation: slideUp 0.5s ease-out;
}
