.pdf-panel {
  margin-top: 8px;
}

.pdf-file-list,
.pdf-page-list {
  list-style: none;
  margin: 8px 0;
  padding: 0;
  max-height: 240px;
  overflow-y: auto;
  border: 1px solid #808080;
  background: #fff;
}

.pdf-file-item,
.pdf-page-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  border-bottom: 1px solid #dfdfdf;
  font-size: 11px;
}

.pdf-file-item:last-child,
.pdf-page-item:last-child {
  border-bottom: none;
}

.pdf-file-item:nth-child(even),
.pdf-page-item:nth-child(even) {
  background: #f0f0f0;
}

.pdf-file-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pdf-file-meta {
  color: var(--win-muted);
  white-space: nowrap;
}

.pdf-file-actions,
.pdf-page-actions {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.pdf-file-actions button,
.pdf-page-actions button {
  min-width: 24px;
  padding: 2px 6px;
}

.pdf-page-num {
  min-width: 72px;
  font-weight: bold;
}

.pdf-page-item label {
  flex: 1;
  cursor: pointer;
}

.pdf-empty-list {
  padding: 12px;
  text-align: center;
  color: var(--win-muted);
  font-size: 11px;
  border: 1px solid #808080;
  background: #fff;
  margin: 8px 0;
}

.pdf-info {
  font-size: 11px;
  color: var(--win-muted);
  margin: 4px 0 8px;
}
