/* ===================================
   BANDEAU DE COOKIES
   =================================== */

.pcb-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2c3e50;
    color: #ffffff;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 999999;
    animation: slideUp 0.3s ease-out;
}

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

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

.pcb-cookie-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    flex: 1;
}

.pcb-cgu-link {
    color: #3498db;
    text-decoration: underline;
    margin-left: 5px;
}

.pcb-cgu-link:hover {
    color: #5dade2;
}

.pcb-close-cookie {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    line-height: 1;
}

.pcb-close-cookie:hover {
    color: #e74c3c;
    transform: scale(1.1);
}

.pcb-close-cookie span {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .pcb-cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .pcb-cookie-banner {
        padding: 15px;
    }
    
    .pcb-cookie-content p {
        font-size: 13px;
    }
    
    .pcb-close-cookie {
        margin-top: 10px;
    }
}


/* ===================================
   POPUP PROMOTION
   =================================== */

.pcb-promo-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.pcb-promo-content {
    position: relative;
    max-width: 800px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 40px;
    max-height: 90vh;
    overflow-y: auto;
    animation: zoomIn 0.4s ease-out;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.pcb-close-promo {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: #ffffff;
    font-size: 32px;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
    line-height: 1;
}

.pcb-close-promo:hover {
    background: #e74c3c;
    transform: scale(1.1) rotate(90deg);
}

.pcb-close-promo span {
    display: block;
}

.pcb-promo-inner {
    text-align: center;
}

.pcb-promo-image {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 20px;
}

.pcb-promo-text {
    font-size: 16px;
    line-height: 1.6;
}

.pcb-promo-text h1,
.pcb-promo-text h2,
.pcb-promo-text h3 {
    margin-top: 0;
}

.pcb-promo-text p:last-child {
    margin-bottom: 0;
}

/* Responsive pour la promo */
@media (max-width: 768px) {
    .pcb-promo-content {
        padding: 30px 20px;
        max-height: 85vh;
    }
    
    .pcb-promo-text {
        font-size: 14px;
    }
    
    .pcb-close-promo {
        width: 35px;
        height: 35px;
        font-size: 28px;
        top: 10px;
        right: 10px;
    }
}

/* Scroll personnalisé pour la promo */
.pcb-promo-content::-webkit-scrollbar {
    width: 8px;
}

.pcb-promo-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.pcb-promo-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.pcb-promo-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}
