.dm-select-foundation-form .dm-contact-field,
.dm-select-foundation-form .form-clt {
  position: relative;
  margin-bottom: 24px;
  overflow: visible;
}

.dm-select-foundation-form .dm-contact-field label,
.dm-select-foundation-form .form-clt label {
  display: block;
  margin-bottom: 10px;
  color: var(--theme-color1);
  -webkit-text-fill-color: var(--theme-color1);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.dm-select-foundation-form .dm-select-foundation__control,
.dm-select-foundation-form .nice-select {
  width: 100%;
  min-height: 0;
  height: auto;
  padding: 0 0 27px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0;
  outline: none;
  background: transparent;
  color: #fff;
  box-shadow: none;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.dm-select-foundation-form .dm-select-foundation__control:focus,
.dm-select-foundation-form .nice-select.open,
.dm-select-foundation-form .nice-select:hover,
.dm-select-foundation-form .nice-select:focus {
  border: 0;
  border-bottom: 1px solid rgba(255, 107, 30, 0.38);
  border-radius: 0;
  background: linear-gradient(180deg, rgba(255, 107, 30, 0.025) 0%, rgba(255, 107, 30, 0.006) 100%);
  color: #fff;
  box-shadow: inset 0 -1px 0 rgba(255, 107, 30, 0.12);
}

.dm-select-foundation-form .nice-select {
  display: flex;
  align-items: flex-start;
  position: relative;
  z-index: 20;
}

.dm-select-foundation-form .dm-contact-field:has(.nice-select.open),
.dm-select-foundation-form .form-clt:has(.nice-select.open),
.dm-select-foundation-form .dm-contact-field.dm-contact-select-open,
.dm-select-foundation-form .form-clt.dm-contact-select-open,
.dm-select-foundation-form .row.dm-contact-select-row-open {
  overflow: visible;
  z-index: 5000;
}

.dm-select-foundation-form.dm-contact-select-form-open {
  overflow: visible;
  z-index: 6500;
}

.dm-select-foundation-form .nice-select.open {
  z-index: 6000;
}

.dm-select-foundation-form .nice-select .current {
  color: #fff;
  line-height: 1.5;
}

.dm-select-foundation-form .nice-select::after {
  right: 2px;
  border-color: #fff;
}

.dm-select-foundation-form .nice-select.open::after,
.dm-select-foundation-form .nice-select:hover::after {
  border-color: var(--theme-color1);
}

.dm-select-foundation-form .nice-select .list {
  left: 0;
  right: 0;
  width: 100%;
  min-width: 100%;
  box-sizing: border-box;
  z-index: var(--dm-admin-layer-dropdown, 7000);
  overflow-x: hidden;
  overflow-y: visible;
  max-height: none;
  border: 1px solid rgba(255, 107, 30, 0.28);
  border-radius: 14px;
  background: #08080c;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 107, 30, 0.72) rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(255, 107, 30, 0.16);
}

.dm-select-foundation-form .nice-select .list.dm-select-list-scroll {
  max-height: 240px;
  overflow-y: auto;
}

.dm-select-foundation-form .nice-select .list.dm-select-list-compact {
  max-height: none;
  overflow-y: visible;
}

.dm-select-foundation-form .nice-select .list.dm-select-list-scroll::-webkit-scrollbar {
  width: 8px;
}

.dm-select-foundation-form .nice-select .list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.dm-select-foundation-form .nice-select .list::-webkit-scrollbar-thumb {
  background: rgba(255, 107, 30, 0.72);
  border-radius: 999px;
}

.dm-select-foundation-form .nice-select .option {
  min-height: 48px;
  padding-top: 0;
  padding-bottom: 0;
  background: #08080c;
  color: rgba(255, 255, 255, 0.9);
  line-height: 48px;
  transition: background 0.18s ease, color 0.18s ease;
}

.dm-select-foundation-form .nice-select .list .option[data-value=""] {
  display: none;
}

.dm-select-foundation-form .nice-select .option:hover,
.dm-select-foundation-form .nice-select .option.focus,
.dm-select-foundation-form .nice-select .option.selected,
.dm-select-foundation-form .nice-select .option.selected.focus,
.dm-select-foundation-form .nice-select .option.selected:hover,
.dm-admin-ai-blog-studio .tox-tinymce-aux .tox-collection__item:hover,
.dm-admin-ai-blog-studio .tox-tinymce-aux .tox-collection__item.tox-collection__item--active,
.dm-admin-ai-blog-studio .tox-tinymce-aux .tox-collection__item.tox-collection__item--enabled,
.dm-admin-ai-blog-studio .tox-tinymce-aux .tox-collection__item[aria-checked='true'] {
  background: rgba(255, 107, 30, 0.24);
  background-color: rgba(255, 107, 30, 0.24);
  background-image: none;
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.dm-admin-ai-blog-studio .tox-tinymce-aux .tox-collection__item.tox-collection__item--active,
.dm-admin-ai-blog-studio .tox-tinymce-aux .tox-collection__item[aria-checked='true'] {
  box-shadow: none;
}
