.ginput_container_modal_dropdown {
  position: relative;
}

.modal-select {
  position: relative;
}

.modal-select-trigger {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(50, 47, 48, 0.25);
  border-radius: 10px;
  padding: 12px 16px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.modal-select-trigger:focus {
  border-color: #066c6f;
  outline: 0;
}

.modal-select-trigger img,
.modal-select-caret {
  width: 14px;
  flex: 0 0 14px;
  color: #322f30;
  font-size: 12px;
  line-height: 1;
  text-align: center;
  transition: transform 0.2s ease;
}

.modal-select-value {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  letter-spacing: -0.01em;
  color: #767676;
}

.modal-select-value.is-selected {
  color: #322f30;
}

.modal-select-menu {
  margin: 0;
  padding: 16px;
  list-style: none;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
  max-height: 324px;
  overflow: auto;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10010;
}

.modal-select-menu li + li {
  margin-top: 8px;
}

.modal-select-menu::-webkit-scrollbar {
  width: 6px;
}

.modal-select-menu::-webkit-scrollbar-track {
  background: transparent;
}

.modal-select-menu::-webkit-scrollbar-thumb {
  background: #b9b9b9;
  border-radius: 999px;
}

.modal-select-option {
  width: 100%;
  height: 40px;
  border: 0;
  border-radius: 8px;
  padding: 8px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  letter-spacing: -0.01em;
  color: #322f30;
  transition: background 0.2s ease;
}

.modal-select-option:hover,
.modal-select-option.is-selected {
  background: #f7f6f5;
}

.modal-select-empty {
  display: block;
  padding: 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  line-height: 140%;
  color: #767676;
}

.js-modal-select.is-open .modal-select-trigger {
  border-color: #322f30;
}

.js-modal-select.is-open .modal-select-trigger img,
.js-modal-select.is-open .modal-select-caret {
  transform: rotate(180deg);
}

.js-modal-select.is-open .modal-select-menu {
  display: block;
}

.gfield_error .modal-select-trigger {
  border-color: #c80b0f;
}
