@charset "UTF-8";
:root {
  --color-primary: #2BA71A;
  --color-secondary: #36892A;
}

/* Button */
.btn {
  display: inline-block;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
}

.btn-mini {
  height: 32px;
  line-height: 32px;
  border-radius: 4px;
}

.btn-sm {
  height: 40px;
  line-height: 40px;
  border-radius: 6px;
}

.btn-md {
  height: 46px;
  line-height: 46px;
}

.btn-md2 {
  height: 48px;
  line-height: 48px;
  font-weight: 600;
  font-size: 16px;
}

.btn-lg {
  height: 52px;
  line-height: 52px;
  font-size: 16px;
}

.btn-big {
  height: 56px;
  line-height: 56px;
  font-size: 16px;
}

.btn-w100p {
  width: 100%;
}

.btn-textType {
  text-decoration: underline;
  color: #767676;
}

.btn_p16 {
  padding: 0 16px;
}

.btn_p20 {
  padding: 0 20px;
}

.btn_light_gray {
  background-color: #F2F4F6;
  color: #111;
}

.btn_gray {
  background-color: #E6E9EF;
  color: #111;
}

.btn_primary {
  background-color: var(--color-primary);
  color: #fff;
}

.btn_outlined_primary {
  background-color: #fff;
  color: var(--color-primary);
}

.btn.disabled,
.btn:disabled {
  background-color: #999999;
}

.btn_more {
  width: 100%;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.btn_more span {
  font-weight: 700;
  color: #111;
  position: relative;
  padding-right: 20px;
}
.btn_more span::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: url(../_img/icon/icon_select_arrow.svg) no-repeat center / contain;
}
.btn_more.active span::after {
  transform: translateY(-50%) scaleY(-1);
}
/* #### 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: 20px;
  background-color: #fff;
  transition: 0.45s;
  opacity: 0;
  padding: 32px 20px 20px;
}

.modal.open .modal__inner {
  top: 50%;
  opacity: 1;
}

.modal.bottom .modal__inner {
  max-width: 600px;
  top: auto;
  bottom: -100%;
  transform: translate(-50%, 0);
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}

.modal.bottom.open .modal__inner {
  bottom: 0;
}

.modal__close {
  position: absolute;
  top: 32px;
  right: 24px;
  display: inline-block;
  width: 28px;
  height: 28px;
}

.modal__close .btn_close_modal {
  display: inline-block;
  width: 100%;
  height: 100%;
  background: url(../_img/icon/icon_close_modal.svg) no-repeat center / contain;
}

.modal__close .btn_close_modal.white {
  background-image: url(../_img/icon/icon_close_modal_white.svg);
}

.modal__content::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

.modal__content::-webkit-scrollbar-thumb {
  height: 30%;
  background: #dddddd;
  border-radius: 10px;
}

.modal__content::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 20px;
}

.modal__header h3 {
  font-size: 20px;
  font-weight: 700;
}

.modal__header p {
  font-size: 16px;
  color: #767676;
  margin-top: 12px;
}

.modal__btns {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}

.modal__btns.column {
  flex-direction: column;
  justify-content: center;
}

/* Form */
.form-control {
  border: 1px solid #E2E2E2;
  border-radius: 4px;
  background-color: #fff;
  padding: 0 16px;
  font-size: 16px;
}

.form-control::placeholder {
  font-size: 16px;
  font-weight: 500;
  color: #767676;
}
.textarea {
  width: 100%;
  font-size: 16px;
  background-color: #fff;
}
.textarea::placeholder {
  font-size: 16px;
  font-weight: 500;
  color: #767676;
}
/* Select */
.select-primary {
  height: 44px;
  line-height: 44px;
  float: none;
  display: inline-block;
  padding-left: 16px;
  border: none;
  width: auto;
  padding-right: 60px;
  border-radius: 8px;
}

.select-primary .list {
  width: inherit;
  max-height: 190px;
  overflow-y: auto;
  z-index: 1000;
}

.select-primary:active,
.select-primary.open,
.select-primary:focus {
  border-color: #ddd;
}

.select-primary .option {
  border-bottom: 1px solid #ddd;
  height: 48px;
  line-height: 48px;
  font-size: 16px;
  font-weight: 500;
}

.select-primary span.current {
  font-size: 14px;
  font-weight: 500;
}

.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: 16px;
  height: 16px;
  background: url(../_img/icon/icon_select_arrow.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;
}

/* Checkbox */
.checkbox label {
  display: flex;
  align-items: center;
  color: #505050;
}

.checkbox input[type=checkbox] {
  display: none;
}

.checkbox input[type=checkbox]+em {
  display: inline-block;
  width: 16px;
  height: 16px;
  font-style: normal;
  margin-right: 10px;
  flex-shrink: 0;
  background: url(../_img/icon/icon_checkbox.svg) no-repeat center center / contain;
}

.checkbox input[type=checkbox]:checked+em {
  background: url(../_img/icon/icon_checkbox_on.svg) no-repeat center center / contain;
}

.checkbox--round label {
  display: flex;
  align-items: center;
  color: #111111;
}

.checkbox--round input[type=checkbox] {
  display: none;
}

.checkbox--round input[type=checkbox]+em {
  display: inline-block;
  width: 22px;
  height: 22px;
  font-style: normal;
  margin-right: 8px;
  flex-shrink: 0;
  background: url(../_img/icon/icon_checkbox_round.svg) no-repeat center center / contain;
}

.checkbox--round input[type=checkbox]:checked+em {
  background: url(../_img/icon/icon_checkbox_round_on.svg) no-repeat center center / contain;
}

.radio label {
  display: flex;
  align-items: center;
}

.radio input[type=radio] {
  display: none;
}

.radio input[type=radio]+em {
  display: inline-block;
  width: 22px;
  height: 22px;
  font-style: normal;
  margin-right: 8px;
  flex-shrink: 0;
  background: url(../_img/icon/icon_radio.svg) no-repeat center center / contain;
}

.radio input[type=radio]+em+span {
  font-size: 16px;
  font-weight: 600;
  color: #767676;
}

.radio input[type=radio]:checked+em {
  background: url(../_img/icon/icon_radio_on.svg) no-repeat center center / contain;
}

.radio input[type=radio]:checked+em+span {
  color: #111;
}

.toggle_switch .toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.toggle_switch .toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle_switch .slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 999px;
  transition: background-color 0.3s;
  cursor: pointer;
}

.toggle_switch .slider::before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 2px;
  top: 2px;
  background-color: #fff;
  border-radius: 50%;
  transition: transform 0.3s;
}

.toggle input:checked+.slider {
  background-color: var(--color-primary);
}

.toggle input:checked+.slider::before {
  transform: translateX(20px);
}

span.asterisk {
  color: red;
  display: inline-block;
  margin-left: 2px;
}
.chat_ai_rate {
  margin-top: 8px;
}
.rate_btns {
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn_like span {
  font-size: 11px;
  font-weight: 400;
  line-height: 1.6;
  color: #2BA71A;
  padding-left: 18px;
  position: relative;
}
.btn_like span:before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background: url(../_img/icon/icon_like.svg) no-repeat center / contain;
}
.btn_dislike span {
  font-size: 11px;
  font-weight: 400;
  line-height: 1.6;
  color: #767676;
  padding-left: 18px;
  position: relative;
}
.btn_dislike span:before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background: url(../_img/icon/icon_dislike.svg) no-repeat center / contain;
}