html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.data-viewer-shell {
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #fff;
}

.data-viewer-header {
  overflow-x: auto;
  overflow-y: hidden;
  border-bottom: 1px solid #dee2e6;
}

.data-viewer-body {
  max-height: 540px;
  overflow: auto;
}

.resizable-table,
.resizable-table-body {
  table-layout: fixed;
  width: max-content;
  min-width: 100%;
}

.resizable-table th,
.resizable-table-body td {
  position: relative;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 120px;
}

.resizable-table .action-column,
.resizable-table-body .action-column {
  min-width: 150px;
  width: 150px;
}

.header-cell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-right: 0.5rem;
}

.column-resizer {
  position: absolute;
  top: 0;
  right: -2px;
  width: 8px;
  height: 100%;
  cursor: col-resize;
  user-select: none;
  touch-action: none;
  z-index: 2;
}

.column-resizer::after {
  content: "";
  position: absolute;
  top: 20%;
  bottom: 20%;
  left: 3px;
  width: 2px;
  background-color: rgba(108, 117, 125, 0.35);
  border-radius: 2px;
}

.resizing {
  user-select: none;
}

.app-sidebar .nav-link,
.app-sidebar .nav-link p,
.app-sidebar .nav-link .nav-icon,
.app-sidebar .nav-link .nav-arrow {
  color: #fff !important;
}

.app-sidebar .nav-link.active,
.app-sidebar .nav-link.active p,
.app-sidebar .nav-link.active .nav-icon,
.app-sidebar .nav-link.active .nav-arrow {
  color: #fff !important;
}

.app-sidebar .nav-treeview > .nav-item > .nav-link {
  color: #fff !important;
}

.data-import-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.data-import-loading-card {
  min-width: 280px;
  max-width: 360px;
  background: #fff;
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 1rem 3rem rgba(15, 23, 42, 0.25);
}
