.prm-contenedor {
    max-width: 900px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.prm-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.prm-tab-btn {
    background: #f4f5f7;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    color: #444;
    transition: all 0.2s;
}

.prm-tab-btn:hover {
    background: #e2e6ea;
}

.prm-tab-btn.active {
    background: #2196f3;
    color: #fff;
}

.prm-dia-panel {
    display: none;
}

.prm-dia-panel.active {
    display: block;
}

.prm-programa-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #cbd5e1;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.prm-programa-card.en-directo {
    border-left-color: #e53935;
    background: #fffafa;
}

.prm-hora {
    min-width: 115px;
    font-weight: 700;
    color: #333;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.prm-badge-live {
    display: inline-block;
    background: #e53935;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    text-align: center;
    width: fit-content;
}

.prm-thumb {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 6px;
}

.prm-info {
    flex: 1;
}

.prm-info h4 {
    margin: 0 0 4px 0;
    font-size: 18px;
    color: #111;
}

.prm-titulo-link {
    color: #111;
    text-decoration: none;
    transition: color 0.2s;
}

.prm-titulo-link:hover {
    color: #2196f3;
    text-decoration: underline;
}

.prm-locutor {
    margin: 0 0 6px 0;
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.prm-desc {
    font-size: 14px;
    color: #444;
}

.prm-accion {
    margin-left: auto;
}

.prm-btn-ver {
    display: inline-block;
    padding: 8px 14px;
    background: #f0f4f8;
    color: #2196f3;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s;
}

.prm-btn-ver:hover {
    background: #2196f3;
    color: #ffffff;
}

.prm-vacio {
    text-align: center;
    color: #777;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
}

@media (max-width: 600px) {
    .prm-programa-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .prm-accion {
        margin-left: 0;
        width: 100%;
    }
    .prm-btn-ver {
        display: block;
        text-align: center;
    }
}
