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;
}

.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;
}

.teacher-bank-card {
  color: #fff;
  padding: 1rem;
  border-radius: .75rem;
  background: linear-gradient(135deg, #5a56dc, #30326f 72%);
  box-shadow: 0 .5rem 1.25rem rgba(48, 50, 111, .28);
}

.teacher-bank-card-number {
  letter-spacing: .12em;
  font-size: 1.1rem;
  font-weight: 600;
}

.teacher-bank-card--compact {
  min-height: 10rem;
  padding: .9rem;
}

/* Keep guidance and secondary text readable against the dark template. */
html.dark-style .text-muted,
html.dark-style .form-text,
html.dark-style .form-label,
html.dark-style .table th,
html.dark-style .card-footer.text-muted {
  color: #c6cbe0 !important;
}

html.dark-style .form-control::placeholder,
html.dark-style .form-select::placeholder {
  color: #b8bfd5;
  opacity: 1;
}
