/* 下拉容器样式 */
.dropdown-container {
  position: relative;
  width: 100%;
}

/* 下拉触发器样式 */
.dropdown-trigger {
  width: 100%;
  /* padding: 12px 15px; */
  line-height: 30px;
  background-color: white;
  border: 1px solid #DCDFE6;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  /* align-items: center; */
  font-size: 16px;
  color: #333;
  transition: all 0.2s ease;
  padding-left: 9px;
  padding-right: 9px;
}

/* .dropdown-trigger:hover {
  border-color: #888;
} */

.dropdown-trigger:focus {
  outline: none;
  border-color: #4a90e2;
  box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

/* 下拉箭头样式 */
.dropdown-arrow {
  width: 20px;
  height: 15px;
  /* border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #666; */
  transition: transform 0.2s ease;
}
.dropdown-arrow .icon{
  width: 100%;
  height: 100%;
}
.dropdown-container.open .dropdown-arrow {
  transform: rotate(180deg);
}

/* 下拉选项列表样式 */
.dropdown-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 5px;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  max-height: 300px;
  overflow-y: auto;
  overflow-x: hidden;
  transition: max-height 0.3s ease;
  z-index: 100;
  display: none;
}

/* 滚动条整体部分 */
.dropdown-options::-webkit-scrollbar {
    width: 3px; /* 滚动条的宽度 */
}
 
/* 滚动条轨道 */
.dropdown-options::-webkit-scrollbar-track {
    background: #f1f1f1; /* 轨道颜色 */
}
 
/* 滚动条滑块 */
.dropdown-options::-webkit-scrollbar-thumb {
    background: #ADADAD; /* 滑块颜色 */
    border-radius: 10px; /* 滑块圆角 */
}




/* .dropdown-container.open .dropdown-options {
  max-height: 200px;
} */

/* 选项样式 */
.dropdown-option {
  padding: 12px 15px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.dropdown-option:hover {
  background-color: #5cac4a0d;
  color: #5CAC4A;
}

.dropdown-option.selected {
  background-color: #5cac4a0d;
  color: #5CAC4A;
  font-weight: 500;
}

/* 分隔线 */
.dropdown-divider {
  height: 1px;
  background-color: #eee;
  margin: 5px 0;
}

#selectedText{
  white-space: nowrap;    /* 禁止文本换行 */
overflow: hidden;       /* 超出容器的部分隐藏 */
text-overflow: ellipsis; /* 超出部分显示省略号（...） */

font-size: 14px;
}