/* Estilos para la Grilla de Radio */
.grilla-radio-container {
    display: flex;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    border: 1px solid #e0e0e0;
    overflow: hidden;
    border-radius: 8px;
}

.grilla-programa {
    padding: 20px;
    display: flex;
    align-items: center;
    border-right: 1px solid #e0e0e0;
    flex-grow: 1;
}

.grilla-programa:last-child {
    border-right: none;
}

/* Estilo para el programa 
 * 
 *  */
.grilla-programa.vivo {
    flex-grow: 2; /* Ocupa más espacio */
    background-color: rgba(0,0,0,0.02);
}

.grilla-programa.vivo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 20px;
    object-fit: cover;
}

.grilla-programa .info .tag-vivo {
    display: inline-block;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.grilla-programa .info .tag-futuro {
    display: inline-block;
    color: #e53935;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.grilla-programa .programa-titulo {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: bold;
}

.grilla-programa .horario {
    margin: 0;
    font-size: 14px;
    opacity: 0.8;
}

/* Estilo para programas futuros */
.grilla-programa.futuro {
    justify-content: center;
    text-align: left;
}
.grilla-programa.futuro .programa-titulo {
    font-size: 16px;
}

.grilla-programa.vacio p {
    text-align: center;
    width: 100%;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .grilla-radio-container {
        flex-direction: column;
    }
    .grilla-programa {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }
    .grilla-programa:last-child {
        border-bottom: none;
    }
}

/* Animación de parpadeo para "EN VIVO" */
.grv-blink {
    animation: blinker 1s linear infinite; /* Nombre de la animación, duración, tipo y repetición */
}

@keyframes blinker {
    50% {
        opacity: 0; /* A la mitad de la animación, la opacidad es 0 (invisible) */
    }
}