.dias-carrusel-wrap {
    display: flex;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
    position: relative;
}

.dias-carrusel {
    overflow-x: auto;
    flex: 1;
    display: flex;
    gap: 8px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
}

.dias-carrusel::-webkit-scrollbar {
    display: none;
}

.dias-carrusel button {
    font-size: 1rem;
    min-width: 100px;
    padding-top: 10px;
    padding-bottom: 10px;
    border: none;
    color: deepskyblue;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    white-space: nowrap;
    transition: background 0.2s;
    user-select: none;
    touch-action: manipulation;
}

.dias-carrusel button.active {
    background: deepSkyBlue;
    color: white;
}

.dias-carrusel-wrap:before,
.dias-carrusel-wrap:after {
    content: '';
    display: block;
    position: absolute;
    top: 0; bottom: 0;
    width: 0px;
    pointer-events: none;
    z-index: 1;
}

.dias-carrusel-wrap:before {
    left: 0;
    background: linear-gradient(to right, #f5f5f5 10%, transparent);
}

.dias-carrusel-wrap:after {
    right: 0;
    background: linear-gradient(to left, #f5f5f5 10%, transparent);
}

.programas-dia { display: none; }
.programas-dia.active { display: block; }

.programa-item {
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    background: #fff;
    border-radius: 6px;
    margin-bottom: 15px;
    transition: box-shadow 0.2s, background 0.2s;
}
.programa-item.en-vivo {
    background: #00bfff20;
    box-shadow: 0 0 0 2px #00bfff;
    border-bottom: 2px solid #00bfff;
}

.programa-item .en-vivo-badge {
    position: absolute;
    top: 6px;
    right: 10px;
    background: #e53935;
    color: #fff;
    padding: 3px 12px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: bold;
    letter-spacing: 1px;
    z-index: 1;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.programa-item img { max-width: 100px; max-height: 100px; border-bottom-left-radius: 6px;
  border-top-left-radius: 6px; }
.programa-item .info {
    flex: 1;
    position: relative;
    text-transform: uppercase;
    overflow-wrap: break-word;
    hyphens: auto;
    color: var(--accent-color);
}
.programa-item .hora { font-size: 0.95em; color: #555; }

.subtitulo-programa {
    font-size: 1em;
    color: black;
    margin-top: -5px;
    text-transform: capitalize;
}

.programa-item.en-vivo .info {
    margin-top: 20px; /* Ajusta según el alto del badge */
}

.titulo-dia-seleccionado {
    text-align: center;
    font-size: 1.2em;
    margin: 10px 0;
}

