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: 0;
  padding: 1.5rem 0;
}

.login-page {
  align-items: center;
  display: flex;
  min-height: calc(100vh - 3rem);
}

.login-form {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  margin: 0 auto;
  max-width: 380px;
  padding: 1.5rem;
  width: 100%;
}

.login-form h1 {
  font-size: 1.75rem;
  font-weight: 650;
  margin-bottom: 1.25rem;
}

.dashboard-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.dashboard-header h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: 650;
}

.dashboard-header p {
  margin: .25rem 0 0;
  color: #667085;
}

.dashboard-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .25rem;
  color: #667085;
  font-size: .9rem;
  text-align: right;
}

.reset-sort-button {
  margin-top: .25rem;
}

.nodes-table-wrap {
  border: 1px solid #dee2e6;
  border-radius: 8px;
}

.nodes-table {
  margin-bottom: 0;
}

.nodes-table th {
  white-space: nowrap;
}

.sort-link {
  color: inherit;
  display: inline-flex;
  gap: .35rem;
  text-decoration: none;
}

.sort-link:hover {
  color: #0d6efd;
}

.node-id {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  word-break: break-all;
}

@media (max-width: 767.98px) {
  .dashboard-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-meta {
    align-items: flex-start;
    text-align: left;
  }
}
