.cursor-pointer {
  cursor: pointer;
}
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.items-center {
  align-items: center;
}
.items-start {
  align-items: flex-start;
}
.items-end {
  align-items: flex-end;
}
.justify-center {
  justify-content: center;
}
.justify-start {
  justify-content: flex-start;
}
.justify-end {
  justify-content: flex-end;
}
.justify-between {
  justify-content: space-between;
}
.ml-8 {
  margin-left: 8px;
}
.ml-4 {
  margin-left: 4px;
}
.text-primary {
  color: var(--theme-primary-color);
}

.text-info {
  color: var(--theme-medium-text-color);
}

.search-position-sticky {
  position: sticky;
  top: 0;
  z-index: 797;
  background-color: #f5f5f5;
}

.search_wrap {
  width: 1200px;
  background: #fff;
  border-radius: 4px;
  margin: 0 auto;
  margin-top: 12px;
  border-bottom: 1px solid #ededed;
}

.search_form_title {
  width: 1200px;
  z-index: 797;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 16px;
  border-radius: 4px 4px 0 0;
  border-bottom: 1px solid #ededed;
  margin: 0 auto;
  margin-top: 10px;
  background-color: #fff;
}

.search_form_wrap {
  width: 1200px;
  position: relative;
  background: #fff;
  border-radius: 0 0 4px 4px;
  margin: 0 auto;
  margin-bottom: 17px;
}

.search_form_title_capture {
  font-weight: bold;
  font-size: 15px;
}

.search_form_title_total {
  color: var(--theme-medium-text-color);
  font-weight: bold;
  flex: 1;
  margin-left: 60px;
  display: none;
}

.search_form_title_total > span {
  color: #e03333;
}

.search_form_title_total > #searchFormTitleSign {
  color: var(--theme-medium-text-color);
}

.search_form_title_actions {
  margin-left: 60px;
}

.search_form_title_actions .search_form_button {
  display: flex;
  align-items: center;
  color: #333;
  display: none;
}

.search_form_title_actions .search_form_button .iconfont {
  font-size: 14px;
  margin-right: 4px;
  color: var(--color-primary-product);
}

.search_form_title_actions .search_form_button .dropdown-icon {
  font-size: 16px;
  margin-right: 0;
  margin-left: 4px;
  color: #333;
}

.search_form_wrap .search-form-slide-down {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 100%);
  width: 88px;
  height: 22px;
  background: url(/static/Public/images/new_home/slide-down-bg.png) 0 0;
  background-size: 100% 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search_form_wrap .search-form-slide-down > .iconfont {
  font-size: 14px;
}

.search_form_wrap.slide-down .search-form-slide-down > .iconfont {
  transform: rotate(180deg);
}

.search-box-container {
  padding: 0 14px;
  max-height: 102px;
  overflow-y: auto;
}

.search-box-wrapper {
  margin-right: 20px;
}

.search-box-wrapper:not(:empty) + .search-box-wrapper:not(:empty) {
  margin-left: -10px;
}

.search-box-wrapper:empty {
  display: none;
}

.search-box-item {
  border: 1px solid var(--color-primary-product);
  padding: 0 4px;
  padding-left: 4px;
  border-radius: 2px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  margin-right: 10px;
  margin-bottom: 10px;
  height: 24px;
}

.search-box-item:last-child {
  margin-right: 0;
}

.search-box-item-label {
  display: inline-flex;
  align-items: center;
  color: var(--theme-medium-text-color);
}
.search-box-item-label.dropdwon {
  cursor: pointer;
}
.search-box-item-label.dropdwon:hover {
  color: var(--color-primary-product);
}
.search-box-item-label i {
  font-size: 16px;
  color: var(--theme-dark-text-color);
}
.search-box-item-content {
  color: var(--color-primary-product);
}

.search-box-item-tag {
  background: rgba(10, 93, 231, 0.12);
  border-radius: 2px;
  padding: 0 3px;
  line-height: 17px;
  margin-left: 3px;
  color: var(--color-primary-product);
  cursor: pointer;
}

.search-box-item-close {
  font-size: 14px !important;
  color: var(--theme-medium-text-color);
  margin-left: 3px;
  cursor: pointer;
}

.search-box-item.readonly {
  border-color: rgba(153, 153, 153, 0.3);
}

.search-box-item.readonly .search-box-item-label {
  color: #999;
}

.search-box-item.readonly .search-box-item-content {
  color: #333;
}

.search-box-wrapper .search-box-item.readonly {
  border: 1px solid var(--color-primary-product);
}

.search-box-wrapper .search-box-item.readonly .search-box-item-label {
  color: var(--theme-medium-text-color);
}

.search-box-wrapper .search-box-item.readonly .search-box-item-content {
  color: var(--color-primary-product);
}

.search-box-item.readonly .icon-caret-down-small,
.search-box-item.readonly .search-box-item-tag,
.search-box-item.readonly .search-box-item-close {
  display: none !important;
}

.search-button-wrapper {
  display: none;
}

.search-button-wrapper a {
  color: #333;
  margin-left: 12px;
  display: inline-block;
  margin-bottom: 10px;
}

.search-button-wrapper a:first-child {
  margin-left: 0;
}

.search-button-wrapper a .iconfont {
  color: var(--color-primary-product);
}

.search-form-content {
  padding: 10px 0;
  height: 144px;
  overflow: hidden;
  position: relative;
}
.search-form-content::after {
  position: absolute;
  left: 0;
  bottom: 0;
  content: "";
  display: block;
  height: 53px;
  width: 100%;
  background: linear-gradient(rgba(255, 255, 255, 0), #fff);
  pointer-events: none;
}

.search_form_wrap.slide-down .search-form-content {
  height: auto;
  overflow: auto;
}

.search_form_wrap.slide-down .search-form-content::after {
  display: none;
}

.search-form-layout[data-layout="basic"] .search-form-item {
  padding: 5px 16px;
  display: flex;
  align-items: flex-start;
}

.search-form-layout[data-layout="basic"] .search-form-item:hover {
  background: rgba(10, 93, 231, 0.05);
}

.search-form-layout[data-layout="col"] > .search-form-label,
.search-form-layout[data-layout="row"] > .search-form-label,
.search-form-layout[data-layout="result-type"] > .search-form-label,
.search-form-layout[data-layout="basic"] .search-form-item .search-form-label {
  margin: 0;
  font-weight: normal;
  width: 90px;
  text-align: left;
  margin-right: 10px;
  line-height: 32px;
  color: #333;
  flex-shrink: 0;
  font-weight: bold;
}

.search-form-layout[data-layout="basic"] .search-form-item .search-form-label {
  display: inline-flex;
  align-items: center;
}

.search-form-layout[data-layout="basic"] .search-form-item .search-form-label.use-vip::after,
.search-form-layout[data-layout="col"] .search-form-body .search-form-label.use-vip::after,
.search-form-layout[data-layout="row"] .search-form-body .search-form-label.use-vip::after,
.search-form-layout[data-layout="result-type"] > .search-form-label.use-vip::after {
  content: "";
  width: 24px;
  height: 13px;
  margin-left: 4px;
  background-image: url("/static/Public/images/new_home/VIP_tag.png");
  background-size: 100% 100%;
  display: inline-block;
}

.search-form-layout[data-layout="basic"] .search-form-item .search-form-control {
  padding: 0;
  border: none;
}

.search-form-layout[data-layout="basic"] .search-form-item:nth-child(3):hover {
  background-color: transparent;
}
.search-form-layout[data-layout="basic"] .search-form-item:nth-child(3) .search-form-control {
  flex: 1;
}

.search-form-layout[data-layout="col"],
.search-form-layout[data-layout="row"] {
  display: flex;
  align-items: flex-start;
  padding: 5px 16px;
}

.search-form-layout[data-layout="col"] {
  margin-top: 5px;
  padding-top: 10px;
  border-top: 1px solid #ededed;
}

.search-form-layout[data-layout="col"] .search-form-body {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: -10px;
}

.search-form-layout[data-layout="col"] .search-form-body .search-form-item {
  margin-right: 34px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.search-form-layout[data-layout="col"] .search-form-body .search-form-item .search-form-label {
  margin: 0;
  font-weight: normal;
  width: 94px;
  text-align: left;
  margin-right: 10px;
  line-height: 32px;
  display: inline-flex;
  align-items: center;
}

.search-form-layout[data-layout="row"] {
  padding-bottom: 0;
  flex: 1;
}

.search-form-layout[data-layout="row"] .search-form-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
}

.search-form-layout[data-layout="row"] .search-form-body .search-form-item {
  padding: 4px 0;
  line-height: 24px;
  position: relative;
}

.search-form-layout[data-layout="row"] .search-form-body .search-form-item:last-child {
  margin-right: 0;
}

.search-form-layout[data-layout="row"]
  .search-form-body
  .search-form-item
  .search-form-label.use-vip::after {
  position: absolute;
  bottom: calc(100% - 8px);
  right: 16px;
  height: 14px;
  margin-left: 0px;
  background-image: url("/static/Public/images/new_home/VIP_tag2.png");
}

.search-form-layout[data-layout="result-type"] {
  padding: 5px 16px;
  display: flex;
  align-items: flex-start;
}

.search-form-layout[data-layout="result-type"] > .search-form-label {
  display: inline-flex;
  align-items: center;
}

.search-form-layout[data-layout="result-type"] .search-form-item {
  margin-bottom: 4px;
}

.search-form-layout[data-layout="result-type"] .search-form-item:last-child {
  margin-bottom: 0;
}

.group-box {
  background: #fafafb;
  padding: 3px 10px;
  padding-right: 4px;
  border-radius: 4px;
  display: flex;
  align-items: flex-start;
}

.group-box > .custom-checkbox {
  flex-shrink: 0;
  margin-right: 18px;
}

.group-box > .checkbox-group {
  border: 1px solid #ecebeb;
  border-radius: 4px;
  padding: 0 10px;
  position: relative;
  flex: 1;
}

.group-box > .checkbox-group::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 11px;
  width: 10px;
  height: 10px;
  border-top: 1px solid #ecebeb;
  border-left: 1px solid #ecebeb;
  transform: rotate(-45deg);
  z-index: 1;
  background: #fafafb;
}

.group-box > .checkbox-group .custom-checkbox {
  margin-right: 10px;
}

.group-box > .checkbox-group .custom-checkbox:last-child {
  margin-right: 0;
}

.group-box > .checkbox-group .custom-checkbox .checkbox-label {
  width: 96px;
  white-space: nowrap;
}

.search-form-control .search-number {
  color: var(--color-primary-product);
}

.search-form-control .search-number:empty {
  display: none;
}

.search-input-box {
  position: relative;
  width: 280px;
  border-radius: 4px;
  border: 1px solid #ededed;
  padding: 3px 8px;
  /* display: flex; */
  /* align-items: center; */
  background-color: #fff;
  min-height: 32px;
  cursor: pointer;
  /* padding-right: 28px; */
  display: flex;
  align-items: center;
}

.search-input-box:hover,
.search-input-box:focus-within {
  border-color: var(--color-primary-product);
}

.search-input-box .search-input-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  /* bottom: 0; */
  margin: auto 0;
  cursor: pointer;
  color: #d9d9d9;
  font-size: 14px;
  display: none;
}

.search-input-box .search-input-clear:hover {
  color: #999;
}

.search-input-box:focus-within .search-input-clear.hover-show,
.search-input-box:hover .search-input-clear.hover-show {
  display: block;
}

.search-input-box .search-input-content {
  /* display: inline-flex; */
  /* align-items: center; */
  /* gap: 4px; */
  line-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
}

.search-input-box.focus-single .search-input-content {
  max-width: 50%;
}

.search-input-box.focus-single .search-input-content .input-tag-item {
  max-width: 100%;
}

.search-input-box.focus-single .search-input-content .input-tag-item > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-input-box.focus .search-input-content {
  max-width: 91px;
}

.search-input-box.focus .search-input-content::before {
  content: "\e607";
  position: absolute;
  left: 0;
  top: 2px;
  background-color: #f5f5f8;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 20px;
  width: 14px;
  font-family: "iconfont" !important;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.search-input-box.focus .search-input-content::before:hover {
  color: var(--color-primary-product);
}

.search-input-box .search-input-content:not(:empty) {
  margin-right: 4px;
}

.search-input-box .search-input-content .input-tag-item {
  margin-right: 4px;
  margin-top: 2px;
  margin-bottom: 2px;
}
.search-input-box .search-input-content .input-tag-item:last-child {
  margin-right: 0;
}

.search-input-box .search-input-content:empty::before {
  content: attr(placeholder);
  color: var(--theme-light-text-color);
}

.search-input-box .search-input-number {
  margin-right: 4px;
  line-height: 20px;
  background: #f5f5f8;
  border-radius: 2px;
  display: inline-block;
  /* align-items: center; */
  padding: 0 4px;
  font-size: 12px;
}

.search-input-box .search-input-number:empty {
  display: none;
}

.search-input-box .search-input-number:hover {
  background: rgba(10, 93, 231, 0.1);
  color: var(--color-primary-product);
}

.search-input-box > .input {
  flex: 1;
  width: 0;
  height: 24px;
  display: inline-block;
  border: none;
  margin: 0;
  padding: 0;
  outline: none;
  min-width: 40px;
}

.search-input-count {
  color: #999;
}

.search-tag-dropdown-content {
  margin: 10px 0;
  background: #fff;
  padding-top: 4px;
  padding-left: 4px;
  border-radius: 4px;
  box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.13);
}

.search-tag-dropdown-content .input-tag-item {
  margin-bottom: 4px;
  margin-right: 4px;
}

.input-picker-wrapper {
  border: 1px solid #ededed;
  border-radius: 4px;
  display: flex;
  align-items: center;
  padding: 0 8px;
  gap: 8px;
  background-color: #fff;
}

.input-picker-wrapper input {
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
  text-align: center;
  flex: 1;
  height: 24px;
  width: 50%;
}

.input-tag-item {
  line-height: 20px;
  background: #f5f5f8;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  padding: 0 4px;
  font-size: 12px;
}

.input-tag-item .iconfont {
  color: #666666;
  margin-left: 2px;
  font-size: 14px;
  cursor: pointer;
}

.button-box {
  display: inline-block;
  padding: 7px 17px;
  border: none;
  border-radius: 4px;
  line-height: 1;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  outline: none;
  background: #fff;
  color: #666;
  border: 1px solid #d9d9d9;
  flex-shrink: 0;
}

.button-box.small {
  padding: 5px 10px;
}

.button-box:hover {
  color: var(--color-primary-product, #1890ff);
  border-color: var(--color-primary-product, #1890ff);
}

.button-box.primary {
  background: var(--color-primary-product, #1890ff);
  color: #fff;
}

.button-box.primary:hover {
  opacity: 0.85;
}
.button-box.primary.plan {
  color: var(--color-primary-product, #1890ff);
  background: rgba(10, 93, 231, 0.1);
  border-color: transparent;
}

.button-box.disabled {
  opacity: 0.5 !important;
  cursor: not-allowed;
}

.search-dropdown-label {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.search-dropdown-label:hover {
  color: var(--color-primary-product);
}

.search-autocomplete-dropdown {
  width: 480px;
  background: #fff;
  box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.13);
  border-radius: 4px;
  margin: 5px 0;
}

.search-autocomplete-dropdown-header {
  padding: 10px;
  padding-bottom: 0;
}

/* .search-autocomplete-dropdown-header .search-input-box {
  width: 100%;
}

.search-autocomplete-dropdown-header .search-input-box .search-input-content {
  margin-right: 4px;
}

.search-autocomplete-dropdown-header .search-input-box .search-input-content:empty {
  display: none;
} */

/* .search-autocomplete-dropdown-header .search-input-box .search-autocomplete-dropdown-input {
  width: 160px;
  border: none;
  outline: none;
  height: 22px;
  margin-left: 0;
  padding: 0;
} */

.search-autocomplete-dropdown-list {
  margin: 6px 0;
  overflow-y: auto;
  position: relative;
  height: 175px;
}

.search-autocomplete-dropdown-empty {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #666666;
  text-align: center;
}

.search-autocomplete-dropdown-item {
  padding: 7.5px 10px;
  line-height: 20px;
  cursor: pointer;
}

.search-autocomplete-dropdown-item > span {
  font-size: 12px;
  background: rgba(10, 93, 231, 0.1);
  color: var(--color-primary-product);
  margin-right: 4px;
  line-height: 18px;
  margin-top: 1px;
  margin-bottom: 1px;
  display: inline-block;
  padding: 0 4px;
  border-radius: 2px;
}

.search-autocomplete-dropdown-item:hover {
  background: rgba(10, 93, 231, 0.1);
  color: var(--color-primary-product);
}

.search-autocomplete-dropdown-item > i {
  color: #e03333;
}

.search-autocomplete-dropdown-item.disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.search-autocomplete-dropdown-footer {
  border-top: 1px solid #ededed;
  padding: 10px;
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.multiple-dropdown-body .input-picker-wrapper {
  border: none;
  padding: 0;
  background: transparent;
}

.multiple-dropdown-body .input-picker-wrapper input {
  text-align: left;
  height: 28px;
  color: #333;
  padding: 0 8px;
  border: 1px solid #ededed;
  border-radius: 4px;
}

.multiple-dropdown-body .input-picker-wrapper .input-slot {
  position: relative;
}

.multiple-dropdown-body .input-picker-wrapper .input-slot[suffix] input {
  padding-right: 28px;
}

.multiple-dropdown-body .input-picker-wrapper .input-slot[suffix]::after {
  content: attr(suffix);
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 14px;
}

.multiple-dropdown-body .input-picker-wrapper .input-slot input {
  width: 100%;
}

.multiple-dropdown-body .checkbox-label .button-box {
  padding-left: 10px;
  padding-right: 10px;
}

.multiple-dropdown-footer .button-box {
  padding: 0;
  border: none;
  display: inline-flex;
  align-items: center;
  color: #999999;
  background: transparent;
}

.multiple-dropdown-footer .button-box:hover {
  color: var(--color-primary-product);
}

.all-law-text-ul,
.dsr-tag-ul {
  min-height: 158px;
  max-height: 250px;
  overflow-y: auto;
}

.all-law-text-ul .all-law-text-li,
.dsr-tag-ul .dsr-tag-li {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
}

.all-law-text-ul .all-law-text-li:last-child,
.dsr-tag-ul .dsr-tag-li:last-child {
  margin-bottom: 0;
}

.all-law-text-ul .all-law-text-li .icon,
.dsr-tag-ul .dsr-tag-li .icon {
  width: 30px;
  height: 30px;
  border: 1px solid #ededed;
  border-radius: 4px;
  color: #c4c4c4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  margin-left: 6px;
  flex-shrink: 0;
}

.all-law-text-ul .all-law-text-li .icon:hover,
.dsr-tag-ul .dsr-tag-li .icon:hover {
  color: var(--color-primary-product);
  border-color: var(--color-primary-product);
}

.all-law-text-ul .all-law-text-li .all-law-text-input,
.dsr-tag-ul .dsr-tag-li .dsr-tag-input {
  border: 1px solid #ededed;
  border-radius: 4px;
  padding: 5px 0;
  flex: 1;
  display: flex;
  align-items: center;
}

.all-law-text-ul .all-law-text-li .all-law-text-input > input,
.dsr-tag-ul .dsr-tag-li .dsr-tag-input > input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0 8px;
  height: 20px;
  width: 0;
}

.all-law-text-ul .all-law-text-li .all-law-text-input .all-law-text-item {
  flex-shrink: 0;
  padding-right: 10px;
  padding-left: 10px;
  border-left: 1px solid #ededed;
}

.all-law-text-ul .all-law-text-li .all-law-text-input .all-law-text-item > input {
  border: 1px solid #ededed;
  outline: none;
  height: 20px;
  width: 20px;
  border-radius: 4px;
  text-align: center;
  margin: 0 4px;
  padding: 0;
  font-size: 12px;
}

.dsr-tag-ul .dsr-tag-li .dsr-tag-input .search-dropdown-label {
  flex-shrink: 0;
  padding-right: 10px;
  padding-left: 10px;
  border-right: 1px solid #ededed;
  justify-content: center;
}

.dsr-tag-ul .dsr-tag-li .dsr-tag-input .search-dropdown-label.sideLabel {
  width: 107px;
}

.dsr-tag-ul .dsr-tag-li .dsr-tag-input .search-dropdown-label.typeLabel {
  width: 123px;
}

.search-input-box.dsr-tag {
  display: flex;
  align-items: center;
  gap: 5px;
  padding-right: 28px;
}

.search-input-box.dsr-tag .search-input-content {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  justify-content: flex-start;
}

.search-input-box.dsr-tag .search-dropdown-label {
  flex-shrink: 0;
}

.search-input-box.dsr-tag .search-input-number {
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: var(--color-primary-product);
  background: transparent;
}

.synonym-header {
  margin-bottom: 12px;
  display: flex;
  gap: 8px;
  align-items: center;
  color: #666666;
}

.synonym-header .search-input-box {
  flex: 1;
}

.synonym-dialog .custom-checkbox .checkbox-label {
  max-width: 70px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.save-template-dialog > div {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.save-template-dialog > div:last-child {
  margin: 0;
}

.save-template-dialog .save-template-tags {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: -10px;
}

.save-template-dialog .search-input-box {
  flex: 1;
  width: 0;
}

.save-template-dialog label {
  margin: 0;
  font-weight: normal;
  color: #666;
  flex-shrink: 0;
  line-height: 32px;
}

.template-dropdown-body {
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.13);
  border-radius: 4px;
  margin: 5px 0;
}

.template-dropdown-header {
  padding: 12px 10px;
  border-bottom: 1px solid #ededed;
  display: flex;
  align-items: center;
  justify-content: space-between;
  line-height: 26px;
}

.template-dropdown-header h3 {
  font-size: 14px;
  color: #333;
  font-weight: normal;
}

.template-dropdown-header .setting {
  font-size: 17px;
  color: #999999;
  cursor: pointer;
}

.template-dropdown-header .save {
  display: none;
}

.template-dropdown-header .setting:hover {
  color: var(--color-primary-product);
}

.template-dropdown-body.editable .template-dropdown-header .setting {
  display: none;
}

.template-dropdown-body.editable .template-dropdown-header .save {
  display: block;
}

.template-dropdown-content {
  max-height: 390px;
  overflow: auto;
  padding: 10px;
}

.template-dropdown-item {
  padding: 12px 10px;
  border-radius: 4px;
  background-color: rgba(245, 245, 248, 0.7);
  margin-bottom: 10px;
  cursor: pointer;
}

.template-dropdown-body.editable .template-dropdown-item {
  cursor: default;
}

.template-dropdown-item:last-child {
  margin-bottom: 0;
}

.template-dropdown-item:hover {
  background: rgba(10, 93, 231, 0.05);
}

.template-dropdown-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.template-dropdown-title {
  flex: 1;
  width: 0;
}

.template-dropdown-title > div:first-child {
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 32px;
}

.template-dropdown-title > div:last-child {
  display: none;
  align-items: center;
  gap: 8px;
}

.template-dropdown-title .search-input-box {
  width: 250px;
}

.template-dropdown-item.editing .template-dropdown-title > div:first-child {
  display: none;
}

.template-dropdown-item.editing .template-dropdown-title > div:last-child {
  display: flex;
}

.template-dropdown-item:hover .template-dropdown-title > div:first-child {
  color: var(--color-primary-product);
}

.template-dropdown-actions > div:first-child {
  color: var(--theme-light-text-color);
}

.template-dropdown-actions > div:last-child {
  display: none;
  align-items: center;
  gap: 12px;
  font-size: 16px;
}

.template-dropdown-actions > div:last-child .iconfont {
  cursor: pointer;
}

.template-dropdown-actions > div:last-child .iconfont:hover {
  color: var(--color-primary-product);
}

.template-dropdown-body.editable .template-dropdown-actions > div:first-child {
  display: none;
}

.template-dropdown-body.editable .template-dropdown-actions > div:last-child {
  display: flex;
}

.template-dropdown-item.editing .template-dropdown-actions > div:last-child {
  display: none;
}

.template-dropdown-tags {
  margin-bottom: -10px;
  margin-top: 10px;
}

.template-dropdown-tags:empty {
  display: none;
}

.hsv4 {
  background: #fdf3e1;
  border-radius: 2px;
  line-height: 22px;
  color: #333;
  font-size: 12px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  margin-top: 5px;
  margin-right: 16px;
}

.hsv4 > span {
  color: #6b3712;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.hsv4 > span .iconfont {
  font-size: 14px;
  margin: 0 4px;
}

.dialog-container.dsr-tag-dropdown {
  position: initial;
  transform: none;
  max-height: auto;
  max-height: auto;
  height: 258px;
  width: 560px;
  opacity: 1;
  margin: 5px 0;
}


.keyword-custom-dropdown {
  max-height: initial !important;
}

.keyword-custom-dropdown .dropdown_select_dropdown_item {
  padding: 5px 8px;
}