@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@500;700&display=swap');
:root {
  --color-brand: #3861FB;
}

.realtime-badge {
  display: inline-block;
  color: #24d35a;
  border: 1px solid #5B616B;
  border-radius: 8px;
  padding: 11px 12px;
  font-size: 12px;
  letter-spacing: -0.5px;
  font-family: 'Noto Sans KR', sans-serif;
}

.real-time-dot {
  display: inline-block;
  margin-left: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #29ff71;
}

.refresh-btn {
  margin-left: 5px;
  background: none;
  border: none;
  font-size: 20px;
  color: #888;
  cursor: pointer;
  padding: 2px 4px;
  transition: transform 0.3s ease;
}

.refresh-btn:hover {
  transform: rotate(90deg);
  color: #24d35a;
}

/* Button */
.btn {
  display: inline-block;
  border-radius: 8px;
  text-align: center;
}

.btn-mini {
  height: 28px;
  line-height: 27px;
  font-size: 14px;
  border-radius: 4px;
}

.btn-sm {
  height: 36px;
  line-height: 36px;
  font-size: 15px;
}

.btn-md {
  height: 44px;
  line-height: 44px;
}

.btn-lg {
  height: 48px;
  line-height: 48px;
  font-size: 18px;
}

.btn-w100p {
  width: 100%;
}

.btn_p16 {
  padding: 0 16px;
}

.btn_round {
  border-radius: 800px;
}

.btn_brand {
  background-color: var(--color-brand);
  color: #fff;
}

.btn_white {
  background-color: #fff;
  color: var(--color-brand);
}

.btn_outline_brand {
  background-color: #fff;
  color: var(--color-brand);
  border: 1px solid #000;
}

.btn_secondary {
  background-color: #222531;
  color: #fff;
}

.btn_star {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url(../_img/icon/icon_star.svg) no-repeat center center / contain;
}

.btn_star.active {
  background-image: url(../_img/icon/icon_star_on.svg);
}

.btn_buy {
  color: #6188FF;
  border: 1px solid #6188FF;
  background-color: transparent;
  padding: 0 16px;
}

.btn_area {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.btn_area.end {
  justify-content: flex-end;
}

/* #### Modal #### */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: -1;
  opacity: 0;
}

.modal.open {
  z-index: 1000;
  opacity: 1;
}

.modal__inner {
  position: absolute;
  top: 47.5%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  border-radius: 8px;
  background-color: #222531;
  transition: 0.45s;
  opacity: 0;
  padding: 20px;
}

#modal-login .modal__inner {
  background-color: #0d1421;
}

.modal.open .modal__inner {
  top: 50%;
  opacity: 1;
}

.modal__header h3 {
  font-size: 16px;
  font-weight: 600;
}

.modal__header p {
  margin-top: 6px;
  font-size: 13px;
  color: #A5ACBA;
}

.modal__btns {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.modal__btns.end {
  justify-content: flex-end;
}

.modal__btns .btn {
  height: 38px;
  line-height: 38px;
  font-size: 13px;
  font-weight: 600;
}

.modal--primary .modal__inner {
  max-width: 280px;
}

/* Form */
input[type=text],
input[type=password],
input[type=number],
input[type=email],
input[type=tel] {
  border: none;
  border-radius: 8px;
  background-color: #222531;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 500;
  width: 100%;
  height: 48px;
}

input[type=text]::placeholder,
input[type=password]::placeholder,
input[type=number]::placeholder,
input[type=email]::placeholder,
input[type=tel]::placeholder {
  font-size: 14px;
  font-weight: 500;
  color: #949BA8;
}

.select--typeA::-ms-expand {
  display: none;
}

.select--typeA {
  -o-appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.select--typeA {
  width: 113px;
  height: 36px;
  border: none;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: #222531 url(../_img/icon/icon_select_arrow.svg) no-repeat center right 16px / 16px;
  padding: 0 16px;
  border-radius: 8px;
}

.select--typeA option {
  padding: 0 16px;
  color: #fff;
  border: none;
  font-size: 12px;
}

/* Table */
.table_wrap {
  overflow-x: auto;
  padding-bottom: 7px;
}

.table_wrap::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

.table_wrap::-webkit-scrollbar-thumb {
  height: 30%;
  background: #FFFFFF;
  border-radius: 20px;
}

.table_wrap::-webkit-scrollbar-track {
  background: #222531;
  border-radius: 20px;
}

.tbl_list table {
  width: 100%;
  table-layout: fixed;
}

.tbl_list thead th {
  border-top: 1px solid #222531;
  border-bottom: 1px solid #222531;
  height: 44px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: #A5ACBA;
}

.tbl_list tbody td {
  height: 72px;
  padding: 12px;
  font-size: 13px;
  font-weight: 500;
  color: #7A7F8A;
}

.tbl_list a.title {
  font-size: 15px;
  color: #fff;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  word-wrap: break-word;
  height: 21px;
}

/* Radio */
.radio--typeA label {
  display: flex;
  align-items: center;
}

.radio--typeA input[type=radio] {
  display: none;
}

.radio--typeA input[type=radio]+em {
  display: inline-block;
  width: auto;
  height: 44px;
  line-height: 44px;
  font-style: normal;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #7A7F8A;
  padding: 0 10px;
  background-color: transparent;
}

.radio--typeA input[type=radio]+em span {
  padding-left: 24px;
  position: relative;
}

.radio--typeA input[type=radio]+em span:before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.radio--typeA input[type=radio]:checked+em {
  background-color: #1A2453;
  color: #6188FF;
}

.radio--typeA input[type=radio]+em.top span::before {
  background: url(../_img/icon/icon_sort_top.svg) no-repeat center center / contain;
}

.radio--typeA input[type=radio]:checked+em.top span::before {
  background: url(../_img/icon/icon_sort_top_active.svg) no-repeat center center / contain;
}

.radio--typeA input[type=radio]+em.price span::before {
  background: url(../_img/icon/icon_sort_price.svg) no-repeat center center / contain;
}

.radio--typeA input[type=radio]:checked+em.price span::before {
  background: url(../_img/icon/icon_sort_price_active.svg) no-repeat center center / contain;
}

.radio--typeA input[type=radio]+em.volume span::before {
  background: url(../_img/icon/icon_sort_volume.svg) no-repeat center center / contain;
}

.radio--typeA input[type=radio]:checked+em.volume span::before {
  background: url(../_img/icon/icon_sort_volume_active.svg) no-repeat center center / contain;
}

.radio--typeB label {
  display: flex;
  align-items: center;
}

.radio--typeB input[type=radio] {
  display: none;
}

.radio--typeB input[type=radio]+em {
  display: inline-block;
  width: auto;
  height: 26px;
  line-height: 26px;
  font-style: normal;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #6188FF;
  padding: 0 8px;
  background-color: transparent;
  border: 1px solid transparent;
}

.radio--typeB input[type=radio]+em span {
  padding-right: 11px;
  position: relative;
}

.radio--typeB input[type=radio]+em span:before {
  content: '';
  display: inline-block;
  width: 9px;
  height: 12px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.radio--typeB input[type=radio]:checked+em {
  background-color: #222531;
  border: 1px solid #6188FF;
}

.radio--typeB input[type=radio]+em.up span:before {
  background: url(../_img/icon/icon_rate_up.svg) no-repeat center center / contain;
}

.radio--typeB input[type=radio]+em.down span:before {
  background: url(../_img/icon/icon_rate_down.svg) no-repeat center center / contain;
}

/* Checkbox */
.checkbox--typeA {
  color: #A5ACBA;
}

.checkbox--typeA label {
  font-size: 13px;
  display: flex;
  align-items: center;
}

.checkbox--typeA input[type=checkbox] {
  display: none;
}

.checkbox--typeA input[type=checkbox]+em {
  display: inline-block;
  width: 20px;
  height: 20px;
  font-style: normal;
  background: url(../_img/icon/icon_checkbox.svg) no-repeat center center / contain;
  margin-right: 6px;
}

.checkbox--typeA input[type=checkbox]:checked+em {
  background: url(../_img/icon/icon_checkbox_on.svg) no-repeat center center / contain;
}

/* Form Input */
.input--typeA {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #21262B;
}

.input--typeA:nth-last-child(2) {
  margin-bottom: 24px;
  border-bottom: none;
}

.input--typeA .input_label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #A5ACBA;
  margin-bottom: 10px;
}

.input--typeA .editor {
  width: 100%;
  min-height: 400px;
  background-color: #222531;
  border-radius: 8px;
}

/* Mobile */
@media screen and (max-width:767px) {
  .input--typeA .editor {
    min-height: 200px;
  }
}

.Etc a:first-child {
  float: left;
  background: #fff;
  color: #202632;
}
.Etc a:last-child {
  float: right;
  background: #56bb57;
  color: #fff;
}
.Etc a img {
  width: 15px;
  height: 15px;
  position: relative;
  top: 10px;
  margin-right: 5px;
}
.Etc a {
  cursor: pointer;
  display: block;
  width: calc(50% - 4px);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  height: 36px;
  line-height: 36px;
  text-align: center;
}