.sgsdt-hide-header thead {
  display: none;
}

.gridjs-wrapper {
  border: none;
  box-shadow: none;
}

.sgsdt-scroll-shell {
  position: relative;
}

/*
 * A soft fade over whichever edge still has more of the table to scroll to,
 * so a native scrollbar that only appears on hover doesn't hide the fact
 * that the table scrolls. This has to be a real element layered above the
 * table (via z-index), not a background on an ancestor - Grid.js's cells
 * have an opaque background, so an ancestor's own background would just be
 * hidden behind them instead of overlaying anything.
 */
.sgsdt-scroll-shadow {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 32px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  z-index: 2;
}

.sgsdt-scroll-shadow--left {
  left: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0));
}

.sgsdt-scroll-shadow--right {
  right: 0;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0));
}

.sgsdt-scroll-shell.sgsdt-can-scroll-left .sgsdt-scroll-shadow--left,
.sgsdt-scroll-shell.sgsdt-can-scroll-right .sgsdt-scroll-shadow--right {
  opacity: 1;
}

.gridjs-container {
  font-size: 0.9em;
}

.sgsdt-spinner-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 0;
  font-size: 32px;
}

.sgsdt-spinner {
  display: inline-block;
  width: 1em;
  height: 1em;
  border: 0.15em solid rgba(0, 0, 0, 0.15);
  border-top-color: #2271b1;
  border-radius: 50%;
  animation: sgsdt-spin 0.8s linear infinite;
}

@keyframes sgsdt-spin {
  to {
    transform: rotate(360deg);
  }
}