/*
 * Décompte Event - Styles Frontend
 * Auteur : HN Monde
 */

.decompte-event-container {
    margin: 20px 0;
    padding: 20px;
    text-align: center;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: var(--de-text-color);
}

.decompte-event-title {
    margin-top: 10px !important;
	margin-bottom: 10px !important;
    font-size: 2.2em;
    color: var(--de-text-color);
}

.decompte-event-description {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--de-text-color);
    opacity: 0.8;
}

.decompte-counter-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap; /* Rendre responsive */
}

.decompte-unit {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.decompte-unit .number {
    font-size: 3em;
    font-weight: bold;
    line-height: 1;
    transition: transform 0.2s ease-out; /* Animation simple */
}

.decompte-unit .label {
    font-size: 0.8em;
    text-transform: uppercase;
    opacity: 0.7;
    margin-top: 5px;
}

/* --- Style Classique (par défaut) --- */
.decompte-style-classique .decompte-unit {
    background-color: var(--de-main-color);
    color: #fff; /* Texte blanc sur fond coloré */
    padding: 15px 10px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.decompte-style-classique .decompte-unit .label {
    color: #fff;
    opacity: 0.9;
}

/* --- Style Cercle --- */
.decompte-style-cercle .decompte-unit {
    border: 3px solid var(--de-main-color);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    justify-content: center;
    color: var(--de-text-color);
    background-color: transparent;
}
.decompte-style-cercle .decompte-unit .number {
    font-size: 2.5em;
    color: var(--de-main-color);
}
.decompte-style-cercle .decompte-unit .label {
    font-size: 0.7em;
}

/* --- Style Minimaliste --- */
.decompte-style-minimaliste .decompte-event-container {
    background: none;
    box-shadow: none;
    border: none;
}
.decompte-style-minimaliste .decompte-unit {
    padding: 0;
    background: none;
    color: var(--de-text-color);
}
.decompte-style-minimaliste .decompte-unit .number {
    font-size: 3.5em;
    color: var(--de-main-color);
}
.decompte-style-minimaliste .decompte-counter-display::after {
    content: '';
    display: block;
    width: 100%;
    border-bottom: 1px dashed var(--de-main-color);
    margin: 10px 0;
    opacity: 0.3;
}
.decompte-style-minimaliste .decompte-unit:not(:last-child)::after {
    content: ':';
    font-size: 3em;
    font-weight: bold;
    color: var(--de-main-color);
    margin: 0 10px;
}
.decompte-style-minimaliste .decompte-unit .label {
    display: none; /* Cache les labels pour le style minimaliste */
}

/* Message expiré */
.decompte-expired-message {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--de-main-color);
    text-align: center;
    padding: 40px 20px;
    width: 100%;
    animation: fade-in 1s ease-out;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Media Query pour la responsivité */
@media (max-width: 600px) {
    .decompte-event-title {
        font-size: 1.8em;
    }
    .decompte-unit {
        min-width: 60px;
        padding: 10px 5px;
    }
    .decompte-unit .number {
        font-size: 2em;
    }
    .decompte-style-cercle .decompte-unit {
        width: 90px;
        height: 90px;
    }
    .decompte-expired-message {
        font-size: 1.8em;
    }
}
/*
     FILE ARCHIVED ON 18:18:21 Dec 08, 2025 AND RETRIEVED FROM THE
     INTERNET ARCHIVE ON 12:20:30 Aug 19, 2026.
     JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.

     ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
     SECTION 108(a)(3)).
*/
/*
playback timings (ms):
  captures_list: 0.632
  exclusion.robots: 0.108
  exclusion.robots.policy: 0.096
  esindex: 0.008
  cdx.remote: 15.789
  LoadShardBlock: 98.275 (3)
  PetaboxLoader3.resolve: 198.611 (4)
  PetaboxLoader3.datanode: 96.493 (5)
  load_resource: 249.931
  loaddict: 61.457
*/