

.parrilla {
  padding: 15px 15px;
  padding-bottom: 30px;
  width: 100%;
  position: relative;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 7px 14px, rgba(0, 0, 0, 0.12) 0px 5px 5px;
  border-radius: 25px;
  background-color: #0d1d29;
  margin-bottom: 10px;
}

.bloque-live {
    display: flex;
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.bloque-live img {
    width: 140px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px 0 0 10px;
}

.live-info {
    padding: 20px;
    flex: 1;
}

.live-badge {
  background: linear-gradient(
135deg,
#ff006e,
#00e5ff
);
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 4px;
    animation: livepulse 1.5s infinite;
}

@keyframes livepulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.progress-tv {
    height: 6px;
    background: #333;
    margin-top: 10px;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: #b32087;
    width: 0%;
    transition: width 0.3s;
}

.tabs-dias {
    display: flex;
    gap: 5px;
    margin-bottom: 15px;
}

.tabs-dias button {
    padding: 6px 12px;
    background: #1a1a1a;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.tabs-dias button.active {
  background: linear-gradient(
    135deg,
    #ff006e,
    #00e5ff
  );
}
@media (max-width: 600px) {
    .tabs-dias button {
        width: 45px;              /* fuerza que el botón sea estrecho */
        word-break: break-all;    /* rompe las palabras donde sea necesario */
        white-space: normal;      /* permite saltos de línea */
        text-align: center;       /* centra el texto dentro del botón */
    }
}
.timeline-dia {
    display: flex;
    flex-direction:column;
    background: #111;
    padding: 10px;
    border-radius: 8px;
    overflow-x: auto;        /* Permite scroll horizontal */
    gap: 8px;
    scrollbar-width: thin;   /* Firefox: scrollbar más delgada */
    scrollbar-color: #444 #111; /* Color del scrollbar */
}

/* Scrollbar para Chrome/Edge/Safari */
.timeline-dia::-webkit-scrollbar {
    height: 8px;             /* Alto del scrollbar */
}
.timeline-dia::-webkit-scrollbar-track {
    background: #111;
    border-radius: 4px;
}
.timeline-dia::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 4px;
}
.timeline-dia::-webkit-scrollbar-thumb:hover {
    background: #666;
}

/* Mantener programas fijos en tamaño para el scroll */
.parrilla .programa{
    display:flex;
    flex-direction:row;
    align-items:center;
    gap:15px;

    width:100%;
    min-height:80px;

    background:#1e1e1e;
    border-radius:8px;
    padding:10px;

    flex:none;
}
.programa img{
    width:70px;
    height:70px;
    object-fit:cover;
    border-radius:6px;
    flex-shrink:0;
}

/* Agrega un borde rojo a los programas en vivo */
.programa-live {
    border: 2px solid #b32087;
}

/* Pseudoelemento ::before para mostrar el "🔴 LIVE" */
.programa-live::before {
    content: "🔴 LIVE";
    position: absolute;
    top: 5px;
    left: 5px;
    background: red;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 3px;
    z-index: 10; /* Asegura que el pseudoelemento se muestre por encima */
}

.parrilla .programa img {
  width:70px;
  height:70px;
  object-fit:cover;
  border-radius:6px;
  flex-shrink:0;
}

.parrilla .titulo {
    padding: 5px;
    text-align: left;
}

.parrilla .titulo strong {
    display: block;
    font-size: 17px;
    color: #FFF;
}

.parrilla .titulo .horas {
    font-size: 11px;
    color: #ccc;
    margin-top: 2px;
}
