.programacion-schedule {
    font-family: Poppins, Arial, sans-serif;
    margin-bottom: 2rem;
}

.programacion-schedule .schedule-title {
    color: #1d50a7;
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.programacion-schedule .schedule-meta {
    text-align: center;
    color: #8F9BAD;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.programacion-schedule .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 10px;
    border: 1px solid #EBEBEB;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.programacion-schedule table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
    background: #fff;
    font-size: 0.8125rem;
    line-height: 1.4;
}

.programacion-schedule thead th {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #1d50a7;
    color: #fff;
    font-weight: 600;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 12px 8px;
    text-align: center;
    border: 1px solid #153d82;
    white-space: nowrap;
}

.programacion-schedule thead th:first-child {
    background: #153d82;
    min-width: 64px;
    z-index: 12;
}

.programacion-schedule tbody th {
    position: sticky;
    left: 0;
    z-index: 5;
    background: #F1F8FF;
    color: #203656;
    font-weight: 600;
    font-size: 0.8125rem;
    padding: 8px 6px;
    text-align: center;
    border: 1px solid #dce8f0;
    min-width: 64px;
    white-space: nowrap;
}

.programacion-schedule tbody th .time-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
}

.programacion-schedule tbody th .time-sub {
    display: none;
    font-size: 0.65rem;
    color: #8F9BAD;
    font-weight: 400;
}

.programacion-schedule tbody td {
    padding: 8px 6px;
    border: 1px solid #EBEBEB;
    vertical-align: middle;
    text-align: center;
    background: #fff;
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

.programacion-schedule tbody tr:hover td {
    background: #FAFCFE;
}

.programacion-schedule tbody td a {
    color: #1d50a7;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
}

.programacion-schedule tbody td a:hover {
    color: #006ad6;
    text-decoration: underline;
}

.programacion-schedule tbody td .prog-name {
    display: block;
    font-weight: 500;
    color: #203656;
}

.programacion-schedule tbody td .prog-name.has-link {
    color: #1d50a7;
}

.programacion-schedule tbody td .prog-name.has-link:hover {
    color: #006ad6;
}

.programacion-schedule tbody td .prog-genre {
    display: block;
    font-size: 0.65rem;
    color: #9faabb;
    margin-top: 2px;
}

.programacion-schedule tbody td.is-music .prog-name {
    color: #8F9BAD;
    font-weight: 400;
    font-style: italic;
}

.programacion-schedule tbody td.is-music {
    background: #fafafa;
}

.programacion-schedule tbody tr.slot-morning td {
    border-left: 3px solid #FFA387;
}

.programacion-schedule tbody tr.slot-afternoon td {
    border-left: 3px solid #1d50a7;
}

.programacion-schedule tbody tr.slot-evening td {
    border-left: 3px solid #203656;
}

.programacion-schedule tbody tr.slot-night td {
    border-left: 3px solid #8F9BAD;
}

.programacion-schedule tbody tr.slot-morning th {
    border-left: 3px solid #FFA387;
}

.programacion-schedule tbody tr.slot-afternoon th {
    border-left: 3px solid #1d50a7;
}

.programacion-schedule tbody tr.slot-evening th {
    border-left: 3px solid #203656;
}

.programacion-schedule tbody tr.slot-night th {
    border-left: 3px solid #8F9BAD;
}

@media (min-width: 992px) {
    .programacion-schedule table {
        font-size: 0.875rem;
    }

    .programacion-schedule thead th {
        padding: 14px 12px;
        font-size: 0.875rem;
    }

    .programacion-schedule tbody th {
        padding: 10px 12px;
        min-width: 80px;
    }

    .programacion-schedule tbody td {
        padding: 10px 8px;
    }
}

@media (max-width: 768px) {
    .programacion-schedule .schedule-title {
        font-size: 1rem;
    }

    .programacion-schedule table {
        min-width: 600px;
        font-size: 0.75rem;
    }

    .programacion-schedule thead th {
        padding: 10px 6px;
        font-size: 0.75rem;
    }

    .programacion-schedule tbody th {
        padding: 6px 4px;
        min-width: 56px;
        font-size: 0.75rem;
    }

    .programacion-schedule tbody td {
        padding: 6px 4px;
    }

    .programacion-schedule tbody td .prog-genre {
        display: none;
    }
}

@media (max-width: 480px) {
    .programacion-schedule table {
        min-width: 520px;
        font-size: 0.6875rem;
    }

    .programacion-schedule thead th {
        padding: 8px 4px;
        font-size: 0.6875rem;
    }

    .programacion-schedule tbody th {
        padding: 5px 3px;
        min-width: 48px;
        font-size: 0.6875rem;
    }

    .programacion-schedule tbody td {
        padding: 5px 3px;
    }
}
