@charset "UTF-8";
.inquire-data {
  width: 100%;
  min-width: 311px;
  margin-bottom: 24px;
}

.inquire-data-row {
  padding: 12px 16px;
  border: 2px solid #658ae6;
  border-radius: 15px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.fa_icon {
  margin-left: 5px;
}

.m-0 {
  margin: 0 !important;
}

.p-0 {
  padding: 0 !important;
}

.chk_box {
  display: flex;
  gap: 16px;
}
.chk_box .chk_box_item {
  position: relative;
}
.chk_box .chk_box_item:not(:first-child) {
  padding-left: 16px;
}
.chk_box .chk_box_item:not(:first-child)::before {
  content: "";
  position: absolute;
  top: 25%;
  left: 0;
  height: 50%;
  width: 1px;
  background-color: #d0d0d0;
}

.required_data {
  color: red;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.1);
  /* 半透明白色 */
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  z-index: 9;
  display: none;
}

.main_wrapper {
  display: flex;
  position: relative;
  width: 100%;
}

.main_content {
  flex: 1;
  position: relative;
}

.content_layout {
  width: 100%;
  height: 100vh;
}
.content_layout .main_content {
  display: flex !important;
  flex-direction: row !important;
  width: 100% !important;
  padding: 0 !important;
}

.content_layout .main_content .content_sidebar {
  min-width: 400px;
  background-color: #fff;
  padding: 40px 20px;
  height: calc(100vh - 80px);
  overflow: auto;
}
.content_layout .main_content .content_sidebar .title {
  font-size: 28px;
  font-weight: bold;
}
.content_layout .main_content .content_sidebar .content .category_item .title_sec {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.content_layout .main_content .content_sidebar .content .category_item .title_sec .title {
  font-size: 16px;
}
.content_layout .main_content .content_sidebar .content .category_item .title_sec .btn {
  border-radius: 8px;
  padding: 3px 18px;
}
.content_layout .main_content .content_sidebar .content .category_item .content_sec .card_item {
  border: 1px solid #DBDBDB;
  border-radius: 8px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}
.content_layout .main_content .content_sidebar .content .category_item .content_sec .card_item.active {
  border: 2px solid #285EE4;
}
.content_layout .main_content .content_sidebar .content .category_item .content_sec .card_item.active .fa-check-circle {
  color: #285EE4;
}
.content_layout .main_content .content_sidebar .content .category_item .content_sec .card_item:not(:last-child) {
  margin-bottom: 24px;
}
.content_layout .main_content .content_sidebar .content .category_item .content_sec .card_item .title_sec {
  display: flex;
  justify-content: space-between;
  padding: 15px;
  margin-bottom: 0;
}
.content_layout .main_content .content_sidebar .content .category_item .content_sec .card_item .title_sec .item_data {
  display: flex;
  align-items: center;
}
.content_layout .main_content .content_sidebar .content .category_item .content_sec .card_item .title_sec .item_data .title {
  font-size: 20px;
  margin-right: 5px;
}
.content_layout .main_content .content_sidebar .content .category_item .content_sec .card_item .title_sec .item_data .default {
  border: 1px solid #285EE4;
  border-radius: 999px;
  color: #285EE4;
  padding: 3px 8px;
  font-size: 12px;
}
.content_layout .main_content .content_sidebar .content .category_item .content_sec .card_item .title_sec .selected_icon {
  color: #DBDBDB;
}
.content_layout .main_content .content_sidebar .content .category_item .content_sec .card_item .content_sec {
  display: flex;
  align-items: center;
  padding: 15px;
  padding-top: 0;
}
.content_layout .main_content .content_sidebar .content .category_item .content_sec .card_item .content_sec .title {
  font-size: 16px;
  font-weight: normal;
  padding-right: 10px;
}
.content_layout .main_content .content_sidebar .content .category_item .content_sec .card_item .content_sec .detail {
  display: flex;
  flex-direction: column;
  border-left: 1px solid #000;
  padding-left: 10px;
  gap: 8px;
}
.content_layout .main_content .content_sidebar .content .category_item .content_sec .card_item .footer_sec {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: transparent;
  border-top: 1px solid #DBDBDB;
  color: #285EE4;
  padding: 15px;
}
.content_layout .main_content .content_sidebar .content .category_item .content_sec .card_item .footer_sec .unit {
  font-size: 18px;
}
.content_layout .main_content .content_sidebar .content .category_item .content_sec .card_item .footer_sec .amount {
  font-size: 28px;
}
.content_layout .main_content .content_detail {
  flex: 1;
  height: calc(100vh - 80px);
  overflow-y: auto;
  padding: 40px;
}

@media (max-width: 1024px) {
  .content_layout {
    height: auto;
  }
  .content_layout .main_content {
    flex-direction: column;
  }
  .content_layout .main_content .content_sidebar {
    width: 100%;
    height: auto;
    max-height: 50vh;
    overflow-y: auto;
    border-right: none;
    border-bottom: 1px solid #DBDBDB;
    padding: 20px;
  }
  .content_layout .main_content .content_detail {
    width: 100%;
    height: auto;
    overflow-y: auto;
    padding: 20px;
  }
}
/* ========== main_title 上區塊主標題 ========== */
.main_title {
  display: flex;
  margin-bottom: 24px;
  align-items: center;
  color: #000;
}
.main_title .main_title_content {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.main_title .main_title_content h3 {
  margin-right: 15px;
}
.main_title .main_title_content .btn {
  min-width: 160px;
  font-size: 18px;
}
.main_title .row_wrap {
  flex-wrap: wrap;
}
.main_title .title {
  display: flex;
  align-items: center;
}
.main_title .title_action {
  display: flex;
  gap: 10px;
}
.main_title h3 {
  font-size: 35px;
  font-weight: 600;
  letter-spacing: 1px;
  display: flex;
  position: relative;
  margin-right: 16px;
  white-space: nowrap;
}
.main_title h3 .title {
  display: flex;
  flex-wrap: nowrap;
}
.main_title h3 a.back {
  align-items: center;
  width: 47px;
  position: relative;
  top: -4px;
  transition: 0.3s;
  margin-right: 8px;
}
.main_title h3 a.back:before {
  content: "";
  position: absolute;
  height: 47px;
  width: 47px;
  background: transparent;
  border-radius: 50%;
  z-index: 0;
  transition: 0.3s;
  top: 0;
}
.main_title h3 a.back:hover:before {
  background-color: #E0E7F8;
}
.main_title h3 a.back:active:before {
  background-color: #BBC3DA;
}
.main_title h3 a.back img {
  position: absolute;
  display: block;
  height: 47px;
  width: 47px;
  z-index: 2;
}
@media (max-width: 1024px) {
  .main_title .main_title_content {
    gap: 10px;
  }
}

.slide_panel {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 100px;
  left: 120px;
  width: calc(100vw - 120px);
  max-width: 500px;
  height: calc(100vh - 100px);
  background-color: #f8f9fa;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
  z-index: 10;
  padding: 20px;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}
.slide_panel.active {
  transform: translateX(0);
}
.slide_panel .note {
  font-size: 16px;
  font-weight: normal;
  margin-left: 8px;
}
.slide_panel .title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
}
.slide_panel .content {
  flex: 1 1 auto;
  overflow-y: auto;
  padding-right: 5px;
}
.slide_panel .content .tab_header .tab_btn {
  display: flex;
  gap: 16px;
}
.slide_panel .content .tab_header .tab_btn .tab_btn_item {
  position: relative;
  border: 0;
  font-size: 24px;
  font-weight: bold;
  background-color: transparent;
  color: #DBDBDB;
}
.slide_panel .content .tab_header .tab_btn .tab_btn_item.active {
  color: #285EE4;
}
.slide_panel .content .tab_header .tab_btn .tab_btn_item:not(:first-child) {
  padding-left: 16px;
}
.slide_panel .content .tab_header .tab_btn .tab_btn_item:not(:first-child)::before {
  content: "";
  position: absolute;
  top: 25%;
  left: 0;
  height: 50%;
  width: 1px;
  background-color: #d0d0d0;
}
.slide_panel .content .tab_header hr {
  margin: 15px 0 30px 0;
}
.slide_panel .content .tab_content .section_label {
  font-size: 24px;
  border-left: 2px solid #285EE4;
  padding: 0 8px;
  margin-bottom: 15px;
}
.slide_panel .content .tab_content .tab_pane {
  display: none;
}
.slide_panel .content .tab_content .tab_pane .form_group {
  margin-bottom: 1.5rem;
}
.slide_panel .content .tab_content .tab_pane .form_group label {
  display: block;
  margin-bottom: 15px;
}
.slide_panel .content .tab_content .tab_pane .form_group input,
.slide_panel .content .tab_content .tab_pane .form_group select,
.slide_panel .content .tab_content .tab_pane .form_group textarea {
  width: 100%;
  padding: 10px;
  font-size: 18px;
  border-radius: 8px;
  border: 2px solid #285EE4;
  transition: border-color 0.3s;
  outline: none;
}
.slide_panel .content .tab_content .tab_pane .form_group input:focus,
.slide_panel .content .tab_content .tab_pane .form_group select:focus,
.slide_panel .content .tab_content .tab_pane .form_group textarea:focus {
  border-color: #1849c1;
  outline: none;
}
.slide_panel .content .tab_content .tab_pane .form_group input[type=checkbox],
.slide_panel .content .tab_content .tab_pane .form_group input[type=radio] {
  width: auto;
  margin-right: 0.5rem;
  vertical-align: middle;
  cursor: pointer;
}
.slide_panel .content .tab_content .tab_pane .form_group .checkbox_item {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 10px;
  font-size: 18px;
  color: #285EE4;
  border-radius: 8px;
  border: 2px solid #285EE4;
  transition: all 0.3s;
  outline: none;
  cursor: pointer;
  position: relative;
}
.slide_panel .content .tab_content .tab_pane .form_group .checkbox_item input[type=checkbox] {
  opacity: 0;
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  cursor: pointer;
  z-index: 2;
}
.slide_panel .content .tab_content .tab_pane .form_group .checkbox_item label {
  margin-bottom: 0;
  padding-left: 40px;
  flex: 1;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  position: relative;
  line-height: 1.2;
}
.slide_panel .content .tab_content .tab_pane .form_group .checkbox_item label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 2px solid #285EE4;
  border-radius: 3px;
  background-color: #fff;
  box-sizing: border-box;
  transition: background-color 0.3s, border-color 0.3s;
}
.slide_panel .content .tab_content .tab_pane .form_group .checkbox_item input[type=checkbox]:checked + label::before {
  background-color: #285EE4;
  border-color: #fff;
}
.slide_panel .content .tab_content .tab_pane .form_group .checkbox_item input[type=checkbox]:checked + label::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 6px;
  height: 12px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
}
.slide_panel .content .tab_content .tab_pane .form_group .checkbox_item:not(:last-child) {
  margin-bottom: 25px;
}
.slide_panel .content .tab_content .tab_pane .form_group .checkbox_item.is-checked {
  background-color: #285EE4;
  border-color: #285EE4;
}
.slide_panel .content .tab_content .tab_pane .form_group .checkbox_item.is-checked label {
  color: #fff;
}
.slide_panel .content .tab_content .tab_pane .form_group .checkbox_item.is-checked label::before {
  background-color: #285EE4;
  border-color: #fff;
}
.slide_panel .content .tab_content .tab_pane .form_group .checkbox_item.is-checked label::after {
  border-color: #fff;
}
.slide_panel .content .tab_content .tab_pane .form_group .checkbox_item.is-checked .fa_icon {
  color: #fff;
}
.slide_panel .content .tab_content .tab_pane.active {
  display: block;
}
.slide_panel .content .tab_content hr {
  margin: 40px 0 32px 0;
}
.slide_panel .tab_actions {
  display: flex;
  justify-content: end;
  position: sticky;
  bottom: 0;
  left: 0;
  background-color: #f8f9fa;
}
.slide_panel .tab_actions .btn {
  min-width: 150px;
}
.slide_panel .tab_actions .btn:not(:last-child) {
  margin-right: 15px;
}

.sc-datepicker {
  font-size: 20px !important;
  line-height: 22px !important;
  color: #285ee4 !important;
  background: #fff !important;
  border-radius: 999px !important;
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16) !important;
  padding: 0 10px !important;
  letter-spacing: 1px !important;
  height: 40px !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  border: 1px solid #285ee4 !important;
  cursor: pointer !important;
}
.sc-datepicker:hover {
  background: #eaf1ff;
}
.sc-datepicker:active {
  background: #fff;
  border-color: #285ee4;
}
.sc-datepicker:active input {
  color: #285ee4;
}
.sc-datepicker input {
  background: none !important;
  border: none !important;
  color: #285ee4 !important;
  font-size: 20px !important;
  line-height: 22px !important;
  outline: none !important;
  padding: 0 !important;
  letter-spacing: 1px !important;
  text-align: center !important;
}

.sc-data_content {
  display: flex;
  align-items: center;
}

input[name=daterange] {
  cursor: pointer;
}

.custom_popover {
  display: none;
  position: fixed;
  min-width: 220px;
  max-width: 480px;
  width: auto;
  background: #fff;
  border: 2px solid #F29423;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  box-sizing: border-box;
  word-wrap: break-word;
  white-space: normal;
}
.custom_popover .popover_header {
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  background-color: #F29423;
  padding: 15px;
  border-radius: 5px 5px 0 0;
}
.custom_popover .popover_body {
  font-size: 14px;
  line-height: 1.5;
  padding: 15px;
}
.custom_popover .popover_arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
}
.custom_popover.arrow-right .popover_arrow {
  left: -8px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 8px solid #F29423;
}
.custom_popover.arrow-left .popover_arrow {
  right: -8px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid #F29423;
}
@media (max-width: 480px) {
  .custom_popover {
    max-width: 90vw;
    left: 50% !important;
    transform: translateX(-50%);
  }
  .custom_popover .popover_arrow {
    display: none;
  }
}

@media (max-width: 1024px) {
  .slide_panel {
    top: 100px;
    left: 0;
    width: 100vw;
    height: calc(100vh - 100px);
    max-width: none;
    transform: translateX(100%);
    box-shadow: none;
  }
  .slide_panel.active {
    transform: translateX(0);
  }
  .custom_popover .popover_header {
    font-size: 14px;
    line-height: 1.5;
  }
}
#showDiv {
  position: fixed;
  z-index: 9999;
  display: none;
  max-width: 300px;
  padding: 8px 12px;
  line-height: 1.5;
  background: #fff;
  color: #2E4A8F;
  font-weight: bold;
  border: 2px solid #2E4A8F;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  word-break: break-word;
}

button {
  cursor: pointer;
  font-family: noto sans tc, sans-serif;
}

.btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 6px 16px !important;
  font-weight: bold !important;
  border: none !important;
  border-radius: 999px !important;
  line-height: 1.5 !important;
  transition: all 0.3s !important;
  white-space: nowrap !important;
  -webkit-user-select: none !important;
     -moz-user-select: none !important;
          user-select: none !important;
  cursor: pointer !important;
}

.switch_btn {
  position: relative;
  display: inline-block;
}
.switch_btn input {
  display: none;
}
.switch_btn input:checked + label {
  background: #285EE4;
}
.switch_btn input:checked + label .switch_dot {
  transform: translateX(102px);
}
.switch_btn input:checked + label .switch_text::before {
  content: attr(data-on);
}
.switch_btn label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 130px;
  height: 30px;
  font-size: 12px;
  position: relative;
  background-color: #c6c6c6;
  border-radius: 999px;
  cursor: pointer;
  overflow: hidden;
  color: #fff;
  font-weight: 500;
  transition: background 0.3s;
}
.switch_btn label .switch_text {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  transition: 0.3s;
}
.switch_btn label .switch_text::before {
  content: attr(data-off);
  white-space: nowrap;
  transition: content 0.3s;
}
.switch_btn label .switch_dot {
  position: absolute;
  top: 4px;
  left: 3px;
  width: 22px;
  height: 22px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
}

.btn-primary {
  background: #285ee4;
  border: 1px solid #285ee4;
  color: #fff;
}
.btn-primary:hover {
  background: #285ee4;
  color: #fff;
}

.btn-danger {
  background: #FF0000;
  border: 1px solid #FF0000;
  color: #fff;
}
.btn-danger:hover {
  background: #FF0000;
  color: #fff;
}

.btn-outline-primary {
  color: #285ee4;
  background: #fff;
  border: 1px solid #285ee4 !important;
}
.btn-outline-primary:hover {
  background: #285ee4;
  color: #fff;
}

.btn-outline-success {
  color: #285ee4;
  background: #fff;
  border: 2px solid #048080;
}
.btn-outline-success:hover {
  background: #f3f3f3;
  color: #285ee4;
}

.btn-outline-seagreen {
  color: #359b9b;
  background: #fff;
  border: 1px solid #359b9b;
}
.btn-outline-seagreen:hover {
  background: #359b9b;
  color: #fff;
}

.btn-outline-warning {
  background: #fff;
  color: #e4b849;
  border: 1px solid #e4b849;
}
.btn-outline-warning:hover {
  background: #e4b849;
  color: #f3f3f3;
  transition: opacity 0.3s ease;
}

.btn-outline-danger {
  background: #fff;
  color: #ff0000;
  border: 1px solid #ff0000;
}
.btn-outline-danger:hover {
  background: #ff0000;
  color: #f3f3f3;
  transition: opacity 0.3s ease;
}

.btn-success-shadow {
  box-shadow: 2px 2px 2px 0 rgba(53, 155, 155, 0.2);
}

.btn-primary-shadow {
  box-shadow: 0 3px 6px 0 rgba(41, 99, 175, 0.16);
}

.btn-warning-shadow {
  box-shadow: 2px 2px 2px 0 rgba(228, 184, 73, 0.2);
}

.btn-danger-shadow {
  box-shadow: 2px 4px 10px rgba(255, 35, 35, 0.25);
}

.btn-light-shadow {
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
}

.btn-spacing-sm {
  letter-spacing: 0.5rem;
}

.btn-spacing-md {
  letter-spacing: 1rem;
}

.btn-spacing-lg {
  letter-spacing: 2rem;
}

.guide_group {
  margin: 0;
}

.input_with_btn {
  position: relative;
  display: inline-block;
}
.input_with_btn input {
  padding-right: 60px;
}
.input_with_btn .edit_btn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 33px;
  padding: 0 10px;
  color: #285EE4;
  font-size: 14px;
  background-color: #fff;
  border: 2px solid #285EE4;
  border-radius: 4px;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .input_with_btn {
    width: 100%;
  }
}
table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  margin: 0;
  table-layout: fixed;
}
table tr {
  color: #000;
}
table th,
table td {
  padding: 8px;
  height: 44px;
  max-height: 44px;
  text-align: center;
  vertical-align: middle;
}
table th {
  font-size: 18px;
  line-height: 1.5;
  color: #fff;
  border: 1px solid #fff;
}
table th.text-right {
  text-align: right;
}
table th.text-center {
  text-align: center;
}
table th.text-left {
  text-align: left;
}
table th.table_title {
  letter-spacing: 16px;
}
@media (max-width: 1024px) {
  table th {
    font-size: 16px;
  }
}
@media (max-width: 768px) {
  table th {
    font-size: 14px;
  }
}
table td {
  font-size: 16px;
  line-height: 1.5;
}
table td.tb-itemname {
  text-align: left !important;
}
table td.tb-subtotal {
  text-align: right !important;
}
table td.tb-percent {
  text-align: right !important;
}
table td.tb_amount {
  text-align: right !important;
}
table td.tb_showdiv {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 1024px) {
  table td {
    font-size: 14px;
  }
}
@media (max-width: 768px) {
  table td {
    font-size: 14px;
  }
}
table.primary_table th {
  background-color: #285EE4;
}
table.secondary_table th {
  background-color: #2E4A8F;
}
table.accent_table th {
  background-color: #F29423;
}

.table_responsive {
  width: 100%;
  overflow-x: auto;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}
.table_responsive.fixhead {
  max-height: calc(100vh - 400px);
  overflow: auto;
}
.table_responsive.fixhead .data_table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
}
@media (max-width: 1024px) {
  .table_responsive .data_table {
    min-width: 600px;
  }
}

.table_striped tbody tr:nth-child(odd) {
  background-color: #fcfcfc;
}
.table_striped tbody tr:nth-child(even) {
  background-color: #f6f6f6;
}

.table-container {
  background: #fff;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
}
.table-container .table_header {
  padding: 15px;
  align-items: center;
  flex-wrap: wrap;
}
.table-container .table_content .highlight {
  background-color: #F29423;
}
.table-container .pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  box-sizing: border-box;
}
.table-container .pagination .spacer {
  flex: 1;
}
.table-container .pagination .action {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.table-container .pagination .action .prev {
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 15px solid #b8b8b8;
  margin-right: 15px;
}
.table-container .pagination .action .next {
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #b8b8b8;
  margin-left: 15px;
}
.table-container .pagination .action ul {
  border-radius: 7px;
  overflow: hidden;
  display: flex;
}
.table-container .pagination .action ul li {
  background: #fff;
}
.table-container .pagination .action ul li a {
  display: flex;
  text-align: center;
  height: 28px;
  width: 40px;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: #646464;
}
.table-container .pagination .action ul li a.active {
  background: #285EE4;
  color: #fff;
}
.table-container .pagination .info {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-right: 20px;
  font-size: 15px;
  color: #767676;
  letter-spacing: 1px;
}
.table-container .pagination .info .total_page {
  margin-right: 20px;
}
.table-container .pagination .info .records {
  text-align: right;
}

.data_table tbody tr.header-level {
  background-color: #fff !important;
  color: #383838;
}
.data_table tbody tr.header-level td {
  color: #285EE4;
  text-align: left !important;
  padding: 0 20px;
}
.data_table tbody tr.header-level td:first-child {
  position: relative;
}
.data_table tbody tr.header-level:hover {
  background-color: #DBDBDB;
  cursor: pointer;
}
.data_table tbody tr.header-level.active {
  background-color: #bebebe;
}
.data_table tbody tr.header-level.has-sub td:first-child::after {
  content: "";
  width: 44px;
  height: 44px;
  position: absolute;
  top: 0;
  margin-left: 16px;
  background-image: url(../../../static/v2/images/tb_down_b.svg);
  cursor: pointer;
  transform: scale(0.95) rotate(0deg);
  transition: 0.3s;
}
.data_table tbody tr.header-level.has-sub.open td:first-child::after {
  transform: scale(0.95) rotate(180deg);
}
.data_table tbody tr.header-level:not(.has-sub) td:first-child {
  padding-left: 24px;
}
.data_table tbody tr.sub-level {
  display: table-row;
}
.data_table tbody tr.sub-level.collapsed {
  display: none;
}
.data_table tbody tr.footer-level {
  background-color: #ececec;
}
.data_table tbody tr.footer-level td.tb-itemname {
  padding: 0 20px;
}
.data_table tbody tr.calculate-level {
  background-color: #2E4A8F;
  color: #fff;
}
.data_table tbody tr.calculate-level td.tb-itemname {
  padding: 0 20px;
}
.data_table .column_data th {
  background-color: #ECECEC;
  color: #000;
}

@media (max-width: 1024px) {
  .table-container .table_header {
    gap: 10px;
  }
  .table-container .table_header .datepicker-outter {
    line-height: 2;
  }
  .table-container .table_header .sc-datepicker {
    margin: 0 !important;
    width: 100%;
    justify-content: center;
  }
  .table-container .table_header .btn {
    display: block;
    width: 100%;
  }
  .table-container .pagination .info .total_page {
    margin-right: 0;
  }
}
.balance-sheet-page {
  max-width: 1408px;
}
.balance-sheet-page .table_content {
  height: calc(100vh - 300px);
  display: flex;
}
.balance-sheet-page .table_content .table_group {
  display: flex;
  min-width: -moz-fit-content;
  min-width: fit-content;
  height: 100%;
}
.balance-sheet-page .table_content .table_main {
  flex: 0 0 50%;
  max-width: 50%;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.balance-sheet-page .table_content .table_main .table_wrapper {
  flex: 1;
  overflow-y: auto;
  overflow-x: auto;
}
.balance-sheet-page .table_content .table_main .data_table {
  width: 100%;
  border-collapse: collapse;
}
.balance-sheet-page .table_content .table_main .data_table thead th {
  position: sticky;
  background-color: #fff;
  z-index: 10;
}
.balance-sheet-page .table_content .table_main .data_table thead tr:first-child th {
  top: 0;
  z-index: 12;
  height: 44px;
  border-bottom: 1px solid #ccc;
}
.balance-sheet-page .table_content .table_main .data_table thead tr:nth-child(2) th {
  top: 44px;
  z-index: 11;
  background-color: #ECECEC;
  height: 36px;
  border-bottom: 1px solid #ccc;
}
.balance-sheet-page .table_content .table_main .data_table.secondary_table thead tr:first-child th {
  background-color: #2E4A8F;
  color: #fff;
}
.balance-sheet-page .table_content .table_main .data_table.accent_table thead tr:first-child th {
  background-color: #F29423;
  color: #fff;
}
.balance-sheet-page .table_content .table_main .data_table tbody tr.calculate-level {
  background-color: transparent;
}
.balance-sheet-page .table_content .table_main .data_table tbody tr.calculate-level td {
  position: sticky;
  bottom: 0;
  z-index: 9;
  background-color: transparent;
}
.balance-sheet-page .table_content .table_main .data_table tbody tr.calculate-level.left td {
  background-color: #2E4A8F !important;
  color: #fff !important;
}
.balance-sheet-page .table_content .table_main .data_table tbody tr.calculate-level.right td {
  background-color: #F29423;
  color: #fff;
}
@media (max-width: 1024px) {
  .balance-sheet-page .table_content .table_main {
    flex: 0 0 auto;
    width: 680px;
  }
  .balance-sheet-page .table_content .table_group {
    min-width: -moz-fit-content;
    min-width: fit-content;
  }
  .balance-sheet-page .table_content .table_responsive {
    overflow-x: auto;
    padding-bottom: 8px;
  }
}

.col-w-10 {
  width: 10%;
}

.col-w-20 {
  width: 20%;
}

.col-w-5 {
  width: 5%;
}

.col-w-10 {
  width: 10%;
}

.col-w-15 {
  width: 15%;
}

.col-w-20 {
  width: 20%;
}

.col-w-25 {
  width: 25%;
}

.col-w-30 {
  width: 30%;
}

.col-w-33 {
  width: 33.3333%;
}

.col-w-35 {
  width: 35%;
}

.col-w-40 {
  width: 40%;
}

.col-w-45 {
  width: 45%;
}

.col-w-50 {
  width: 50%;
}

.col-w-60 {
  width: 60%;
}

.col-w-66 {
  width: 66.6667%;
}

.col-w-70 {
  width: 70%;
}

.col-w-75 {
  width: 75%;
}

.col-w-80 {
  width: 80%;
}

.col-w-90 {
  width: 90%;
}

.col-w-100 {
  width: 100%;
}

.flex {
  display: flex;
}

@media (min-width: 1024px) {
  .jc-desktop-start {
    justify-content: flex-start !important;
  }
}

@media (min-width: 1024px) {
  .jc-desktop-end {
    justify-content: flex-end !important;
  }
}

@media (min-width: 1024px) {
  .jc-desktop-center {
    justify-content: center !important;
  }
}

@media (min-width: 1024px) {
  .jc-desktop-between {
    justify-content: space-between !important;
  }
}

@media (min-width: 1024px) {
  .jc-desktop-around {
    justify-content: space-around !important;
  }
}

@media (min-width: 1024px) {
  .jc-desktop-evenly {
    justify-content: space-evenly !important;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .jc-tablet-start {
    justify-content: flex-start !important;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .jc-tablet-end {
    justify-content: flex-end !important;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .jc-tablet-center {
    justify-content: center !important;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .jc-tablet-between {
    justify-content: space-between !important;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .jc-tablet-around {
    justify-content: space-around !important;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .jc-tablet-evenly {
    justify-content: space-evenly !important;
  }
}

@media (max-width: 767px) {
  .jc-mobile-start {
    justify-content: flex-start !important;
  }
}

@media (max-width: 767px) {
  .jc-mobile-end {
    justify-content: flex-end !important;
  }
}

@media (max-width: 767px) {
  .jc-mobile-center {
    justify-content: center !important;
  }
}

@media (max-width: 767px) {
  .jc-mobile-between {
    justify-content: space-between !important;
  }
}

@media (max-width: 767px) {
  .jc-mobile-around {
    justify-content: space-around !important;
  }
}

@media (max-width: 767px) {
  .jc-mobile-evenly {
    justify-content: space-evenly !important;
  }
}

hr {
  border: none;
  height: 1px;
  margin: 15px 0;
  background-color: #DBDBDB;
}

.hr-space-lg {
  margin: 40px 0 25px 0;
}

.hr-space-md {
  margin: 28px 0 25px 0;
}

.hr-space-sm {
  margin: 12px 0;
}

.form_group {
  margin-bottom: 32px;
}
.form_group:last-of-type {
  margin-bottom: 0 !important;
}
.form_group label {
  display: flex;
  margin-bottom: 8px;
}
.form_group input[type=text],
.form_group input[type=email],
.form_group input[type=password],
.form_group input[type=number] {
  padding: 0.5rem;
  border-radius: 4px;
  border: 1px solid #C6C6C6;
  transition: border-color 0.3s;
  outline: none;
}
.form_group input[type=text].gray-border,
.form_group input[type=email].gray-border,
.form_group input[type=password].gray-border,
.form_group input[type=number].gray-border {
  border-color: #C6C6C6;
}
.form_group input[type=text].blue-border,
.form_group input[type=email].blue-border,
.form_group input[type=password].blue-border,
.form_group input[type=number].blue-border {
  border-color: #285EE4;
}
.form_group input[type=text]:focus,
.form_group input[type=email]:focus,
.form_group input[type=password]:focus,
.form_group input[type=number]:focus {
  border-color: #285EE4;
  outline: none;
}
.form_group input[readonly] {
  background-color: #DBDBDB;
  cursor: not-allowed;
}
.form_group.horizontal_group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.form_group.horizontal_group label {
  margin-bottom: 0;
}
.form_group.horizontal_group input[type=checkbox] {
  width: 20px;
  height: 20px;
}
.form_group .error_message {
  display: none;
}
.form_group .upload_icon_wrapper {
  display: inline-block;
  cursor: pointer;
}
.form_group .upload_icon_wrapper .upload_input {
  display: none;
}
.form_group .upload_icon_wrapper .upload_icon {
  width: 70px;
  height: 70px;
  margin-top: 15px;
}
.form_group .preview_wrapper {
  position: relative;
  display: inline-block;
}
.form_group .preview_wrapper .preview_img {
  width: 70px;
  height: 70px;
  -o-object-fit: cover;
     object-fit: cover;
  border: 2px solid #285EE4;
  border-radius: 8px;
  margin-left: 10px;
}
.form_group .preview_wrapper .delete_btn {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #285EE4;
  border: none;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 14px;
  cursor: pointer;
  line-height: 18px;
}

.select_group {
  width: 311px;
  margin-right: 8px;
  position: relative;
  margin-bottom: 24px;
  -moz-text-align-last: left;
       text-align-last: left;
}
.select_group select:focus {
  border-color: #285EE4;
  outline: none;
}

.form_row {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.form_row .flex-grow-7 {
  flex: 7;
}
.form_row .flex-grow-3 {
  flex: 3;
}

.form_action {
  display: flex;
  flex-direction: column;
  margin-top: 40px;
}
.form_action .btn {
  font-size: 18px;
}
.form_action .btn:not(:last-child) {
  margin-bottom: 10px;
}

.upload_outter {
  padding: 30px 0 0;
  width: 100%;
  display: flex;
}
.upload_outter .upload {
  margin-right: 10px;
  padding-top: 12px;
  display: block;
  transform: scale(1);
  transition: 0.3s;
}
.upload_outter .upload:active {
  transform: scale(0.98);
}
.upload_outter .upload > a {
  height: 72px;
  width: 72px;
  display: block;
  background-image: url(../images/upx_b.png);
  background-position: center;
  background-repeat: no-repeat;
}
.upload_outter .upload > a img {
  display: none;
}
.upload_outter .upload img {
  height: 66px;
}
.upload_outter .mcs-horizontal-pics {
  max-width: 215px;
  margin-left: 0;
}
.upload_outter .mcs-horizontal-pics .hitem > img {
  height: 66px;
}

.input-field-upload .upload_outter {
  padding: 0;
}

.w-100 {
  width: 100%;
}

.w-400 {
  width: 400px;
}

@media (max-width: 1024px) {
  .w-400 {
    width: 100%;
  }
}