/*
 * Floating label and form validation fixes
 */
.field_with_errors {
  display: contents;
}


/* Ensure button primary background and text color use dynamic theme primary color */
.btn-primary {
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
  color: #ffffff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: color-mix(in sRGB, var(--bs-primary) 85%, #000) !important;
  border-color: color-mix(in sRGB, var(--bs-primary) 80%, #000) !important;
  color: #ffffff !important;
}