﻿@charset "UTF-8";

:root {
  --color-brand: #0B3EB3;
}

/* Button */

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

.btn-mini {
  height: 38px;
  line-height: 38px;
}

.btn-sm {
  height: 40px;
  line-height: 40px;
}

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

.btn-lg {
  height: 49px;
  line-height: 49px;
  font-size: 18px;
  font-weight: 600;
}

.btn-big {
  height: 56px;
  line-height: 56px;
  font-size: 18px;
  font-weight: 600;
}

.btn-w100p {
  width: 100%;
}

.btn-textType {
  text-decoration: underline;
  color: #111;
  font-weight: 600;
}

.btn_p16 {
  padding: 0 16px;
}

.btn_p20 {
  padding: 0 20px;
}

.btn_p24 {
  padding: 0 24px;
}

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

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

.btn_outlined_gray {
  background-color: #fff;
  border: 1px solid #E5E5EC;
  color: #111;
}

.btn_gray {
  background-color: #F1F1F5;
  color: #999999;
}

.btn_black {
  background-color: #111111;
  color: #fff;
}

.btn_area {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.btn_area.column {
  flex-direction: column;
  row-gap: 8px;
  width: 100%;
}

.btn_area .btn {
  width: 100px;
}

.bg_gradient {
  background: linear-gradient(to right, #0B3EB3, #7300FF 100%);
  ;
}

.bg_gradient2 {
  background: linear-gradient(to right, #0F8AFE, #7300FF 100%);
  ;
}

.bg_gray {
  background-color: #F1F1F5;
}

.c_red {
  color: #FF0000;
}

.c_brand {
  color: var(--color-brand);
}

.c_green {
  color: green;
}

.info_txt {
  font-size: 16px;
  line-height: 1.4;
  margin-top: 4px;
}

.number {
  font-variant-numeric: tabular-nums;
}

/* #### Modal #### */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background-color: rgba(0, 0, 0, 0.6);
  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: calc(100% - 40px);
  border-radius: 12px;
  background-color: #fff;
  transition: 0.45s;
  opacity: 0;
}

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

.modal__close {
  position: absolute;
  display: inline-block;
  width: 24px;
  height: 24px;
  right: 24px;
  top: 24px;
}

.modal__close .btn_modal-close {
  display: inline-block;
  width: 100%;
  height: 100%;
  background: url(/_img/icon/icon_modal_close.svg) no-repeat center / contain;
}

.modal__header h3 {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
}

.modal__content {
  max-height: 368px;
  overflow: auto;
  padding-right: 8px;
}

.modal__content::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

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

.modal__content::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 20px;
}

.modal__btns {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal__btns .btn {
  flex: 1;
}

.modal--typeA .modal__inner {
  max-width: 788px;
  padding: 32px 24px;
}

/* Form */
.form-control {
  width: 100%;
  height: 56px;
  border: 1px solid #E5E5EC;
  border-radius: 8px;
  background-color: #fff;
  padding: 0 16px;
  font-size: 18px;
}

.form-control::placeholder {
  font-size: 18px;
  font-weight: 400;
  color: #999999;
}

.form-control.invalid,
.form-control:invalid {
  border: 1px solid #FF0000;
}

/* Checkbox & Radio */
.checkbox--typeA label {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  line-height: 25px;
}

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

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

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

.checkbox--typeA input[type=checkbox]:disabled+em {
  background: url(/_img/icon/icon_checkbox.svg) no-repeat center center / contain;
  background-color: #f0f0f0;
  cursor: not-allowed;
}

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

.radio--typeA label {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  line-height: 25px;
}

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

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

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

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

.select--typeA {
  width: 100%;
  height: 56px;
  background: url(/_img/icon/icon_select_arrow.svg) no-repeat center right 16px / 10px 7px;
  border-radius: 8px;
  background-color: #fff;
  padding: 0 16px;
  border: 1px solid #E5E5EC;
}

.select--typeA.w-auto {
  width: auto;
  padding-right: 38px;
}

.select--typeA.mw240 {
  max-width: 240px;
}

.textarea--typeA {
  width: 100%;
  min-height: 180px;
  padding: 16px;
  border: 1px solid #E5E5EC;
  border-radius: 8px;
}

.input_upload_file {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
  flex-direction: row;
}

.input_upload_file label {
  display: inline-block;
  color: #111;
  cursor: pointer;
  border-radius: 8px;
  text-align: center;
  font-size: inherit;
  text-decoration: underline;
  font-weight: 600;
}

.input_upload_file input[type="file"],
.input_upload_file input[type="button"] {
  position: absolute;
  width: 0;
  height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
}

/* Table */
.table__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 16px;
}

.table_info_txt {
  font-size: 18px;
  color: #767676;
}

.table__sort {
  display: flex;
  align-items: center;
  gap: 8px;
}

.table__sort .select--typeA {
  height: 48px;
}

.table__bottom {
  margin-top: 16px;
}

.table__bottom>h3 {
  font-size: 20px;
  font-weight: 600;
  color: #111;
  margin-bottom: 8px;
}

.table_info {
  background-color: #F7F7FB;
  padding: 12px;
}

.table_info p {
  font-size: 18px;
  line-height: 1.4;
  color: #333;
}

.table_wrap {
  overflow: hidden;
  overflow-x: auto;
  padding-bottom: 4px;
}

.tbl--typeA table {
  width: 100%;
  table-layout: fixed;
  position: relative;
  border-bottom: 2px solid #E5E5EC;
}

.tbl--typeA table::before {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  position: absolute;
  top: 0;
  left: 0;
  background: #111;
}

.tbl--typeA table.bdt {
  border-top: 2px solid #000;
}

.tbl--typeA thead th,
.tbl--typeA tbody th {
  height: 56px;
  background-color: #F5F7FC;
  text-align: center;
  font-weight: 500;
  color: #333;
  word-break: break-all;
}

.tbl--typeA tbody td {
  height: 56px;
  background-color: #fff;
  text-align: center;
  font-weight: 500;
  color: #333;
  word-break: break-all;
}

.tbl--typeA.tbl--height_sm thead th,
.tbl--typeA.tbl--height_sm tbody th,
.tbl--typeA.tbl--height_sm tbody td {
  height: 41px;
}

.tbl--typeA .btn_view {
  background-color: #F1F1F5;
  color: #111;
}

.tbl--typeA .no_data {
  height: 185px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tbl--typeA .no_data p {
  font-size: 18px;
  font-weight: 500;
  color: #999;
}

@media screen and (max-width:768px) {
  .table__top {
    flex-direction: column-reverse;
    align-items: flex-start;
    row-gap: 8px;
    margin-bottom: 8px;
  }

  .table_info_txt {
    font-size: 16px;
  }

  .table__sort {
    width: 100%;
  }

  .table__sort .select--typeA {
    flex: 1;
    width: 100%;
  }

  .table__bottom {
    margin-top: 8px;
  }

  .table__bottom>h3 {
    font-size: 18px;
  }

  .table_info {
    padding: 8px;
  }

  .table_info p {
    font-size: 14px;
  }

  .btn-textType {
    font-size: 14px;
  }

  .btn_area.mo_column {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .btn_area.mo_column .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .form-control {
    height: 48px;
    font-size: 16px;
  }

  .form-control::placeholder {
    font-size: 16px;
  }

  .checkbox--typeA label {
    font-size: 16px;
    line-height: 22px;
  }

  .checkbox--typeA input[type=checkbox]+em {
    width: 20px;
    height: 20px;
  }

  .select--typeA {
    height: 48px;
  }

  .input_upload_file label {
    height: 48px;
    line-height: 48px;
    font-size: 16px;
  }

  .tbl--typeA thead th,
  .tbl--typeA tbody th {
    font-size: 14px;
    padding: 0 8px;
  }

  .tbl--typeA colgroup col {
    width: auto !important;
    min-width: 100px !important;
  }

  .tbl--typeA tbody td {
    font-size: 14px;
    padding: 0 8px;
  }

  .tbl--typeA .btn_view {
    padding: 0 16px;
    font-size: 14px;
  }

  .tbl--typeA .no_data {
    height: 180px;
  }

  .tbl--typeA .no_data p {
    font-size: 14px;
  }

  .tbl--typeA.tbl--height_sm thead th,
  .tbl--typeA.tbl--height_sm tbody th,
  .tbl--typeA.tbl--height_sm tbody td {
    height: 48px;
    font-size: 14px;
  }
}