/*!
 * /**
 *  * Buckeye UX - version 1.5.1
 *  * Copyright (C) 2026 The Ohio State University
 *  * /
 *
 */
.visually-hidden {
  width: 1px !important;
  height: 1px !important;
  clip-path: rect(0 0 0 0) !important;
  border: 0 !important;
  margin: -1px !important;
  padding: 0 !important;
  position: absolute !important;
  overflow: hidden !important;
}

.visually-hidden:active, .visually-hidden:focus {
  width: auto !important;
  height: auto !important;
  clip-path: auto !important;
  margin: 0 !important;
  position: static !important;
  overflow: visible !important;
}

html.bux-dark-theme span[class$="__required"] {
  color: var(--static-white);
}

html.bux-dark-theme span[class$="__error-message"] {
  color: var(--static-white);
  background-color: var(--scarlet);
  left: 6px;
}

html.bux-dark-theme span[class$="__error-message"]:before {
  color: var(--static-white);
}

.bux-selection-dropdown {
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 32px;
  display: flex;
  position: relative;
}

.bux-selection-dropdown__label {
  margin-bottom: 8px;
  font-size: 1rem;
  font-weight: 700;
  display: block;
}

.bux-selection-dropdown__required {
  color: var(--brand-primary);
}

.bux-selection-dropdown__helper-text {
  width: 100%;
  color: var(--gray-dark-80);
  order: 1;
  margin-top: 8px;
  font-size: .875rem;
  display: block;
}

.bux-selection-dropdown__fieldset {
  border: 0;
  flex-wrap: wrap;
  align-items: center;
  min-width: 0;
  margin: 0;
  padding: 0;
  display: flex;
}

.bux-selection-dropdown__legend {
  width: 100%;
  font-size: 1rem;
  font-weight: 700;
  line-height: inherit;
  margin-bottom: 8px;
  padding: 0;
}

.bux-selection-dropdown__legend + * {
  clear: both;
}

.bux-selection-dropdown__input-spacer {
  order: 2;
  width: 100%;
  margin-top: 8px;
}

.bux-selection-dropdown__input {
  order: 2;
  width: 100%;
  position: relative;
}

html.bux-dark-theme .bux-selection-dropdown__input--error select {
  color: var(--static-black);
}

.bux-selection-dropdown__input select {
  width: 100%;
  height: 44px;
  color: var(--fg-primary);
  appearance: none;
  background: var(--bg-primary);
  border: 2px solid var(--gray-dark-80);
  border-radius: 0;
  padding-left: 8px;
}

.bux-selection-dropdown__input select:focus {
  outline: 2px solid var(--focus);
}

.bux-selection-dropdown__input select:focus:not(:focus-visible) {
  outline: none !important;
}

.bux-selection-dropdown__input select option {
  background-color: var(--bg-primary);
  border: 2px solid var(--gray-dark-80);
  padding: 15px 0;
}

.bux-selection-dropdown__input:before {
  color: var(--gray-dark-80);
  pointer-events: none;
  content: "";
  background-color: var(--bg-primary);
  padding-top: 5px;
  padding-left: 10px;
  padding-right: 10px;
  font-family: bux-icons;
  font-size: 22px;
  position: absolute;
  top: 2px;
  bottom: 2px;
  right: 2px;
}

.bux-selection-dropdown__input--disabled select {
  color: var(--gray-light-40);
  cursor: not-allowed;
  background-color: var(--gray-light-80);
  border-color: var(--gray-light-40);
  opacity: 1;
}

.bux-selection-dropdown__input--disabled:before {
  color: var(--gray-light-40);
  background-color: var(--gray-light-80);
}

.bux-selection-dropdown__input--error > select {
  border-color: var(--brand-primary);
  background: #ffeff2;
}

.bux-selection-dropdown__input--error:before {
  background: #ffeff2;
}

.bux-selection-dropdown__error-message {
  color: var(--scarlet);
  flex-basis: 100%;
  order: 3;
  margin-top: 8px;
  padding-left: 20px;
  font-size: .875rem;
  display: block;
}

.bux-selection-dropdown__error-message:before {
  width: 16px;
  height: 16px;
  color: var(--scarlet);
  content: "";
  font-family: bux-icons;
  font-size: 16px;
  line-height: 1.3;
  position: absolute;
  left: 0;
}

html.bux-dark-theme .bux-selection-dropdown__error-message {
  color: var(--static-black);
  background: var(--scarlet);
  flex-basis: auto;
  padding: 6px 12px 6px 28px;
}

html.bux-dark-theme .bux-selection-dropdown__error-message:before {
  color: var(--static-black);
  left: 6px;
}

