@charset "UTF-8";
/* Button */
.btn {
  display: inline-block;
  border-radius: 4px;
  text-align: center;
}
.btn-mini {
  height: 38px;
  line-height: 38px;
  font-size: 14px;
  text-align: center;
  border-radius: 4px;
}
.btn-sm {
  height: 40px;
  line-height: 40px;
  font-size: 16px;
  text-align: center;
  border-radius: 4px;
}
.btn-md {
  height: 44px;
  line-height: 44px;
  font-size: 16px;
  text-align: center;
}
.btn-lg {
  height: 52px;
  line-height: 52px;
  font-size: 16px;
  text-align: center;
}
.btn-big {
  height: 56px;
  line-height: 56px;
  font-size: 18px;
  text-align: center;
}
.btn-w100p {
  width: 100%;
}
.btn-textType {
  text-decoration: underline;
  font-size: 14px;
  font-weight: 400;
  color: var(--info_text);
}
.btn_p12 {
  padding: 0 12px;
}
.btn_p16 {
  padding: 0 16px;
}
.btn.disabled {
  background: #9ba3af;
  color: #fff;
}
.btn:disabled {
  background-color: #9ba3af !important;
  color: #fff !important;
  border: 1px solid var(--line_color) !important;
}
.btn_primary {
  background: var(--color-primary);
  color: #fff;
}
.btn_bor_black {
  border: 1px solid #111;
  color: #111;
}
.btn_gray {
  background: #9ba3af;
  color: #fff;
}
.btn_lightgray {
  background: #f1f1f5;
  color: #111111;
}
/* #### Modal #### */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background-color: rgba(0, 0, 0, 0.5);
  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%;
  height: auto;
  max-height: 80vh;
  overflow-y: auto;
  border-radius: 8px;
  background-color: #fff;
  transition: 0.45s;
  opacity: 0;
}

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

.modal__inner::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

.modal__inner::-webkit-scrollbar-thumb {
  height: 30%;
  background: #dddddd;
  border-radius: 10px;
}

.modal__inner::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 20px;
}
.modal__close {
  width: 24px;
  height: 24px;
}
.modal__close .btn_modal-close {
  background: url(../_img/icon/icon_x_btn.svg) no-repeat center center / contain;
  width: 100%;
  height: 100%;
}
/* add-modal */
.modal_add .modal__inner {
  bottom: 0;
  top: auto !important;
  transform: translate(-50%, 0);
  border-radius: 20px 20px 0px 0px;
  height: 70vh;
  overflow-y: hidden;
}

.modal_add .modal__inner .modal__header {
  padding: 32px 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal_add .modal__inner .modal__header h1 {
  color: #111111;
  font-size: 20px;
  font-weight: 600;
  line-height: 140%;
}
.modal_add .modal__inner .modal__content {
  padding: 16px 20px 180px;
  overflow-y: auto;
  height: 100%;
}
.modal_add .modal__inner .modal__content .friend_list {
  margin-top: 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.modal_add .modal__inner .modal__content .friend_list .friend {
  border: 1px solid #e5e5ec;
  border-radius: 4px;
  height: 36px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 500;
}
.modal_add .modal__inner .modal__content .friend_list .friend .x-btn {
  background: url(../_img/icon/icon_close_btn.svg) no-repeat center center/contain;
  width: 20px;
  height: 20px;
}
/* Form */
input[type="text"],
input[type="password"],
input[type="number"],
input[type="email"],
input[type="tel"] {
  border: 1px solid #e5e5ec;
  border-radius: 4px;
  background-color: #fff;
  padding: 0 16px;
  font-size: 16px;
}

input[type="text"]::placeholder,
input[type="password"]::placeholder,
input[type="number"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder {
  font-size: 16px;
  font-weight: 400;
  color: #767676;
}
.input-A {
  height: 50px;
  width: 100%;
}

/* check-A */
.check-A input {
  display: none;
}

.check-A input + em {
  background: url(../_img/icon/icon_check_A.svg) no-repeat center center / contain;
  width: 22px;
  height: 22px;
  display: inline-block;
}
.check-A input:checked + em {
  background: url(../_img/icon/icon_check_A_on.svg) no-repeat center center / contain;
}

/* check-B */
.check-B input {
  display: none;
}
.check-B input + em {
  background: url(../_img/icon/icon_check_B.svg) no-repeat center center / contain;
  width: 22px;
  height: 22px;
  display: inline-block;
}
.check-B input:checked + em {
  background: url(../_img/icon/icon_check_B_on.svg) no-repeat center center / contain;
}
/* Select */
.select-primary {
  height: 50px;
  line-height: 50px;
  float: none;
  width: 100%;
  display: inline-block;
  border: 1px solid #e5e5ec;
  border-radius: 4px;
  font-size: 16px;
}

.select-primary .list {
  width: inherit;
  max-height: 265px;
  overflow-y: auto;
  z-index: 1000;
}

.select-primary:active,
.select-primary.open,
.select-primary:focus {
  border-color: #ddd;
}

.select-primary .option {
  height: 50px;
  line-height: 50px;
}

.select-primary .option:last-child {
  border-bottom: none;
}

.select-primary .option.selected {
  font-weight: normal;
}

.select-primary:after {
  border-bottom: none;
  border-right: none;
  display: inline-block;
  width: 24px;
  height: 24px;
  background: url(../_img/icon/icon_arrow_bottom.svg) no-repeat center center / contain;
  transform: translateY(-50%) rotate(0deg);
  margin-top: 0;
  right: 16px;
}

.select-primary.open:after {
  transform: translateY(-50%) rotate(-180deg);
  transform-origin: center !important;
}
.warning_txt {
  color: #ff0202;
  font-size: 13px;
  line-height: 140%;
}
/* select-ip */
.ns-search {
  height: 48px;
  margin: 8px 16px;
  width: calc(100% - 32px);
  border: 1px solid #e5e5ec;
}

/* radio-A */
.radio-A input {
  display: none;
}

.radio-A input + em {
  background-color: #fff;
  color: #111111;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #e5e5ec;
  border-radius: 4px;
  height: 40px;
  line-height: 40px;
  padding: 0 12px;
  display: inline-block;
  text-align: center;
  font-style: normal;
}
.radio-A input:checked + em {
  font-weight: 600;
  border: 1px solid #355aa8;
  color: #355aa8;
  background: #f5f7fb;
}

/* radio-B */
.radio-B input {
  display: none;
}

.radio-B input + em {
  background-color: #fff;
  color: #111111;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #e5e5ec;
  border-radius: 4px;
  height: 36px;
  line-height: 36px;
  padding: 0 12px;
  display: inline-block;
  text-align: center;
  font-style: normal;
}
.radio-B input:checked + em {
  font-weight: 600;
  color: #fff;
  background: #355aa8;
  border: 1px solid #355aa8;
}
