/*
 * BCA_PUBLIC_SELECT_HARMONY_V1B
 * BCA_PUBLIC_SELECT_CUSTOM_V2
 * Public-only custom dropdown layer for audited public selects.
 * Native select stays in DOM for form compatibility and no admin select is touched.
 */

.bca-public-select-wrap {
  position: relative;
  width: 100%;
  min-height: 44px;
}

select.bca-public-select-harmony.bca-public-select-native-hidden {
  position: absolute !important;
  left: 0;
  top: 0;
  width: 1px !important;
  height: 1px !important;
  min-height: 1px !important;
  opacity: 0.01 !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

.bca-public-select-harmony.uk-select,
select.bca-public-select-harmony {
  min-height: 44px;
  background-color: rgba(3, 12, 26, .86);
  color: rgba(245, 248, 255, .96);
  border: 1px solid rgba(205, 145, 54, .42);
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .025), 0 8px 22px rgba(0, 0, 0, .18);
  font-weight: 700;
  letter-spacing: .01em;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .55);
}

.bca-public-select-button {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 42px 0 14px;
  border: 1px solid rgba(205, 145, 54, .42);
  border-radius: 12px;
  background: rgba(3, 12, 26, .92);
  color: rgba(245, 248, 255, .96);
  font-weight: 800;
  letter-spacing: .01em;
  text-align: left;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .55);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .025), 0 8px 22px rgba(0, 0, 0, .18);
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease, color .16s ease;
}

.bca-public-select-button::after {
  content: "";
  position: absolute;
  right: 16px;
  width: 9px;
  height: 9px;
  border-right: 2px solid rgba(244, 196, 91, .92);
  border-bottom: 2px solid rgba(244, 196, 91, .92);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .16s ease;
}

.bca-public-select-wrap.is-open .bca-public-select-button::after {
  transform: rotate(225deg) translateY(-2px);
}

.bca-public-select-button:hover,
.bca-public-select-button:focus {
  background: rgba(7, 18, 36, .98);
  border-color: rgba(244, 196, 91, .86);
  color: #ffffff;
  outline: none;
  box-shadow: 0 0 0 1px rgba(244, 196, 91, .32), 0 0 20px rgba(244, 196, 91, .10);
}

.bca-public-select-panel {
  position: absolute;
  z-index: 99999;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  max-height: 320px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid rgba(205, 145, 54, .48);
  border-radius: 12px;
  background: #071326;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .50), inset 0 0 0 1px rgba(255, 255, 255, .025);
  display: none;
}

.bca-public-select-wrap.is-open .bca-public-select-panel {
  display: block;
}

.bca-public-select-option {
  display: block;
  width: 100%;
  min-height: 34px;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(238, 245, 255, .94);
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.bca-public-select-option:hover,
.bca-public-select-option:focus {
  background: rgba(244, 196, 91, .14);
  color: #ffffff;
  outline: none;
}

.bca-public-select-option.is-selected {
  background: rgba(35, 99, 198, .72);
  color: #ffffff;
}

.bca-public-select-option.is-disabled {
  opacity: .72;
  cursor: default;
}

.bca-public-select-option.is-disabled:hover,
.bca-public-select-option.is-disabled:focus {
  background: transparent;
  color: rgba(238, 245, 255, .76);
}
