/* ==========================================================================
   Zonart Campagne Quota — Calendrier (compte à rebours + messages)
   ========================================================================== */

/* Notice block (shared pre/post) */
.zcq-notice {
    margin: 1.5em 0;
    padding: 1.5em;
    border-radius: 8px;
    text-align: center;
}

.zcq-notice--pre {
    background: #fef9f0;
    border: 2px solid #f0c040;
}

/* Message text */
.zcq-message {
    font-size: 1.05em;
    line-height: 1.6;
    margin-bottom: 1em;
    color: #333;
}

.zcq-notice--post .zcq-message {
    margin-bottom: 0;
}

/* Countdown grid */
.zcq-countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.zcq-countdown--done {
    opacity: 0.5;
    transition: opacity 0.3s;
}

/* Individual unit box */
.zcq-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
    padding: 10px 14px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.zcq-num {
    font-size: 2.2em;
    font-weight: 700;
    line-height: 1.1;
    color: #1a1a2e;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

.zcq-label {
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
    margin-top: 4px;
}

/* Separator */
.zcq-sep {
    font-size: 2em;
    font-weight: 700;
    color: #ccc;
    line-height: 1;
    padding-bottom: 18px;
}

/* Transition message */
.zcq-transition-msg {
    margin-top: 1em;
    padding: 12px 16px;
    background: #e8f5e9;
    border-radius: 6px;
    font-size: 0.95em;
    color: #2e7d32;
    line-height: 1.5;
    animation: zcq-pulse 1.5s ease-in-out infinite;
}

@keyframes zcq-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Responsive */
@media (max-width: 480px) {
    .zcq-unit {
        min-width: 56px;
        padding: 8px 10px;
    }

    .zcq-num {
        font-size: 1.6em;
    }

    .zcq-sep {
        font-size: 1.4em;
        padding-bottom: 14px;
    }

    .zcq-label {
        font-size: 0.65em;
    }
}

/* Boîte « Campagne terminée » (date atteinte ou plafond épuisé) */
.zcq-notice--post {
    background: linear-gradient(135deg, #fef3f2 0%, #fef2f2 100%);
    border: 1px solid #f0b8b8;
    border-left: 4px solid #d63638;
}

.zcq-titre {
    font-size: 18px;
    font-weight: 600;
    color: #d63638;
    margin: 0 0 8px;
}
