/* Ô select đóng - vẫn nằm trong wrap gốc nên giữ scope */
.uagb-forms-select-wrap .choices__inner {
  background: #55606d !important;
  border: none !important;
  border-radius: 6px !important;
  color: #fff !important;
  padding: 12px 16px !important;
  min-height: unset !important;
}

.uagb-forms-select-wrap .choices__list--single .choices__item {
  color: #fff;
  font-weight: 600;
  font-size: 15px;
}

/* Custom Icon hình chữ V cho ô select */
.choices[data-type*="select-one"]::after,
.uagb-forms-select-wrap .choices[data-type*="select-one"]::after {
  content: "" !important;
  height: 7px !important;
  width: 7px !important;
  border-style: solid !important;
  border-color: #ffffff !important;
  border-width: 0 2px 2px 0 !important;
  position: absolute !important;
  right: 16px !important;
  top: 50% !important;
  margin-top: -5px !important;
  transform: rotate(45deg) !important;
  transition:
    transform 0.2s ease,
    margin-top 0.2s ease !important;
  pointer-events: none !important;
}

.choices[data-type*="select-one"].is-open::after,
.uagb-forms-select-wrap .choices[data-type*="select-one"].is-open::after {
  margin-top: -2px !important;
  transform: rotate(-135deg) !important;
}

.choices__list--dropdown {
  background: #fff !important;
  border: 1px solid #e2e5ea !important;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  z-index: 2147483647 !important;
  overflow: hidden !important;
}

.choices__list--dropdown .choices__list {
  max-height: 280px;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
}

/* Custom Scrollbar cho Dropdown */
.choices__list--dropdown .choices__list::-webkit-scrollbar {
  width: 6px;
}

.choices__list--dropdown .choices__list::-webkit-scrollbar-track {
  background: #f1f3f5;
  border-radius: 4px;
}

.choices__list--dropdown .choices__list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.choices__list--dropdown .choices__list::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.choices__list--dropdown .choices__item--selectable {
  color: #4a5568;
  font-size: 14px;
  padding: 10px 16px;
  line-height: 1.4;
}

.choices__list--dropdown .choices__item--selectable.is-highlighted {
  background: #f2f4f7 !important;
}

.choices__list--dropdown .choices__item--choice.is-selected {
  background: #4779b7 !important;
  color: #fff !important;
  font-weight: 600;
}
