.single-select {
  position: relative;
}

.single-select.open .single-select-menu {
  display: flex;
  flex-direction: column;
}

.single-select-warning {
  display: none !important;
}

.filter-group.has-warning .single-select-trigger {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12) !important;
}

.filter-label {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0 20px;
  width: 60px;
  height: 40px;
  line-height: 40px;
  text-align: justify;
  vertical-align: middle;
  align-items: center;
}

.filter-label:after {
  content: ' ';
  display: inline-block;
  width: 100%;
}

.filter-label.required{
  position: relative;
  padding-right: 10px;
}

.filter-label.required::before{
  content: "*";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #ef4444;
  font-weight: 700;
}

.single-select {
  position: relative;
  flex: 1 1 120px;
}

.single-select-trigger {
  width: 120px;
  min-height: 40px;
  height: auto;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0 10px 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: #111827;
  cursor: pointer;
  transition: .15s;
}

.single-select-trigger:hover {
  border-color: #0479CD;
  box-shadow: 0 0 0 3px rgba(46, 168, 255, 0.12);
}

.single-select.disabled .single-select-trigger {
  background: #eee;
  color: #999;
  cursor: not-allowed;
}

.single-select.disabled .single-select-trigger i {
  color: #bbb;
}

.single-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10);
  display: none;
  z-index: 20;
  max-height: 220px;
  overflow-y: auto;
}


.single-select.open .single-select-menu {
  display: flex;
  flex-direction: column;
}

.single-select-menu label {
  font-size: 14px;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 6px;
  cursor: pointer;
}

.single-select-menu label:hover {
  background: #f3f4f6;
}

.single-select-menu input[type="checkbox"] {
  width: 16px;
  height: 16px;
}
