/**
 * Copyright ibl.be
 *
 * NOTICE OF LICENSE
 *
 * This file is not open source! Each license that you purchased is only available for 1 website only.
 * If you want to use this file on more websites (or projects), you need to purchase additional licenses.
 * You are not allowed to redistribute, resell, lease, license, sub-license or offer our resources to any third party.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future.
 *
 * @author ibl.be
 * @copyright ibl.be
 * @license Valid for 1 website (or project) for each purchase of license
*/

.ibl_cd_block {
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.ibl_cd_title h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    font-family: 'Arial', sans-serif;
}

.ibl_cd_dates {
    font-size: 18px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.ibl_cd_dates .cd-date-debut,
.ibl_cd_dates .cd-date-fin {
    font-weight: 600;
}

.ibl_cd_dates .cd-date-separator {
    margin: 0 15px;
}

.cd-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.cd-time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
    padding: 10px 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.cd-time-number {
    font-size: 36px;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    line-height: 1.2;
    min-width: 50px;
    text-align: center;
    transition: all 0.3s ease;
}

.cd-time-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    opacity: 0.8;
}

.cd-time-separator {
    font-size: 30px;
    font-weight: bold;
    color: inherit;
    opacity: 0.5;
    padding: 0 5px;
}

.ibl_cd_resume_message p {
    font-size: 18px;
    font-weight: 600;
    margin-top: 15px;
    margin-bottom: 0;
}

.cd-expired {
    font-size: 28px;
    font-weight: bold;
    padding: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .ibl_cd_block {
        padding: 20px 15px;
        margin: 15px 10px;
    }
    
    .ibl_cd_title h2 {
        font-size: 20px;
    }
    
    .ibl_cd_dates {
        font-size: 16px;
    }
    
    .cd-time-block {
        min-width: 55px;
        padding: 8px 10px;
    }
    
    .cd-time-number {
        font-size: 28px;
        min-width: 40px;
    }
    
    .cd-time-label {
        font-size: 10px;
    }
    
    .cd-time-separator {
        font-size: 24px;
        padding: 0 2px;
    }
    
    .ibl_cd_resume_message p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .cd-timer {
        gap: 2px;
    }
    
    .cd-time-block {
        min-width: 45px;
        padding: 5px 8px;
    }
    
    .cd-time-number {
        font-size: 22px;
        min-width: 30px;
    }
    
    .cd-time-label {
        font-size: 8px;
    }
}

/* Animation pour les chiffres */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.cd-time-number {
    animation: pulse 2s ease-in-out infinite;
}

.cd-time-number:last-child {
    animation-delay: 0.2s;
}