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: #f5f7fb;
  color: #172033;
}

.navbar {
  background: #ffffff !important;
}

.card {
  border: 1px solid #e3e8f0;
  border-radius: 10px;
}

.card-header {
  border-radius: 10px 10px 0 0 !important;
}

.table > :not(caption) > * > * {
  padding: .65rem .7rem;
}

.license-select-col {
  width: 44px;
}

.update-download-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: .75rem;
  border: 1px solid #d8e2ef;
  border-radius: 8px;
  background: #f8fbff;
}

.update-download-preview code {
  overflow-wrap: anywhere;
}

.login-page {
  min-height: calc(100vh - 180px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 0;
}

.login-card {
  width: min(100%, 430px);
  border-radius: 8px;
}

.login-badge {
  display: inline-flex;
  align-items: center;
  padding: .25rem .55rem;
  margin-bottom: .75rem;
  border-radius: 6px;
  background: #e8f1ff;
  color: #0d6efd;
  font-size: .82rem;
  font-weight: 700;
}

.field-help {
  position: relative;
  display: inline-block;
  margin-inline-start: .35rem;
  vertical-align: middle;
}

.field-help summary {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid #8aa0bb;
  border-radius: 50%;
  background: #fff;
  color: #1d4f91;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.field-help summary::-webkit-details-marker {
  display: none;
}

.field-help summary:focus-visible {
  outline: 3px solid #0b5ed7;
  outline-offset: 2px;
}

.field-help p {
  position: absolute;
  z-index: 20;
  top: calc(100% + .35rem);
  left: 0;
  width: min(320px, 80vw);
  margin: 0;
  padding: .75rem;
  border: 1px solid #c9d4e2;
  border-radius: .5rem;
  background: #fff;
  color: #172033;
  box-shadow: 0 .5rem 1.5rem rgba(23, 32, 51, .16);
  font-size: .875rem;
  line-height: 1.45;
}

@media (max-width: 767.98px) {
  .field-help summary {
    width: 44px;
    height: 44px;
  }
}

details summary {
  cursor: pointer;
}

.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;
}
