.wepro-v12-select {
  display: inline-block;
  font-family: var(--wepro-font, 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
  position: relative;
  vertical-align: middle;
}

.wepro-v12-select.is-open {
  z-index: 40;
}

.wepro-v12-select__trigger {
  align-items: center;
  background: #fff;
  border: 1px solid #d3dad3;
  border-radius: 10px;
  color: #141815;
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  gap: 8px;
  justify-content: space-between;
  line-height: 1.2;
  min-height: 34px;
  min-width: 72px;
  padding: 6px 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  width: 100%;
}

.wepro-v12-select--pill .wepro-v12-select__trigger {
  border-radius: 999px;
}

.wepro-v12-select__trigger:hover,
.wepro-v12-select__trigger:focus {
  background: #fff;
  border-color: #cfd9e8;
  box-shadow: none;
  outline: none;
}

.wepro-v12-select.is-open .wepro-v12-select__trigger {
  border-color: #cfd9e8;
  box-shadow: none;
}

.wepro-v12-select__value {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
}

.wepro-v12-select__chevron {
  color: #94a3b8;
  flex: 0 0 auto;
  font-size: 11px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.wepro-v12-select.is-open .wepro-v12-select__chevron {
  transform: rotate(180deg);
}

.wepro-v12-select__menu {
  background: #fff;
  border: 1px solid #dbe4ee;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
  display: grid;
  gap: 2px;
  isolation: isolate;
  left: 0;
  margin: 0;
  max-height: 260px;
  min-width: 100%;
  opacity: 0;
  overflow-y: auto;
  padding: 6px;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 6px);
  transform: translateY(-6px) scale(0.98);
  transform-origin: top center;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
  visibility: hidden;
  z-index: 40;
}

.wepro-v12-select__menu--align-right {
  left: auto;
  right: 0;
}

.wepro-v12-select.is-open .wepro-v12-select__menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  visibility: visible;
}

.wepro-v12-select__label {
  color: #1f2937;
  flex: 1 1 auto;
  min-width: 0;
}

.wepro-v12-select__option {
  align-items: center;
  background: #fff;
  border: 0;
  border-radius: 8px;
  color: #1f2937;
  cursor: pointer;
  display: flex;
  font-size: 13px;
  font-weight: 600;
  gap: 8px;
  min-height: 34px;
  padding: 6px 10px;
  text-align: left;
  transition: background-color 0.15s ease, color 0.15s ease;
  width: 100%;
}

.wepro-v12-select__option:hover,
.wepro-v12-select__option:focus {
  background: #f3f4f6;
  color: #1f2937;
  outline: none;
}

.wepro-v12-select__option.is-selected {
  background: #fff;
  color: #1f2937;
}

.wepro-v12-select__option.is-selected .wepro-v12-select__label {
  color: #1f2937;
}

.wepro-v12-select__option.is-selected:hover,
.wepro-v12-select__option.is-selected:focus {
  background: #f3f4f6;
}

.wepro-v12-select__check {
  color: #43a83f;
  flex: 0 0 12px;
  font-size: 11px;
  opacity: 0;
  text-align: center;
  width: 12px;
}

.wepro-v12-select__option.is-selected .wepro-v12-select__check {
  opacity: 1;
}

.wepro-v12-select.is-disabled .wepro-v12-select__trigger {
  background: #f6f8f6;
  color: #94a3b8;
  cursor: not-allowed;
  opacity: 0.85;
  pointer-events: none;
}

.wepro-v12-select.is-disabled .wepro-v12-select__chevron {
  color: #cbd5e1;
}

.wepro-v12-select__native,
.wepro-v12-select select.wepro-v12-select-native {
  border: 0 !important;
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  visibility: hidden !important;
  width: 0 !important;
}

/* Search select + multi select — same V1.2 theme as WeproV12Select */

.wepro-v12-search-select,
.wepro-v12-multi-select {
  display: block;
  font-family: var(--wepro-font, 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
  position: relative;
  width: 100%;
}

.wepro-v12-multi-select.is-open {
  z-index: 60;
}

.wepro-v12-search-select__label,
.wepro-v12-multi-select__label {
  color: #64748b;
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.wepro-v12-search-select__trigger,
.wepro-v12-multi-select__trigger {
  align-items: center;
  background: #fff;
  border: 1px solid #d3dad3;
  border-radius: 10px;
  color: #141815;
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  gap: 8px;
  justify-content: space-between;
  line-height: 1.2;
  min-height: 42px;
  padding: 8px 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  width: 100%;
}

.wepro-v12-search-select__trigger:hover,
.wepro-v12-search-select__trigger:focus,
.wepro-v12-search-select__trigger:active,
.wepro-v12-search-select__trigger:focus-visible,
.wepro-v12-multi-select__trigger:hover,
.wepro-v12-multi-select__trigger:focus,
.wepro-v12-multi-select__trigger:active,
.wepro-v12-multi-select__trigger:focus-visible {
  background: #fff;
  border-color: #cfd9e8;
  box-shadow: none;
  outline: none !important;
}

.wepro-v12-search-select.is-open .wepro-v12-search-select__trigger,
.wepro-v12-multi-select.is-open .wepro-v12-multi-select__trigger {
  border-color: #cfd9e8;
}

.wepro-v12-search-select__value,
.wepro-v12-multi-select__value {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
}

.wepro-v12-search-select__chevron,
.wepro-v12-multi-select__chevron {
  color: #94a3b8;
  flex: 0 0 auto;
  font-size: 11px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.wepro-v12-search-select.is-open .wepro-v12-search-select__chevron,
.wepro-v12-multi-select.is-open .wepro-v12-multi-select__chevron {
  transform: rotate(180deg);
}

.wepro-v12-search-select__menu,
.wepro-v12-multi-select__menu {
  background: #fff;
  border: 1px solid #dbe4ee;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
  left: 0;
  margin: 0;
  max-height: 320px;
  min-width: 100%;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 6px);
  transform: translateY(-6px) scale(0.98);
  transform-origin: top center;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
  visibility: hidden;
  z-index: 50;
}

.wepro-v12-search-select__menu--align-right,
.wepro-v12-multi-select__menu--align-right {
  left: auto;
  right: 0;
}

.wepro-v12-search-select.is-open .wepro-v12-search-select__menu,
.wepro-v12-multi-select.is-open .wepro-v12-multi-select__menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  visibility: visible;
}

.wepro-v12-search-select__search,
.wepro-v12-multi-select__search {
  align-items: center;
  border-bottom: 1px solid #edf1ed;
  display: flex;
  flex-shrink: 0;
  gap: 8px;
  padding: 10px 12px;
}

.wepro-v12-search-select__search i,
.wepro-v12-multi-select__search i {
  color: #94a3b8;
  flex: 0 0 auto;
  font-size: 13px;
}

.wepro-v12-search-select__search-input,
.wepro-v12-multi-select__search-input {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #1f2937;
  flex: 1 1 auto;
  font-size: 13px;
  font-weight: 500;
  min-width: 0;
  outline: none;
  padding: 0;
  width: 100%;
}

.wepro-v12-search-select__search-input::placeholder,
.wepro-v12-multi-select__search-input::placeholder {
  color: #94a3b8;
}

.wepro-v12-multi-select__actions {
  align-items: center;
  border-bottom: 1px solid #edf1ed;
  display: flex;
  flex-shrink: 0;
  justify-content: space-between;
  padding: 8px 12px;
}

.wepro-v12-multi-select__action {
  background: transparent;
  border: 0;
  color: #64748b;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  outline: none;
  padding: 0;
}

.wepro-v12-multi-select__action:hover,
.wepro-v12-multi-select__action:focus {
  color: #1f2937;
  outline: none;
}

.wepro-v12-search-select__list,
.wepro-v12-multi-select__list {
  flex: 1 1 auto;
  max-height: 240px;
  min-height: 0;
  overflow-y: auto;
  padding: 6px;
}

.wepro-v12-search-select__option,
.wepro-v12-multi-select__option {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: #1f2937;
  cursor: pointer;
  display: flex;
  font-size: 13px;
  font-weight: 600;
  gap: 8px;
  min-height: 34px;
  padding: 6px 10px;
  text-align: left;
  transition: background-color 0.15s ease, color 0.15s ease;
  width: 100%;
}

.wepro-v12-search-select__option:hover,
.wepro-v12-search-select__option:focus,
.wepro-v12-multi-select__option:hover,
.wepro-v12-multi-select__option:focus {
  background: #f3f4f6;
  color: #1f2937;
  outline: none;
}

.wepro-v12-search-select__check,
.wepro-v12-multi-select__check {
  color: #43a83f;
  flex: 0 0 12px;
  font-size: 11px;
  opacity: 0;
  text-align: center;
  width: 12px;
}

.wepro-v12-search-select__option.is-selected .wepro-v12-search-select__check,
.wepro-v12-multi-select__option.is-selected .wepro-v12-multi-select__check {
  opacity: 1;
}

.wepro-v12-search-select__empty,
.wepro-v12-multi-select__empty {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 500;
  padding: 10px 12px;
}

.wepro-v12-search-select.is-disabled .wepro-v12-search-select__trigger,
.wepro-v12-multi-select.is-disabled .wepro-v12-multi-select__trigger {
  background: #f6f8f6;
  color: #94a3b8;
  cursor: not-allowed;
  opacity: 0.85;
  pointer-events: none;
}

.wepro-v12-search-select.is-disabled .wepro-v12-search-select__chevron,
.wepro-v12-multi-select.is-disabled .wepro-v12-multi-select__chevron {
  color: #cbd5e1;
}
