/*
 * CloudBeaver - Cloud Database Manager
 * Copyright (C) 2020-2024 DBeaver Corp and others
 *
 * Licensed under the Apache License, Version 2.0.
 * you may not use this file except in compliance with the License.
 */
.split {
  &:not(.disabled) {
    gap: 8px;
  }
}

.paneContent {
  composes: theme-background-surface theme-text-on-surface from global;

  &.grid {
    border-radius: var(--theme-group-element-radius);
  }
}

.captureView {
  flex: 1;
  display: flex;
  overflow: auto;
  position: relative;
}

.tableViewer {
  composes: theme-background-secondary theme-text-on-secondary from global;
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.tableContent {
  display: flex;
  flex: 1;
  overflow: hidden;
}
.tableData {
  gap: 8px;
}
.tableData,
.pane,
.paneContent {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  overflow: hidden;
}
.paneContent.grid:focus-visible::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  outline-offset: -1px;
  outline: var(--theme-primary) auto 1px;
}
.pane {
  &:first-child {
    position: relative;
  }
}
.tablePresentationBar {
  margin-top: 36px;
  &:first-child {
    margin-right: 4px;
  }
  &:last-child {
    margin-left: 4px;
  }
}
.loader {
  position: absolute;
  width: 100%;
  height: 100%;
}
