@charset "UTF-8";

@keyframes likeAnimation {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.15);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}
/* Button */
.btn {
  display: inline-block;
  border-radius: 4px;
  text-align: center;
}
.btn-mini {
  height: 32px;
  line-height: 32px;
  font-size: 14px;
  text-align: center;
  border-radius: 4px;
}
.btn-sm {
  height: 36px;
  line-height: 36px;
  font-size: 14px;
  text-align: center;
  border-radius: 4px;
}
.btn-md {
  height: 40px;
  line-height: 40px;
  font-size: 16px;
  text-align: center;
}
.btn-lg {
  height: 50px;
  line-height: 50px;
  font-size: 16px;
  text-align: center;
}
.btn-big {
  height: 59px;
  line-height: 59px;
  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_p8 {
  padding: 0 8px;
}
.btn_p16 {
  padding: 0 16px;
}
.btn_p20 {
  padding: 0 20px;
}
.btn_p24 {
  padding: 0 24px;
}
.btn.disabled {
  background-color: var(--bg_light);
  color: var(--disabled);
  border: 1px solid var(--line_color);
}
.btn:disabled {
  background-color: var(--bg_light) !important;
  color: var(--disabled) !important;
  border: 1px solid var(--line_color) !important;
}
.btn_green {
  background: #09df82;
  color: #fff;
}
.btn_black {
  background: #151515;
  color: #fff;
}
.btn_red {
  background: #cd0000;
  color: #fff;
  border: 0;
}
.btn_bor_gray {
  border: 1px solid #e6e6e6;
}
.btn_bor_black {
  border: 1px solid #151515;
}
.search_btn {
  display: flex;
  align-items: center;
  gap: 8px;
}
.search_btn::after {
  content: "";
  width: 16px;
  height: 16px;
  background: url(../images/icon/icon_search.svg) no-repeat center center/contain;
  display: inline-block;
}
.detail_btn {
  display: flex;
  align-items: center;
  gap: 4px;
}
.detail_btn::after {
  content: "";
  width: 16px;
  height: 16px;
  background: url(../images/icon/icon_detail_btn.svg) no-repeat center center/contain;
  display: inline-block;
}
.grid-view_btn {
  width: 36px;
  height: 36px;
  background: url(../images/icon/icon_grid_view.svg) no-repeat center center/contain;
}
.list-view_btn {
  width: 36px;
  height: 36px;
  background: url(../images/icon/icon_list_view.svg) no-repeat center center/contain;
}
.grid-view_btn:hover {
  background: url(../images/icon/icon_grid_view_hover.svg) no-repeat center center/contain;
}
.list-view_btn:hover {
  background: url(../images/icon/icon_list_view_hover.svg) no-repeat center center/contain;
}
.grid-view_btn.active {
  background: url(../images/icon/icon_grid_view_active.svg) no-repeat center center/contain;
}
.list-view_btn.active {
  background: url(../images/icon/icon_list_view_active.svg) no-repeat center center/contain;
}
/* #### Modal #### */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background-color: rgba(0, 0, 0, 0.2);
  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: var(--color-white);
  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;
}

/* Form */
input[type="text"],
input[type="password"],
input[type="number"],
input[type="email"],
input[type="tel"] {
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  background-color: #fff;
  padding: 0 16px;
  font-size: 16px;
  color: #151515;
}

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: #999999;
}
.input_basic {
  width: 160px;
  height: 40px;
  font-size: 15px;
}
.input_basic::placeholder {
  font-size: 15px !important;
}
.input_basic.right {
  text-align: right;
}
.check_A {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.check_A.center {
  justify-content: center;
}
.check_A p {
  color: #151515;
  font-weight: 400;
  font-size: 14px;
}
.check_A input {
  display: none;
}
.check_A input + em {
  background: url(../images/icon/icon_check_basic.svg) no-repeat center center/contain;
  width: 18px;
  height: 18px;
  display: inline-block;
}
.check_A input:checked + em {
  background: url(../images/icon/icon_check_basic_on.svg) no-repeat center center/contain;
}
.check_B input {
  display: none;
}

.check_B input + em {
  /* width: 60px; */
  padding: 0 16px;
  height: 40px;
  line-height: 40px;
  font-style: normal;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  display: inline-block;
  text-align: center;
  color: #151515;
  font-weight: 400;
  font-size: 15px;
  cursor: pointer;
}
.check_B input + em:hover {
  background: #f6f6f6;
}
.check_B input:checked + em {
  background: #09df82;
  border-color: #09df82;
}
.ip_basic {
  height: 40px;
}
/* Select */
.select-primary {
  height: 40px;
  line-height: 40px;
  float: none;
  width: 160px;
  display: inline-block;
  border-color: #e6e6e6;
}
.select-primary.w100 {
  width: 100px;
}
.select-primary.w260 {
  width: 260px;
}

.select-primary.w100:after {
  right: 12px;
}
.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: #151515;
}

.select-primary .option {
  border-bottom: 1px solid #e6e6e6;
  height: 40px;
  line-height: 40px;
}

.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: 20px;
  height: 20px;
  background: url(../images/icon/icon_arrow_bottom.svg) no-repeat center center / contain;
  transform: translateY(-50%) rotate(0deg);
  margin-top: 0;
  right: 15px;
}

.select-primary.open:after {
  transform: translateY(-50%) rotate(-180deg);
  transform-origin: center !important;
}
.select-primary.mini {
  height: 36px;
  line-height: 36px;
  width: 140px;
  padding: 0 12px;
}

.select-primary.mini::after {
  right: 12px;
}
.datepicker-basic {
  height: 40px;
  width: 160px;
  padding: 0 12px !important;
}
.btn-refresh {
  display: flex;
  gap: 4px;
  align-items: center;
  color: #444444;
  font-weight: 400;
  font-size: 16px;
}

.btn-refresh::before {
  content: "";
  width: 20px;
  height: 20px;
  background: url(../images/icon/icon_refresh.svg) no-repeat center center/contain;
}
.interest_btn .heart {
  background: url(../images/icon/icon_heart.svg) no-repeat center center/contain;
  width: 16px;
  height: 16px;
}
.interest_btn.on .heart {
  background: url(../images/icon/icon_heart_on.svg) no-repeat center center/contain;
  animation: likeAnimation 0.3s linear;
}
.excel_btn {
  display: flex;
  gap: 8px;
  align-items: center;
  border: 1px solid #007539;
  color: #004522;
  background: #fff;
  padding: 0 12px;
}

.excel_btn::before {
  content: "";
  width: 16px;
  height: 16px;
  background: url(../images/icon/icon_excel.svg) no-repeat center center/contain;
}
.excel_fill_btn {
  display: flex;
  gap: 8px;
  align-items: center;
  background: #005b2c;
  color: #fff;
  padding: 0 12px;
}

.excel_fill_btn::before {
  content: "";
  width: 16px;
  height: 16px;
  background: url(../images/icon/icon_excel_wh.svg) no-repeat center center/contain;
}
