/*custom-select (커스텀 셀렉트 - 고유 네임스페이스)*/
select.custom-select-hidden { display: none !important; }

html body div.cs-wrap {
  position: relative !important;
}
html body div.cs-trigger {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !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;
  font-size: 14px !important;
  color: #333 !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;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !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: 8px !important;
  color: #666 !important;
  font-size: 11px !important;
}

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

html body div.cs-sheet {
  width: 90% !important; max-width: 320px !important; max-height: 70vh !important;
  background: #fff !important; border-radius: 12px !important; overflow: hidden !important;
  display: flex !important; flex-direction: column !important;
  padding: 0 !important; margin: 0 !important;
}
html body div.cs-header {
  display: flex !important; align-items: center !important; justify-content: space-between !important;
  padding: 14px 16px !important; border-bottom: 1px solid #eee !important;
  font-weight: 500 !important; font-size: 15px !important; flex-shrink: 0 !important;
  margin: 0 !important;
}
html body div.cs-header span.cs-close { cursor: pointer !important; font-size: 20px !important; line-height: 1 !important; padding: 4px !important; color: #666 !important; }
html body div.cs-list { overflow-y: auto !important; padding: 0 !important; margin: 0 !important; }
html body div.cs-item {
  padding: 12px 16px !important; font-size: 14px !important; cursor: pointer !important;
  display: block !important; margin: 0 !important; float: none !important; width: auto !important;
}
html body div.cs-item:hover { background: #f5f5f5 !important; }
html body div.cs-item.selected { color: #19aa8d !important; font-weight: 500 !important; background: #f0f6ff !important; }
html body div.cs-empty { padding: 20px 16px !important; font-size: 13px !important; color: #999 !important; text-align: center !important; }


/* tablet modal 안 custom-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, .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"] {
  font-size: 20px !important;
  color: #17212b !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"] {
  font-size: 14px !important;
  color: #71808d !important;
}

html body .tgm-modal div.cs-overlay,
html body .tgm-confirm-modal div.cs-overlay,
html body .tgm-order-modal div.cs-overlay,
html body div.cs-overlay {
  background: rgba(23, 33, 43, .28) !important;
  z-index: 4000 !important;
}

html body div.cs-sheet {
  width: 92% !important;
  max-width: 420px !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 48px rgba(23, 33, 43, .16) !important;
}

html body div.cs-header {
  padding: 18px 20px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #17212b !important;
  border-bottom: 1px solid #e6eef1 !important;
}

html body div.cs-item {
  padding: 16px 20px !important;
  font-size: 17px !important;
  color: #17212b !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;
}