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

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

.multi-book-editor-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;
  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);

  ::ng-deep {
    p-tabs {
      flex: 1;
      display: flex;
      flex-direction: column;
      min-height: 0;
    }

    .p-tabpanels {
      flex: 1;
      min-height: 0;
    }
  }
}
