.custom-select-native {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
}

.custom-select {
  position: relative;
  display: block;
  max-width: 100%;
  vertical-align: top;
  width: 100%;
  height: auto;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}

div.custom-select {
  background-image: none !important;
}

.custom-select-trigger {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 40px;
  padding: 10px 14px;
  border: 1px solid #d7d7d7;
  border-radius: 10px;
  background: #fff;
  color: #252525;
  font-size: 15px;
  line-height: 1.4;
  box-sizing: border-box;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.custom-select-trigger:focus {
  outline: none;
  border-color: var(--easydain-custom-select-accent, #289d51);
  box-shadow: 0 0 0 3px rgba(40, 157, 81, 0.12);
}

.custom-select-trigger:disabled {
  background: #f5f5f5;
  color: #999;
  cursor: not-allowed;
  box-shadow: none;
}

.custom-select-trigger-text {
  flex: 1;
  text-align: left;
  padding-right: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-select-trigger-arrow {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #7a7a7a;
  flex: 0 0 auto;
}

.custom-select-mask {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 10020;
}

.custom-select-mask.is-open {
  display: block;
}

.custom-select-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.18);
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  max-height: 70vh;
  display: flex;
  flex-direction: column;
}

.custom-select-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
}

.custom-select-sheet-title {
  font-size: 16px;
  font-weight: 600;
  color: #222;
}

.custom-select-sheet-close {
  border: none;
  background: none;
  color: #666;
  font-size: 14px;
  padding: 4px 0 4px 12px;
}

.custom-select-options {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0;
}

.custom-select-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 16px;
  border: none;
  background: #fff;
  text-align: left;
  font-size: 15px;
  color: #222;
}

.custom-select-option + .custom-select-option {
  border-top: 1px solid #f3f3f3;
}

.custom-select-option.is-selected {
  color: var(--easydain-custom-select-accent, #289d51);
  font-weight: 600;
  background: #f7fcf8;
}

.custom-select-option-check {
  display: none;
  font-size: 16px;
  margin-left: 12px;
}

.custom-select-option.is-selected .custom-select-option-check {
  display: inline;
}
