#ncc-countdown {
    text-align: center;
    font-family: Arial, sans-serif;
    margin-top: 20px;
}

#ncc-timer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.ncc-time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
    text-align: center;
    flex: 1 0 20%;
}

.ncc-number {
    font-size: 30px;
    color: #5b3c4d;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    padding: 5px;
    margin: 2px;
    border: 1px solid #4B4B4B;
    border-radius: 2px;
    background-color: #ECD06F;
    width: 100%;
}

.ncc-widget-title {
    text-align: center;
    padding: 10px;
    background: linear-gradient(to right, #FFBE18 0, transparent 40%);
    height: auto;
    color: #333;
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 20px;
}

.ncc-label {
    background-color: #fff;
    border: 1px solid #4B4B4B;
    padding: 2px 5px;
    border-radius: 2px;
    font-size: 0.8em;
    margin-top: 5px;
    width: 90%;
}

#ncc-event-details {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    position: relative;
    perspective: 1000px;
}

#ncc-event-card {
    width: 100%;
    backface-visibility: hidden;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    display: contents;
}

#ncc-event-details.flip #ncc-event-card {
    transform: rotateY(180deg);
}

#ncc-prev-event, #ncc-next-event {
    font-size: 24px;
    cursor: pointer;
    margin: 0 16px;
    padding: 6px;
    min-width: 40px;
    max-width: 60px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

#ncc-event-title, #ncc-event-date, #ncc-event-time {
    margin: 10px 0;
    font-size: 1.2em;
    font-weight: bold;
}

#ncc-event-details div {
    padding: 5px;
}

#ncc-message {
    font-size: 1em;
    color: #F38F4C;
    margin-top: 20px;
}

/* Estilos para pantallas de tabletas */
@media (max-width: 768px) {
    .ncc-time-unit {
        min-width: 80px;
        flex: 1 0 30%;
    }

    .ncc-number {
        font-size: 24px;
        padding: 5px;
    }

    .ncc-widget-title {
        font-size: 18px;
        line-height: 28px;
    }

    #ncc-event-details {
        flex-direction: column;
        align-items: center;
    }

    #ncc-prev-event, #ncc-next-event {
        margin: 10px 0;
    }

    #ncc-event-title, #ncc-event-date, #ncc-event-time {
        font-size: 0.9em;
    }

    #ncc-message {
        font-size: 0.9em;
    }
}

/* Estilos para pantallas móviles */
@media (max-width: 480px) {
    .ncc-time-unit {
        min-width: 70px;
        flex: 1 0 45%;
    }

    .ncc-number {
        font-size: 20px;
        padding: 5px;
    }

    .ncc-widget-title {
        font-size: 16px;
        line-height: 24px;
    }

    #ncc-event-title, #ncc-event-date, #ncc-event-time {
        font-size: 0.8em;
    }

    #ncc-message {
        font-size: 0.8em;
    }
}
