@use '../../../../shared/styles/panel-shared' as panel;

:host {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.multi-book-fetch-container {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.panel-header {
  @include panel.panel-header;
  flex-shrink: 0;
}

.dialog-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  min-height: 0;
  padding: 1.5rem;
  background: var(--card-background);
  border: 1px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.book-list-section {
  flex-shrink: 0;
  margin-bottom: 1rem;
}

.book-list-container {
  max-height: 6rem;
  overflow: auto;
  border: 1px solid #6b7280;
  border-radius: 0.25rem;
  padding: 0.5rem;
  font-size: 0.875rem;
}

.book-list {
  list-style-type: disc;
  padding-left: 1.25rem;

  li {
    margin-bottom: 0.25rem;

    &:last-child {
      margin-bottom: 0;
    }
  }
}

.book-id {
  color: #9ca3af;
}

::ng-deep app-metadata-fetch-options {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
