/* custom-select 공통 스타일 */

select.custom-select-hidden {
  display: none !important;
}

html body div.cs-wrap {
  position: relative !important;
  width: 100% !important;
  min-width: 0 !important;
}

html body div.cs-trigger {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  height: 34px !important;
  padding: 6px 12px !important;
  margin: 0 !important;
  border: 1px solid #ccc !important;
  border-radius: 4px !important;
  background: #fff !important;
  box-sizing: border-box !important;
  color: #333 !important;
  font-size: 14px !important;
  cursor: pointer !important;
  float: none !important;
}

html body div.cs-trigger:hover {
  border-color: #999 !important;
}

html body div.cs-trigger span[data-csui] {
  display: inline !important;
  flex-grow: 0 !important;
  flex-shrink: 0 !important;
  flex-basis: auto !important;
  width: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
}

html body div.cs-trigger span[data-csui="label"] {
  flex: 1 1 auto !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  text-align: left !important;
}

html body div.cs-trigger span[data-csui="arrow"] {
  margin-left: 5px !important;
  color: #666 !important;
  font-size: 25px !important;
}

/* 팝업 배경 */

html body div.cs-overlay {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  z-index: 99999 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  background: rgba(23, 33, 43, 0.28) !important;
}

html body div.cs-overlay.open {
  display: flex !important;
}

/* 팝업 본체 */

html body div.cs-sheet {
  display: flex !important;
  flex-direction: column !important;
  width: 92% !important;
  max-width: 420px !important;
  max-height: 70vh !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  background: #fff !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 48px rgba(23, 33, 43, 0.16) !important;
}

/* 팝업 제목 */

html body div.cs-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-shrink: 0 !important;
  padding: 18px 20px !important;
  margin: 0 !important;
  border-bottom: 1px solid #e6eef1 !important;
  color: #17212b !important;
  font-size: 18px !important;
  font-weight: 700 !important;
}

html body div.cs-header span.cs-close {
  padding: 4px !important;
  margin: 0 !important;
  color: #666 !important;
  font-size: 20px !important;
  line-height: 1 !important;
  cursor: pointer !important;
}

/* 검색 영역 */

html body div.cs-search {
  flex-shrink: 0 !important;
  padding: 12px 16px !important;
  margin: 0 !important;
  border-bottom: 1px solid #e6eef1 !important;
  background: #fff !important;
}

html body input.cs-search-input {
  display: block !important;
  width: 100% !important;
  height: 42px !important;
  padding: 0 14px !important;
  margin: 0 !important;
  border: 1px solid #cfd8dc !important;
  border-radius: 8px !important;
  outline: none !important;
  background: #fff !important;
  color: #17212b !important;
  font-size: 15px !important;
  box-sizing: border-box !important;
}

html body input.cs-search-input:focus {
  border-color: #56b198 !important;
  box-shadow: 0 0 0 3px rgba(86, 177, 152, 0.16) !important;
}

html body input.cs-search-input::placeholder {
  color: #9aa5ad !important;
}

/* 목록 */

html body div.cs-list {
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow-y: auto !important;
}

html body div.cs-item {
  display: block !important;
  width: auto !important;
  padding: 16px 20px !important;
  margin: 0 !important;
  color: #17212b !important;
  font-size: 17px !important;
  cursor: pointer !important;
  float: none !important;
}

html body div.cs-item:hover {
  background: #f7f9fa !important;
}

/* 현재 선택된 항목 */

html body div.cs-item.selected {
  background: #eef7f4 !important;
  color: #357e6b !important;
  font-weight: 700 !important;
}

/* 검색과 일치하는 항목 */

html body div.cs-item.search-match {
  background: #f3faf8 !important;
}

/* 검색과 일치한 글자 */

html body div.cs-item span.cs-match-text {
  padding: 1px 2px !important;
  border-radius: 3px !important;
  background: #dff3ed !important;
  color: #168c72 !important;
  font-weight: 700 !important;
}

html body div.cs-empty {
  padding: 20px 16px !important;
  color: #999 !important;
  font-size: 13px !important;
  text-align: center !important;
}

/* 태블릿 모달 안 Select */

html body .tgm-modal div.cs-wrap,
html body .tgm-confirm-modal div.cs-wrap,
html body .tgm-order-modal div.cs-wrap {
  width: 100% !important;
}

html body .tgm-modal div.cs-trigger,
html body .tgm-confirm-modal div.cs-trigger,
html body .tgm-order-modal div.cs-trigger {
  height: 58px !important;
  padding: 0 18px !important;
  border: 2px solid #79b59f !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #17212b !important;
  font-size: 20px !important;
  font-weight: 500 !important;
}

html body .tgm-modal div.cs-trigger:hover,
html body .tgm-confirm-modal div.cs-trigger:hover,
html body .tgm-order-modal div.cs-trigger:hover,
html body .tgm-modal div.cs-wrap.open div.cs-trigger,
html body .tgm-confirm-modal div.cs-wrap.open div.cs-trigger,
html body .tgm-order-modal div.cs-wrap.open div.cs-trigger {
  border-color: #56b198 !important;
  box-shadow: 0 0 0 3px rgba(86, 177, 152, 0.22) !important;
}

html body .tgm-modal div.cs-trigger span[data-csui="label"],
html body .tgm-confirm-modal div.cs-trigger span[data-csui="label"],
html body .tgm-order-modal div.cs-trigger span[data-csui="label"] {
  color: #17212b !important;
  font-size: 20px !important;
}

html body .tgm-modal div.cs-trigger span[data-csui="arrow"],
html body .tgm-confirm-modal div.cs-trigger span[data-csui="arrow"],
html body .tgm-order-modal div.cs-trigger span[data-csui="arrow"] {
  color: #71808d !important;
  font-size: 25px !important;
}