/**
 * Estilos para el shortcode de cuenta atrás
 */

.ei-countdown {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 8px;
    /* background: #00CB99; */
    /* padding: 12px; */
    overflow: visible;
}

.ei-countdown__box {
    flex: 1;
    text-align: center;
    padding: 8px 0px;
    background: #00D3A7;
    border-radius: 6px;
    border: none;
    min-width: 80px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.ei-countdown__number {
    font-size: 21px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 8px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.ei-countdown__label {
    font-size: 8px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.85;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Responsivo para móviles */
@media (max-width: 768px) {
    .ei-countdown {
        gap: 6px;
    }

    .ei-countdown__box {
        padding: 12px 10px;
        min-width: 60px;
    }

    .ei-countdown__number {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .ei-countdown__label {
        font-size: 9px;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    .ei-countdown {
        gap: 4px;
    }

    .ei-countdown__box {
        padding: 10px 6px;
        min-width: 50px;
    }

    .ei-countdown__number {
        font-size: 16px;
        margin-bottom: 4px;
    }

    .ei-countdown__label {
        font-size: 8px;
        letter-spacing: 0.8px;
    }
}

/* Animación cuando se actualiza el número */
.ei-countdown__number.updated {
    animation: pulse 0.3s ease-in-out;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Estado cuando la cuenta atrás termina */
.ei-countdown.expired .ei-countdown__number {
    color: #ffcccc;
}
