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;
  background: #f6f7f9;
  color: #1d232a;
}

h1 {
  font-size: 1.8rem;
}

h2 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
}

table {
  width: 100%;
  background: #fff;
  border-collapse: collapse;
  border: 1px solid #d8dee6;
}

th, td {
  padding: .65rem;
  border-bottom: 1px solid #e8edf3;
  vertical-align: top;
}

th {
  background: #eef2f6;
  font-weight: 700;
}

input, textarea {
  width: 100%;
  padding: .55rem;
  border: 1px solid #b8c2cc;
  border-radius: 4px;
}

textarea {
  min-height: 9rem;
}

button, .button {
  display: inline-block;
  padding: .55rem .8rem;
  border: 1px solid #1e4f86;
  border-radius: 4px;
  background: #1e4f86;
  color: #fff;
  text-decoration: none;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.search, .stack {
  display: grid;
  gap: .75rem;
  margin-bottom: 1rem;
}

.wide {
  max-width: 44rem;
}

.auth-panel, .result, .status-page {
  max-width: 34rem;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid #d8dee6;
  border-radius: 6px;
}

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.pill {
  display: inline-block;
  padding: .15rem .45rem;
  border-radius: 999px;
  background: #e6f0fb;
}

.error {
  color: #a01919;
}

@media (max-width: 760px) {
  .grid, .toolbar {
    display: block;
  }
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
