/* buttons */
.btn {
  width: fit-content;
  padding: 16px 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  background-color: var(--color-white);
  border: 1px solid var(--color-gray-600);
  border-radius: 30px;
  color: var(--color-dark);
  font-size: 17px;
  font-weight: 600;
  box-sizing: border-box;
}
.btn:hover {
  background-color: var(--color-gray-200);
}
.btn::after {
  color: var(--color-dark);
}
.btn.rect {
  border-radius: 0;
}
.btn.color {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-white);
}
.btn.dark {
  background-color: var(--color-dark);
  border-color: var(--color-dark);
  color: var(--color-white);
}
.btn.dark::after {
  color: var(--color-white);
}
.btn-link,
.btn-download,
.btn-image {
  padding-right: 18px;
}
.btn-link::after,
.btn-download::after,
.btn-image::after {
  font-family: "Material Symbols Outlined";
}
.btn-link::after {
  content: "\e5cc" / "";
  font-size: 20px;
}
.btn-download::after {
  content: "\f090" / "";
  font-size: 20px;
  font-weight: 400;
}
.btn-image::after {
  content: "\e3d3" / "";
  font-size: 20px;
  font-weight: 400;
}
.btn-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.btn-wrap.center {
  justify-content: center;
}
@media screen and (min-width: 2000px) {
  .btn {
    padding: 24px 48px;
    border-radius: 100px;
    font-size: 24px;
  }
}
@media screen and (max-width: 430px) {
  .btn {
    font-size: 16px;
  }
}

/* button - slide */
.slide-btn .s-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.slide-btn .s-cur,
.slide-btn .s-hvr {
  display: block;
  white-space: nowrap;
  transition:
    transform 0.25s cubic-bezier(0.68, 0.29, 0.48, 0.78),
    opacity 0.25s cubic-bezier(0.68, 0.29, 0.48, 0.78);
}
.slide-btn .s-cur {
  transform: translateY(0%);
  opacity: 1;
}
.slide-btn .s-hvr {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(110%);
  opacity: 0;
}
@media screen and (min-width: 601px) {
  .slide-btn:hover .s-cur {
    transform: translateY(-110%);
    opacity: 0;
  }
  .slide-btn:hover .s-hvr {
    transform: translateY(0%);
    opacity: 1;
  }
}

/* table */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}
.table-wrap table {
  width: 100%;
  min-width: 450px;
}
.tb {
  border-top: 2px solid var(--color-secondary);
}
.tb th,
.tb td {
  padding: 16px 12px;
  border-bottom: 1px solid var(--color-gray-400);
  border-right: 1px solid var(--color-gray-400);
  text-align: center;
  vertical-align: middle;
  line-height: 1.6;
  word-break: keep-all;
}
.tb th.align-left,
.tb td.align-left {
  text-align: left;
}
.tb th.align-top,
.tb td.align-top {
  vertical-align: top;
}
.tb th {
  border-top: 1px solid var(--color-gray-400);
  background-color: var(--color-primary-transparent-100);
  color: var(--color-gray-900);
  font-weight: 600;
}
.tb td {
  color: var(--color-gray-900);
}
.tb td.head {
  background-color: var(--color-primary-transparent-100);
  color: var(--color-gray-900);
  font-weight: 600;
}
.tb td strong {
  color: var(--color-primary);
  font-weight: 600;
}
.tb th:last-child:not(.border-right),
.tb td:last-child:not(.border-right) {
  border-right: 0;
}
.table-wrap .cont-p {
  margin-top: 8px;
  font-size: 16px;
}
.tb-2 th {
  background-color: var(--color-secondary);
  color: var(--color-white);
}
.tb-2 tr:not(:last-child) td {
  border-bottom: 0;
}
.tb.mini th,
.tb.mini td {
  padding: 11px 12px;
}
.table-filter-wrap {
  padding: 25px;
  margin: 0 0 25px;
  background-color: var(--color-primary-transparent-100);
  border-radius: 10px;
}
.filter-select-wrap:not(:last-child) {
  margin: 0 0 30px;
}
.filter-select-wrap legend {
  width: 100%;
  border-bottom: 1px solid var(--color-gray-900);
}
.filter-select-wrap .accordion-toggle {
  width: 100%;
  padding: 0 0 10px;
  position: relative;
  background-color: transparent;
  border: 0;
  color: var(--color-gray-900);
  font-size: 18px;
  font-weight: 700;
  text-align: left;
}
.filter-select-wrap .accordion-toggle::after {
  content: "\e316" / "";
  position: absolute;
  right: 0;
  bottom: 0;
  font-family: "Material Symbols Outlined";
  font-size: 24px;
  font-weight: 400;
}
.filter-select-wrap .accordion-toggle[aria-expanded="false"]::after {
  transform: rotate(180deg);
}
.filter-select-list {
  margin: 20px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 15px 18px;
}
.filter-select-list[hidden] {
  display: none;
}
.filter-select-list input {
  display: none;
}
.filter-select-list label {
  display: flex;
  align-items: center;
  gap: 5px;
  position: relative;
  color: var(--color-gray-800);
  font-size: 17px;
}
.filter-select-list label::before {
  content: "";
  display: inline-flex;
  width: 16px;
  height: 16px;
  background-color: var(--color-white);
  border: 1px solid var(--color-gray-500);
}
.filter-select-list input:checked + label {
  color: var(--color-primary);
  font-weight: 500;
}
.filter-select-list input:checked + label::after {
  content: "";
  width: 10px;
  height: 10px;
  position: absolute;
  left: 4px;
  background-color: var(--color-primary);
}
.filter-select-btn-wrap {
  margin: 30px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.filter-select-btn {
  padding: 14px 30px;
}

/* form */
input,
textarea,
select {
  padding: 15px;
  border: 1px solid var(--color-gray-400);
  border-radius: 3px;
  box-sizing: border-box;
}
select {
  background-image: url("/cau_cis/images/icon_arrow_down.png");
  background-position: calc(100% - 8px);
  background-repeat: no-repeat;
  background-size: 20px;
}
textarea {
  width: 100%;
  color: var(--color-gray-800);
  font-size: 18px;
  resize: none;
}
.label-required {
  width: fit-content;
  position: relative;
}
.label-required::after {
  content: "*" / "";
  position: absolute;
  right: -14px;
  top: 2px;
  color: var(--color-alert);
  font-size: 16px;
}

/* listmenu */
.listmenu-wrap {
  position: relative;
}
.listmenu-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  background-color: transparent;
  border: 0;
}
.listmenu-toggle::after {
  content: "\e313"/ "";
  transform: translateY(-1px);
  color: var(--color-dark);
  font-family: "Material Symbols Outlined";
  font-size: 20px;
}
.listmenu-toggle[aria-expanded="true"]::after {
  transform: translateY(-1px) rotate(180deg);
}
.listmenu {
  width: 100%;
  position: absolute;
  box-sizing: border-box;
  z-index: 100;
}
.listmenu.hidden {
  display: none;
}

/* pagination */
.pagination {
  margin: 50px 0 15px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.page-nav,
.page-link {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 100%;
  box-sizing: border-box;
}
.page-nav {
  text-indent: -9999px;
}
.page-nav .in-icon {
  color: var(--color-gray-850);
  font-size: 21px;
  text-indent: 0;
}
.page-nav.prev .in-icon,
.page-nav.next .in-icon {
  font-size: 20px;
}
.page-links {
  margin: 0 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.page-link {
  color: var(--color-gray-600);
  font-size: 15px;
  text-align: center;
}
.page-link.on {
  background-color: var(--color-tertiary);
  color: var(--color-white);
  font-weight: 600;
}
.page-nav:hover,
.page-nav:focus-visible,
.page-link:not(.on):hover,
.page-link:not(.on):focus-visible {
  background-color: var(--color-gray-300);
  color: var(--color-gray-850);
}
@media screen and (min-width: 2000px) {
  .page-nav,
  .page-link {
    width: 36px;
    height: 36px;
  }
  .page-link {
    font-size: 20px;
  }
}

/* modal */
.modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 800;
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  transition: opacity 0.3s ease;
  z-index: 799;
}
.modal-dialog {
  min-width: 680px;
  max-width: calc(100vw - 60px);
  height: 85vh;
  padding: 30px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  position: relative;
  background-color: var(--color-white);
  box-shadow:
    rgba(0, 0, 0, 0.05) 0px 6px 24px 0px,
    rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
  border-radius: 10px;
  box-sizing: border-box;
  aspect-ratio: 4/3;
}
.modal .close-btn {
  position: absolute;
  right: 25px;
  top: 25px;
  background-color: transparent;
  border: 0;
  cursor: pointer;
  z-index: 5;
}
.modal .close-btn .in-icon {
  font-size: 30px;
}
.modal-title-wrap {
  margin: 0 0 15px;
}
.modal-title {
  padding: 0 0 15px;
  border-bottom: 2px solid var(--color-dark);
  color: var(--color-dark);
  font-size: 18px;
  font-weight: 700;
}
.modal-content {
  height: 100%;
  min-height: 0;
  padding: 10px;
  display: flex;
  flex-direction: column;
  flex: 1;
  box-sizing: border-box;
}
.modal-content > * {
  height: 100%;
}
.modal-content-inner {
  height: 100%;
  overflow-y: auto;
}
.modal-btn-wrap {
  width: 100%;
  padding: 20px 0 0;
  display: flex;
  justify-content: center;
  gap: 5px;
  box-sizing: border-box;
}
@media screen and (max-width: 1279px) {
  .modal-dialog {
    height: 80vh;
  }
}
@media screen and (max-width: 1024px) {
  .modal-dialog {
    width: calc(100vw - 60px);
    min-width: auto;
    max-width: none;
    height: auto;
  }
}
@media screen and (max-width: 600px) {
  .modal-dialog {
    width: calc(100vw - 40px);
    padding: 15px;
  }
  .modal .close-btn {
    right: 10px;
    top: 15px;
  }
  .modal .close-btn .in-icon {
    font-size: 27px;
  }
}

/* svg icons */
.icon-bc-home {
  width: 16px;
  height: 17px;
  fill: var(--color-gray-600);
}
.icon-pause,
.icon-play {
  width: 25px;
  height: 25px;
  fill: var(--color-white);
}
