html {
  font-size: 14px;
}

/* Hide validation summary and field errors when there are no messages */
.validation-summary-valid,
.field-validation-valid {
  display: none;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-select:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html, body {
  height: 100%;
}

.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 {
  color: var(--bs-secondary-color);
  text-align: start;
}

.season-row {
  transition: background-color .1s ease-in-out;
}

.season-row:hover {
  background-color: rgba(13, 110, 253, 0.08);
}

.season-row.highlighted {
  background-color: rgba(13, 110, 253, 0.12);
}

.sortable-th {
  cursor: pointer;
  user-select: none;
}

.sort-indicator {
  display: inline-block;
  width: 1em;
}

/* Popover for the "Provincial data" overlay-group ⓘ (Views/Shared/_ProvincialDataNotice.cshtml).
   Wider than Bootstrap's 276px default so the two-sentence notice stays a short paragraph. */
.provincial-data-popover {
  max-width: 340px;
}
