/* Styles pour le widget Calendrier de l'Avent */
.carrera-avent-calendar table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    font-family: Arial, sans-serif;
}

.carrera-avent-calendar td {
    padding: 10px;
    border: 3px solid #ccc; /* Bordure des cases */
    cursor: pointer;
    background-color: #eee;
    transition: background-color 0.3s;
    position: relative;
}

.carrera-avent-calendar td a,
.carrera-avent-calendar td span {
    display: block;
    text-decoration: none;
    color: inherit;
}

.carrera-avent-calendar .day-number {
    font-size: 1.5em;
    font-weight: bold;
}

.carrera-avent-calendar .day-icon {
    font-size: 2.5em; /* Taille des icônes */
    line-height: 1;
}

/* Styles pour les jours ouverts */
.carrera-avent-calendar td.is-open {
    background-color: #c9e4c9; /* Vert clair */
    border-color: #4CAF50;
}

/* Styles pour le jour J */
.carrera-avent-calendar td.is-today {
    background-color: #ffdd00; /* Jaune vif */
    border-color: #ff8c00;
    animation: pulse 1s infinite; /* Effet clignotant */
}

/* Styles pour les jours fermés (futurs) */
.carrera-avent-calendar td.is-closed {
    background-color: #f0f0f0;
    pointer-events: none; /* Désactive le clic sur les jours futurs */
}

/* Animation pour le jour J */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 140, 0, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 140, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 140, 0, 0); }
}