/* Everything Bootstrap does not already do. Kept short on purpose: the less
   custom CSS there is, the less there is to keep in step with an upgrade. */

.sidebar {
  width: 15rem;
  min-height: calc(100vh - 56px);
  flex: 0 0 15rem;
}

.sidebar .nav-link {
  color: var(--bs-body-color);
  border-radius: .375rem;
  padding: .35rem .75rem;
}

.sidebar .nav-link:hover { background: var(--bs-secondary-bg); }

.sidebar .nav-link.active {
  background: var(--bs-primary);
  color: #fff;
}

.nav-heading { font-size: .7rem; letter-spacing: .06em; margin-top: .25rem; }

.login-wrap {
  max-width: 24rem;
  margin: 8vh auto;
  padding: 0 1rem;
}

/* A checksum is long and nobody reads all of it; it is here to be compared
   and copied, so it is shown short and monospaced. */
.mono { font-family: var(--bs-font-monospace); font-size: .8125rem; }
.hash { cursor: pointer; }
.hash:hover { text-decoration: underline dotted; }

.json-view {
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: .375rem;
  padding: .75rem;
  font-size: .8125rem;
  max-height: 60vh;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

.stat-tile .stat-value { font-size: 1.75rem; line-height: 1.1; font-weight: 600; }
.stat-tile .stat-label { font-size: .8125rem; color: var(--bs-secondary-color); }

td .form-check-input { margin-top: .15rem; }
