@charset "UTF-8";
@font-face {
  font-family: "Kanit";
  src: url("../../fonts/kanit/KanitExtraLight.eot");
  src: url("../../fonts/kanit/KanitExtraLight.eot") format("embedded-opentype"), url("../../fonts/kanit/KanitExtraLight.woff2") format("woff2"), url("../../fonts/kanit/KanitExtraLight.woff") format("woff"), url("../../fonts/kanit/KanitExtraLight.ttf") format("truetype"), url("../../fonts/kanit/KanitExtraLight.svg#KanitExtraLight") format("svg");
  font-weight: 200;
}
@font-face {
  font-family: "Kanit";
  src: url("../../fonts/kanit/KanitLight.eot");
  src: url("../../fonts/kanit/KanitLight.eot") format("embedded-opentype"), url("../../fonts/kanit/KanitLight.woff2") format("woff2"), url("../../fonts/kanit/KanitLight.woff") format("woff"), url("../../fonts/kanit/KanitLight.ttf") format("truetype"), url("../../fonts/kanit/KanitLight.svg#KanitLight") format("svg");
  font-weight: 300;
}
@font-face {
  font-family: "Kanit";
  src: url("../../fonts/kanit/KanitRegular.eot");
  src: url("../../fonts/kanit/KanitRegular.eot") format("embedded-opentype"), url("../../fonts/kanit/KanitRegular.woff2") format("woff2"), url("../../fonts/kanit/KanitRegular.woff") format("woff"), url("../../fonts/kanit/KanitRegular.ttf") format("truetype"), url("../../fonts/kanit/KanitRegular.svg#KanitRegular") format("svg");
  font-weight: 400;
}
@font-face {
  font-family: "Kanit";
  src: url("../../fonts/kanit/KanitMedium.eot");
  src: url("../../fonts/kanit/KanitMedium.eot") format("embedded-opentype"), url("../../fonts/kanit/KanitMedium.woff2") format("woff2"), url("../../fonts/kanit/KanitMedium.woff") format("woff"), url("../../fonts/kanit/KanitMedium.ttf") format("truetype"), url("../../fonts/kanit/KanitMedium.svg#KanitMedium") format("svg");
  font-weight: 500;
}
@font-face {
  font-family: "Kanit";
  src: url("../../fonts/kanit/KanitSemiBold.eot");
  src: url("../../fonts/kanit/KanitSemiBold.eot") format("embedded-opentype"), url("../../fonts/kanit/KanitSemiBold.woff2") format("woff2"), url("../../fonts/kanit/KanitSemiBold.woff") format("woff"), url("../../fonts/kanit/KanitSemiBold.ttf") format("truetype"), url("../../fonts/kanit/KanitSemiBold.svg#KanitSemiBold") format("svg");
  font-weight: 600;
}
@font-face {
  font-family: "Kanit";
  src: url("../../fonts/kanit/KanitBold.eot");
  src: url("../../fonts/kanit/KanitBold.eot") format("embedded-opentype"), url("../../fonts/kanit/KanitBold.woff2") format("woff2"), url("../../fonts/kanit/KanitBold.woff") format("woff"), url("/../../fonts/kanit/KanitBold.ttf") format("truetype"), url("../../fonts/kanit/KanitBold.svg#KanitBold") format("svg");
  font-weight: 700;
}
.navbar-custom {
  background-color: #007299;
  min-height: 100px;
}

.navbar-custom-light {
  background-color: #f4feff;
  min-height: 100px;
}

.navbar-custom-clear {
  background-color: #45BDBF;
  min-height: 100px;
}

/* สีลิงก์สำหรับ navbar-custom (ธีมเข้ม) */
.navbar-custom .navbar-nav .nav-link {
  color: #C4C4C4 !important;
  font-weight: 500;
  margin-right: 1rem;
}

.navbar-custom .navbar-nav .nav-link:hover,
.navbar-custom .navbar-nav .nav-link.active {
  color: #ffffff !important;
}

/* สีลิงก์สำหรับ navbar-custom-light (ธีมสว่าง) */
.navbar-custom-light .navbar-nav .nav-link {
  color: #C4C4C4 !important; /* สีดำ */
  font-weight: 500;
  margin-right: 1rem;
}

.navbar-custom-light .navbar-nav .nav-link:hover,
.navbar-custom-light .navbar-nav .nav-link.active {
  color: #222222 !important; /* สีดำเข้ม */
}

.nav-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  list-style: none;
  padding-left: 0;
  margin-bottom: 0.5rem;
  margin-left: auto;
  margin-right: auto;
}

/* เริ่มจากซ่อน/แสดงให้เหมาะสมกับทุกขนาด */
.bell-icon-desktop {
  display: none !important;
}

.bell-icon-mobile {
  display: inline-block !important;
}

.linear-button {
  background: linear-gradient(to right, #56E0E0, #007299);
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  justify-content: center;
  border: none;
  transition: 0.3s;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 203px;
  /* ป้องกันปุ่มใหญ่เกิน */
  height: auto;
  white-space: nowrap;
  cursor: pointer;
}

.linear-button i {
  margin-right: 6px;
}

.linear-button:hover {
  opacity: 0.9;
  cursor: pointer;
}

.bell-icon {
  color: white;
  font-size: 1.25rem;
  margin-right: 1.5rem;
  position: relative;
}

.bell-icon .dot {
  position: absolute;
  top: 0;
  right: 0;
  width: 8px;
  height: 8px;
  background-color: red;
  border-radius: 50%;
}

.navbar-custom-light .bell-icon {
  background: linear-gradient(to right, #50D9DB, #007299);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.25rem;
  margin-right: 1.5rem;
  position: relative;
}

.navbar-custom-light .bell-icon .dot {
  position: absolute;
  top: 0;
  right: 0;
  width: 8px;
  height: 8px;
  background-color: red;
  border-radius: 50%;
}

.bell-icon-desktop,
.bell-icon-mobile {
  color: white;
  font-size: 1.2rem;
}
.bell-icon-desktop .dot,
.bell-icon-mobile .dot {
  width: 8px;
  height: 8px;
  background: red;
  border-radius: 50%;
  display: inline-block;
}

.navbar-custom-light .bell-icon-desktop,
.navbar-custom-light .bell-icon-mobile {
  background: linear-gradient(to right, #50D9DB, #007299);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.2rem;
}
.navbar-custom-light .bell-icon-desktop .dot,
.navbar-custom-light .bell-icon-mobile .dot {
  width: 8px;
  height: 8px;
  background: red;
  border-radius: 50%;
  display: inline-block;
}

.navbar-mobile-controls {
  display: flex;
  align-items: center;
  gap: 0rem;
}

/* ลด margin ที่ทำให้กระดิ่งห่างออก */
.bell-icon-mobile {
  margin-right: 4 !important; /* ลบ margin ด้านขวา */
  font-size: 1.3rem; /* ปรับขนาดถ้าต้องการ */
}

.navbar-custom-clear #navbarContent,
.navbar-custom-clear #bell-menu {
  display: none !important;
}

/* ให้แน่ใจว่าโลโก้ยังแสดงอยู่ */
.navbar-custom-clear .navbar-brand {
  display: flex !important;
}

.noti-title {
  font-size: 14px;
  font-weight: 500;
  background: linear-gradient(to right, #56E0E0, #007299);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.noti-desc,
.noti-status {
  font-size: 14px;
  font-weight: 300;
}

.noti-detail {
  margin-left: 20px;
  text-align: left;
}

.noti-time {
  font-size: 8px;
  font-weight: 300;
}

.noti-item i {
  font-size: 32px;
}

.icon-wrapper {
  position: relative;
  display: inline-block;
}

.noti-item .dot {
  position: absolute;
  top: -6px;
  right: -12px;
  width: 15px;
  height: 15px;
  background-color: red;
  border-radius: 50%;
  border: 2px solid white;
}

#notiModal .modal-dialog {
  max-width: 600px;
  height: 90vh;
}

#notiModal .modal-content {
  width: 100%;
  height: 100%;
}

#notiModal .card-body {
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
}

@media (max-width: 1200px) {
  .container-fluid {
    padding-right: 0px !important;
  }
  /* mobile header adjustments */
  #userMenu {
    right: 0;
    left: auto;
    top: 110%;
  }
  .user-dropdown-toggle {
    width: 100%;
    text-align: center;
  }
  .navbar-toggler {
    border: none !important;
    background: none !important;
    outline: none !important;
    box-shadow: none !important;
  }
  .navbar-toggler i {
    color: white;
  }
  .navbar-brand img {
    max-height: 60px;
  }
}
.navbar-custom-light .navbar-toggler i {
  color: black;
}

@media (max-width: 450px) {
  .navbar-brand img {
    width: 170px !important;
    height: auto;
  }
}
@media (min-width: 1200px) {
  .bell-icon-desktop {
    display: inline-block !important;
  }
  .bell-icon-mobile {
    display: none !important;
  }
}
.content {
  position: relative;
}

.card-content {
  padding: 30px;
  background-color: #ffffff;
  box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  margin-top: 15px;
  overflow: hidden;
}

.dynamic-card-content {
  padding: 30px 70px;
}
@media (max-width: 767.5px) {
  .dynamic-card-content {
    padding: 20px;
  }
}

.main-title {
  color: #242A38;
  font-size: 32px;
}

.second-title {
  color: #344053;
  font-size: 16px;
}

.grey-color {
  color: #5A6573;
}

.cursor-pointer {
  cursor: pointer;
}

.btn-primary {
  --bs-btn-border-color: #1A2C3A;
  --bs-btn-hover-bg: #1A2C3A;
  --bs-btn-hover-border-color: #1A2C3A;
  --bs-btn-active-bg: #1A2C3A;
  --bs-btn-active-border-color: #1A2C3A;
  --bs-btn-disabled-bg: #1A2C3A;
  --bs-btn-disabled-border-color: #1A2C3A;
  border-color: #1A2C3A;
  border-radius: 8px;
  background: #1A2C3A;
  display: flex;
  gap: 10px;
  font-weight: bold;
}
.btn-primary .fa-solid {
  display: flex;
  align-items: center;
}

.form-label {
  font-size: 16px !important;
}

h4 {
  font-size: 20px !important;
}

thead {
  font-size: 14px !important;
}

tbody {
  font-size: 16px !important;
}

@media (min-width: 538px) {
  .edit-input-form {
    width: 306px;
    height: 32px;
  }
}

.padding-2 {
  padding: 0.2rem 0.2rem !important;
}

.btn-yellow {
  color: #344053;
  --bs-btn-border-color: #F6C27A;
  --bs-btn-hover-bg: #F6C27A;
  --bs-btn-hover-border-color: #ffb44a;
  --bs-btn-hover-color: #344053;
  --bs-btn-active-bg: #ffb44a;
  --bs-btn-active-border-color: #ffb44a;
  --bs-btn-active-color: #344053;
  --bs-btn-disabled-bg: #ffb44a;
  --bs-btn-disabled-border-color: #ffb44a;
  border-color: #F6C27A;
  background: #F6C27A;
}
.btn-yellow .fa-solid {
  display: flex;
  align-items: center;
}

.gray-form .btn-primary {
  border-radius: 20px;
  background: rgb(238, 238, 238);
  border-color: rgb(238, 238, 238);
  color: black;
}
.gray-form .downloaded {
  color: #FF9D00;
}
.gray-form .col-md-4 i {
  padding-right: 5px;
}
.gray-form .btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #6e6e6e;
  --bs-btn-border-color: #6e6e6e;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #6e6e6e;
  --bs-btn-hover-border-color: #6e6e6e;
  --bs-btn-focus-shadow-rgb: 49,132,253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #6e6e6e;
  --bs-btn-active-border-color: #6e6e6e;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #6e6e6e;
  --bs-btn-disabled-border-color: #6e6e6e;
}

.black-color .form-select {
  color: rgb(35, 35, 35);
}

.btn-style-border {
  background: #fff;
  border-color: #344053;
  border-radius: 10px;
  border-width: 3px;
  color: #344053;
}

.btn-style-border-grey {
  border-color: #D0D9E5;
  color: #D0D9E5;
}

.btn-style-bg {
  background: #E0E8F1;
  border-color: #E0E8F1;
  border-radius: 10px;
  border-width: 3px;
  color: #99A5B1;
}

button img {
  margin-top: 2px;
  width: 20px;
  height: 20px;
}

.btn-light-green {
  color: #344053;
  --bs-btn-border-color: #E2F2E6;
  --bs-btn-hover-bg: #E2F2E6;
  --bs-btn-hover-border-color: #E2F2E6;
  --bs-btn-hover-color: #344053;
  --bs-btn-active-bg: #E2F2E6;
  --bs-btn-active-border-color: #E2F2E6;
  --bs-btn-active-color: #344053;
  --bs-btn-disabled-bg: #E2F2E6;
  --bs-btn-disabled-border-color: #E2F2E6;
  border-color: #E2F2E6;
  background: #E2F2E6;
}
.btn-light-green .fa-solid {
  display: flex;
  align-items: center;
}

.btn-light-yellow {
  color: #344053;
  --bs-btn-border-color: #FFF2CE;
  --bs-btn-hover-bg: #FFF2CE;
  --bs-btn-hover-border-color: #FFF2CE;
  --bs-btn-hover-color: #344053;
  --bs-btn-active-bg: #FFF2CE;
  --bs-btn-active-border-color: #FFF2CE;
  --bs-btn-active-color: #344053;
  --bs-btn-disabled-bg: #FFF2CE;
  --bs-btn-disabled-border-color: #FFF2CE;
  border-color: #FFF2CE;
  background: #FFF2CE;
}
.btn-light-yellow .fa-solid {
  display: flex;
  align-items: center;
}

.btn-smaller {
  height: 28px;
  font-size: 14px;
  font-weight: bold;
  color: #5A6573;
  align-items: center;
  margin-top: 38px;
}
@media (max-width: 767px) {
  .btn-smaller {
    margin-top: 10px;
  }
}

.no-resize {
  resize: none;
  min-width: 150px;
}

.textarea-smaller {
  height: 64px;
}

.no-negative-margin {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.show-content {
  margin-top: 25px;
}
.show-content .table tbody td {
  border-bottom: none !important;
}
.show-content .table tbody tr .text-center .btn img {
  width: 32px;
  border: none !important;
}

.btn-sm img {
  width: 32px;
  height: 32px;
}

@media (max-width: 1024px) {
  .card-head .justify-content-between {
    display: flex;
    flex-direction: column;
  }
}

.decorate-pagination {
  --bs-pagination-border-color: none;
  --bs-pagination-color: #5A6573;
  --bs-pagination-focus-color: white;
  --bs-pagination-focus-bg: #1A2C3A;
  --bs-pagination-focus-box-shadow: none;
  --bs-pagination-hover-color: #404751;
  --bs-pagination-hover-color: white;
  --bs-pagination-hover-bg: #1A2C3A;
  --bs-pagination-hover-box-shadow: none;
}

.table-light {
  --bs-table-color: #5A6573;
}

.table {
  --bs-table-color: #5A6573;
}

.btn-outline-primary, .btn-outline-warning, .btn-outline-danger {
  --bs-btn-border-color: none;
  --bs-btn-hover-border-color: none;
  --bs-btn-active-border-color: none;
  --bs-btn-hover-bg: none;
  --bs-btn-active-bg: none;
}

.me-1, .btn-outline-danger {
  margin: 0 !important;
  padding: 0 !important;
}

.mt {
  margin-top: 20px;
}

.btn-orange {
  background: #FF9D00;
  border-color: #FF9D00;
  --bs-btn-color: white;
  --bs-btn-border-color: #FF9D00;
  --bs-btn-hover-bg: #d48300;
  --bs-btn-hover-color: white;
  --bs-btn-hover-border-color: #d48300;
  --bs-btn-active-bg: #d48300;
  --bs-btn-active-color: white;
  --bs-btn-active-border-color: #d48300;
}
.btn-orange .fa-solid {
  padding-right: 5px;
}

.btn-blue {
  background: #0785EC;
  border-color: #0785EC;
  --bs-btn-color: white;
  --bs-btn-border-color: #0785EC;
  --bs-btn-hover-bg: #076abc;
  --bs-btn-hover-color: white;
  --bs-btn-hover-border-color: #076abc;
  --bs-btn-active-bg: #076abc;
  --bs-btn-active-color: white;
  --bs-btn-active-border-color: #076abc;
  font-size: 18px !important;
}

.group-input {
  position: relative;
}

.group-input select {
  width: 100%;
  padding-right: 30px;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.group-input i {
  color: #99A5B1;
  position: absolute;
  right: 10px;
  top: 75%;
  transform: translateY(-60%);
  pointer-events: none;
}

.yellow-color {
  color: #FF9D00;
}

.red-color {
  color: #E03434;
}

.btn-green {
  --bs-btn-border-color: #2b4917;
  --bs-btn-hover-bg: #2b4917;
  --bs-btn-hover-border-color: #2b4917;
  --bs-btn-active-bg: #2b4917;
  --bs-btn-active-border-color: #2b4917;
  --bs-btn-disabled-bg: #2b4917;
  --bs-btn-disabled-border-color: #2b4917;
  border-color: #3E6A22;
  border-radius: 10px;
  font-weight: bold;
  background: #3E6A22;
  display: flex;
  gap: 10px;
}

#fix-arr {
  top: 55%;
}

.h67 {
  min-height: 67px;
}

.dynamic-32-img {
  width: 32px;
  height: 32px;
}

.form-control::placeholder {
  color: #99A5B1;
}

.adj-position {
  margin-top: 34px;
}
@media (max-width: 768px) {
  .adj-position {
    margin-top: 15px;
  }
}

.rm-bd {
  border-bottom: none !important;
}

.with-gainer input[type=number] {
  -moz-appearance: none;
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

h5 {
  color: #0785EC;
  font-size: 16px;
}

.table-light {
  --bs-table-bg: none;
}

.extra-small-text {
  font-size: 0.9rem;
}

.bg-light {
  background-color: #E0E8F1 !important;
}

.bg-green {
  background-color: #3E6A22 !important;
  border-color: #3E6A22 !important;
}

.form-check-input:checked {
  background-color: #18355B;
  border-color: #18355B;
}

.form-check input[type=radio] {
  accent-color: #18355B;
}

.table-responsive .group-input {
  position: relative;
}
.table-responsive .group-input select {
  width: 100%;
  padding-right: 30px;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.table-responsive .group-input i {
  color: #99A5B1;
  position: absolute;
  right: 10px;
  top: 52%;
  transform: translateY(-60%);
  pointer-events: none;
}

.sm-btn {
  height: 40px;
}

.wide-col {
  min-width: 150px;
}

.wide-col142 {
  width: 142px;
}

.map {
  padding-top: 40px;
  background: none;
  border: none;
}
@media (max-width: 767.5px) {
  .map {
    padding-top: 10px;
  }
}
.map img {
  width: 30px;
  height: 30px;
}

.select-input-table tr {
  font-size: 12px;
}
.select-input-table .rm-bd {
  position: relative;
}
.select-input-table .rm-bd select {
  width: 100%;
  padding-right: 30px;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.select-input-table .rm-bd i {
  color: #99A5B1;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-60%);
  pointer-events: none;
}

.check-box .form-check label {
  font-size: 14px;
}
.check-box .form-check-input {
  border: 2px solid #cfd8dc;
}
.check-box .form-check-input[type=checkbox]:checked {
  background-color: #ffffff;
  background-image: url("/images/check.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 70% 70%;
}
.check-box .form-check-input[type=radio]:checked {
  background-color: #ffffff;
  background-image: url("/images/Bullet.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 70% 70%;
}

@media (min-width: 991.5px) {
  .group-formcheck-horizontal .form-check label {
    font-size: 16px !important;
  }
  .group-formcheck-horizontal .form-check {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .group-formcheck-horizontal .form-check-input {
    margin: 0 0 8px 0;
  }
}
.input-with-icon {
  position: relative;
}

.input-with-icon input {
  padding-right: 2.5rem;
}

.input-with-icon .icon {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  color: #6c757d;
  cursor: pointer;
}

.dash {
  font-size: 45px;
}

.tab1 .nav-tabs .nav-link {
  border: none;
  border-bottom: 2px solid transparent;
  color: #6c757d;
  text-align: center; /* จัดข้อความให้อยู่ตรงกลาง (เผื่อความสวยงาม) */
}
.tab1 .nav-tabs .nav-link.active {
  border-bottom-color: #242A38;
  color: #242A38;
}
.tab1 .nav-tabs .nav-link:hover {
  border-bottom-color: #ced4da;
  color: #495057;
}

.tab2 .nav-tabs {
  border-bottom: none;
  gap: 10px;
}
.tab2 .nav-tabs .nav-item {
  margin-right: 0 !important;
}
.tab2 .nav-tabs .nav-link {
  background-color: #F6C27A;
  color: #495057;
  border: 1px solid #F6C27A;
  border-radius: 0;
  padding: 0.5rem 1rem;
  text-align: center;
  height: 40px;
}
.tab2 .nav-tabs .nav-link.active {
  background-color: #D0D9E5;
  color: #495057;
  border-color: #D0D9E5;
  border-bottom-color: transparent;
}
.tab2 .nav-tabs .nav-link:hover {
  background-color: #e0a800;
  border-color: #d39e00;
  color: #212529;
}

.responsive-menu {
  position: sticky;
  top: 12px;
  left: 0;
  width: 68px;
  height: 224px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  z-index: 997;
}

@media (max-width: 767px) {
  .responsive-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    top: auto;
    width: 100vw;
    height: auto;
    flex-direction: row;
    justify-content: space-around;
    padding: 10px 0;
    border-radius: 0;
    margin-top: 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  }
}
@media (min-width: 767px) {
  .three-opts {
    height: 167px;
  }
}

@media (max-width: 767px) {
  .no-gap {
    gap: 0px !important;
  }
}

.img40 {
  width: 40px;
  height: 40px;
}

.fix-img-select {
  position: absolute;
  left: 12px;
  transform: translateY(-60%);
  pointer-events: none;
  width: 20px;
  top: 59%;
}

.placeholder-black .form-control::placeholder {
  color: black;
}

.plus-green-color {
  color: #3E6A22;
}

.plus-yellow-color {
  color: #FF9D00;
}

.number-container {
  width: 32px;
  height: 32px;
  background-color: #E0E8F1;
  border-radius: 8px;
}

.group-form {
  display: none;
}

.rm-btn-style {
  border: none;
  background: none;
}

.card-content-master {
  display: none;
}

.scale-1-10 {
  display: none;
}

@media (max-width: 991.5px) {
  .group-formcheck-horizontal .form-check {
    padding-left: 0px;
  }
}

.dynamic-card-content-preview .checklist .form-control {
  max-width: 250px;
  width: 100%;
}

.card-content-head .form-control {
  font-size: 18px;
}

textarea {
  font-size: 16px !important;
}

.scaleInput .number {
  font-size: 16px !important;
}

.number {
  color: #242A38;
}

.text-secondary {
  font-size: 16px !important;
}

.data-size {
  font-size: 14px;
}

.upload-btn {
  display: flex;
  align-items: center;
  width: 100%;
  background-color: #C0D7E1;
  color: #242A38;
  border-radius: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  --bs-btn-hover-bg: #a2cee1;
  --bs-btn-active-bg: #a2cee1;
}
.upload-btn span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100% - 40px);
}

.upload-grey-btn {
  background-color: #EFF2FA;
  --bs-btn-hover-bg: #d8dbe3;
  --bs-btn-active-bg: #d8dbe3;
  min-height: 67px;
  justify-content: space-between;
}

.icon-spacing {
  max-width: calc(100% - 70px);
  overflow: hidden;
  align-items: center;
  display: flex;
}

.footer-front .container p {
  color: #172048;
}

.footer-front a i {
  color: #172048;
}

.footer-front {
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
}

.footer-front .container {
  max-width: 1200px; /* หรือเท่ากับการ์ดด้านบนที่คุณใช้ */
  margin: 0 auto;
}

.footer-front ul li {
  font-size: 12px;
  font-weight: 400;
}

.text-footer-right {
  display: flex;
  justify-content: center;
}

.line-height-lg li {
  line-height: 4; /* หรือใช้ค่า px เช่น 28px */
}

@media (max-width: 450px) {
  .footer-front .row > [class*=col-] {
    flex: 0 0 100%; /* บังคับเต็ม 100% */
    max-width: 100%; /* บังคับเต็ม 100% */
  }
  .footer-front {
    text-align: center; /* จัดกลางแนวนอนให้ footer ดูสวย */
  }
  .footer-front ul {
    padding-left: 0;
  }
}
.homepage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 112px;
}

.homepage .row-form-input {
  display: grid;
  margin: 24px;
  gap: 24px;
}

.login-button {
  padding: 20px 40px;
}

.text-info-content {
  display: grid;
  row-gap: 25px;
}

.text-head-content {
  font-size: 64px;
  font-weight: 700;
}

.statistic-data {
  height: 100%;
  display: flex;
  font-size: 32px;
  font-weight: 700;
  align-items: start;
}

.buttom-info-items {
  display: grid;
  gap: 8px;
}

.buttom-info-text {
  display: flex;
  gap: 64px;
}

.align-center-content {
  width: 100%;
  background-color: #ffffff;
  padding-bottom: 240px;
}

.menu-logo-content {
  display: grid;
  justify-content: center;
  align-content: center;
}

.menu-info-content {
  display: grid;
  justify-content: center;
  align-content: center;
}

.menu-content {
  display: grid;
  gap: 24px;
}

.menu-title {
  width: fit-content;
  font-size: 48px;
  font-weight: 700;
  background: linear-gradient(90deg, rgb(69, 189, 191) 0%, rgb(0, 92, 123) 50%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  justify-self: center;
}

.card-wrapper-homepage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* default: 2 columns */
  justify-content: center;
  gap: 5px;
}

.card-item {
  background-color: #F4FEFF;
  box-shadow: 0 10px 15px rgba(151, 151, 151, 0.0784313725);
  border-radius: 30px;
  cursor: default; /* คลิกได้ */
  padding: 20px;
  width: 100%;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 20px rgba(151, 151, 151, 0.2);
}

.card-item.active {
  border: 0;
  background: linear-gradient(180deg, rgb(78, 214, 218) 0%, rgb(4, 120, 157) 90%) !important;
  color: #fff;
}

.card-item img {
  width: 162px;
  height: 162px;
  margin-bottom: 16px;
}

.card-title {
  font-weight: 700;
  margin-bottom: 8px;
}

.card-description {
  font-size: 14px;
}

/* Responsive สำหรับหน้าจอเล็ก */
@media (max-width: 1024px) {
  .card-wrapper-homepage {
    justify-content: center;
  }
  .card-item {
    width: 80%;
    margin-bottom: 20px;
  }
  .card-item img {
    width: 120px;
    height: 120px;
  }
}
.btn-content {
  display: grid;
  justify-items: center;
  gap: 24px;
  padding: 24px;
}

.card-title {
  font-size: 24px;
  font-weight: 700;
  text-align: justify;
  text-justify: inter-word;
}

.card-item.active .btn-content .card-title {
  color: rgb(255, 255, 255);
}

.card-description {
  font-size: 12px;
  font-weight: 300;
  text-align: justify;
  text-justify: inter-word;
}

.news-wrapper {
  width: 100%;
  display: grid;
  gap: 24px;
}

.btn-news-card {
  width: 100%;
  background-color: #F4FEFF;
  box-shadow: 0 10px 15px rgba(151, 151, 151, 0.0784313725);
  border-radius: 30px;
  padding: 0;
  border: 0;
}

.news-card {
  height: 162px;
  display: flex;
  gap: 12px;
  background-color: #FFFFFF;
  border-radius: 15px;
}

.news-card img {
  width: 162px;
  height: 162px;
  border-radius: 15px;
}

.news-card-content {
  height: fit-content;
  display: grid;
  justify-items: center;
  gap: 24px;
  padding: 24px;
}

.news-title {
  font-size: 24px;
  font-weight: 700;
  text-align: justify;
  text-justify: inter-word;
}

.news-description {
  font-size: 12px;
  font-weight: 300;
  text-align: justify;
  text-justify: inter-word;
}

.menu-card {
  display: grid;
  justify-items: center;
  gap: 24px;
  border-radius: 15px;
  margin: 0 40px 0 32px;
  padding: 72px;
  background-color: #FFFFFF;
}

.description-info {
  font-size: 18px;
  font-weight: 500;
  color: #C4C4C4;
}

.news-content {
  margin: 5px 0 5px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: space-between;
}

.news-text-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding-right: 20px;
  padding-bottom: 0;
}

.news-text-title {
    font-size: 18px;
    display: -webkit-box;   
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;   
    text-overflow: ellipsis;  
}

.news-text-description {
  height: 69px;
  font-size: 12px;
  text-align: justify;
  white-space: normal;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
}

.news-text-date {
  font-size: 12px;
  text-align: justify;
}

.popup-modal .modal-body {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
}

.popup-modal .modal-header-section {
  padding: 1rem;
}

.popup-modal .modal-image-gallery {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.popup-modal .modal-image-gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.menu-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
  cursor: pointer;
}

.menu-item {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

.menu-item:hover {
  transform: translateY(-5px);
}

.menu-item img {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}

.menu-item h3 {
  font-size: 18px;
  margin: 10px 0;
  color: #222;
}

.menu-item p {
  font-size: 14px;
  color: #555;
}

@media (min-width: 1024px) {
  .row-form-input {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-wrapper-homepage {
    grid-template-columns: repeat(3, 1fr);
  }
  .news-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 992px) {
  .text-head-content {
    font-size: 54px;
  }
}
@media (max-width: 1024px) {
  .card-wrapper-homepage {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 800px) {
  .card-wrapper-homepage {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}
@media (max-width: 600px) {
  .text-head-content {
    font-size: 40px;
  }
  .menu-title {
    font-size: 36px;
  }
  .menu-container {
    grid-template-columns: 1fr;
  }
}
.login {
  background: linear-gradient(180deg, #45BDBF 0%, #007299 100%) !important;
  min-height: 100vh; /* ให้เต็มจอ */
  color: white; /* ถ้าข้อความไม่ชัดเจน */
}

.login .row-form-input-login {
  display: grid;
  gap: 24px;
}

.login-button {
  padding: 20px 40px;
}

.text-info-content {
  display: grid;
  row-gap: 25px;
}

.statistic-data {
  height: 100%;
  display: flex;
  font-size: 32px;
  font-weight: 700;
  align-items: start;
}

.buttom-info-items {
  display: grid;
  gap: 8px;
}

.buttom-info-text {
  display: flex;
  gap: 64px;
}

.menu-logo-content {
  display: grid;
  justify-content: center;
  align-content: center;
}

.menu-info-content {
  display: grid;
  justify-content: center;
  align-content: center;
}

.menu-content {
  display: grid;
  gap: 24px;
}

.card-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* default: 2 columns */
  gap: 24px;
}

.btn-card {
  background-color: #F4FEFF;
  box-shadow: 0 10px 15px rgba(151, 151, 151, 0.0784313725);
  border-radius: 30px;
}

.btn-card.active {
  border: 0;
  background: linear-gradient(180deg, rgb(78, 214, 218) 0%, rgb(4, 120, 157) 90%) !important;
}

.btn-card img {
  width: 162px;
  height: 162px;
}

.btn-content {
  display: grid;
  justify-items: center;
  gap: 24px;
  padding: 24px;
}

.card-title {
  font-size: 24px;
  font-weight: 700;
  text-align: justify;
  text-justify: inter-word;
}

.btn-card.active .btn-content .card-title {
  color: rgb(255, 255, 255);
}

.card-description {
  font-size: 12px;
  font-weight: 300;
  text-align: justify;
  text-justify: inter-word;
}

.news-wrapper {
  width: 100%;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, 1fr);
}

.btn-news-card {
  width: 100%;
  background-color: #F4FEFF;
  box-shadow: 0 10px 15px rgba(151, 151, 151, 0.0784313725);
  border-radius: 30px;
  padding: 0;
  border: 0;
}

.news-card {
  height: 162px;
  display: flex;
  gap: 12px;
  background-color: #FFFFFF;
  border-radius: 15px;
}

.news-card img {
  width: 162px;
  height: 162px;
  border-radius: 15px;
}

.news-card-content {
  height: fit-content;
  display: grid;
  justify-items: center;
  gap: 24px;
  padding: 24px;
}

.news-title {
  font-size: 24px;
  font-weight: 700;
  text-align: justify;
  text-justify: inter-word;
}

.news-description {
  font-size: 12px;
  font-weight: 300;
  text-align: justify;
  text-justify: inter-word;
}

.menu-card {
  display: grid;
  justify-items: center;
  gap: 24px;
  border-radius: 15px;
  margin: 0 40px 0 32px;
  padding: 72px;
  background-color: #FFFFFF;
}

.description-info {
  font-size: 18px;
  font-weight: 500;
  color: #C4C4C4;
}

.btn-thaiID {
  border-color: #ccc !important;
  background-color: white !important;
}

.thaiid-logo {
  height: 1.5em; /* ขนาดตามข้อความ (1.5 เท่าของฟอนต์) */
  width: auto; /* ความกว้างปรับตามสัดส่วน */
  margin-left: 8px;
  vertical-align: middle;
}

.login .login-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-bottom: 20px;
}

.login .login-group img {
  max-width: 70%;
  height: auto;
}

.login .login-group .btn-thaiID {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 600px;
}

.btn-thaiID .text-theme-linear {
  font-size: clamp(14px, 2vw, 24px);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
}

.btn-thaiID img.thaiid-logo {
  height: 1em;
  width: auto;
}

.text-info-content-header {
  font-size: 64px;
  font-weight: 700;
}

@media (min-width: 1024px) {
  .row-form-input-login {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 992px) {
  .text-info-content-header {
    font-size: 54px;
  }
}
@media (max-width: 600px) {
  .text-info-content-header {
    font-size: 40px;
  }
}
.detail-header {
  font-size: 16px;
  font-weight: 500;
}

.detail-data {
  font-size: 14px;
  font-weight: 300;
}

.contact .row-form-input {
  display: grid;
  gap: 24px;
}

.text-info-content {
  display: grid;
  row-gap: 25px;
}

.group-main-title {
  margin-top: 30px;
  margin-bottom: 30px;
}

.card-data {
  margin-top: 20px;
  font-size: 20px;
  padding: 24px;
}

.card-header-icon {
  display: flex;
  align-items: center;
}

.card-icon {
  width: 68px;
  height: 68px;
  object-fit: contain;
  margin-right: 30px;
  flex-shrink: 0;
}

.card-aftericon-text {
  font-size: 20px;
  font-weight: 400;
  color: #000;
}

.card-body {
  border: none;
}

.row-form-input {
  display: grid;
  margin: 24px;
  gap: 24px;
}

.img-contact {
  width: 200px;
  max-width: 100%;
}

/* ปรับสำหรับหน้าจอเล็ก (ต่ำกว่า 576px) */
@media (max-width: 576px) {
  .wrap-page {
    padding: 0 8px; /* ให้มี margin ซ้ายขวาน้อย ๆ */
  }
  .row-form-input {
    margin: 0 !important; /* เอา margin ออก */
    padding: 0 !important; /* เอา padding px-4 ที่ bootstrap ใส่มาออก */
    gap: 16px; /* ลดช่องว่าง */
  }
  .card-data {
    padding: 16px; /* ลด padding card */
    font-size: 16px;
  }
  .detail-header {
    font-size: 14px; /* ย่อ font */
  }
  .detail-data {
    font-size: 13px;
  }
  .text-18 {
    font-size: 14px !important; /* บังคับข้อความหัวข้อย่อเล็กลง */
  }
  .img-contact {
    width: 120px; /* ลดขนาดรูป */
  }
}
/* สำหรับจอเล็กสุด ๆ (ต่ำกว่า 320px เช่น 300px) */
@media (max-width: 320px) {
  .wrap-page {
    padding: 0 4px;
  }
  .card-data {
    padding: 12px;
  }
  .row-form-input {
    gap: 12px;
  }
  .img-contact {
    width: 100px;
  }
}
body {
  font-family: "Kanit", sans-serif;
  background-color: #F4FEFF;
  color: #344053;
  font-size: 18px !important;
}
body.active::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: black;
  opacity: 0.7;
  transition: 0.3s;
}

.asset-title {
  color: #005C7B;
  font-weight: 600;
  font-size: 20px;
}

.asset-sub-title {
  font-weight: 300;
  font-size: 20px;
}

.black-title {
  font-weight: 600;
  font-size: 18px;
}

.asset-label-sm {
  font-size: 18px !important;
  font-weight: 400;
}

.asset-label-md {
  color: #007299;
  font-size: 20px !important;
  font-weight: 400;
}

.asset-label-sm-modal {
  color: #007299;
  font-size: 16px !important;
  font-weight: 400;
  text-align: left;
  display: block;
}

.asset-label-lr {
  color: #007299;
  font-size: 18px !important;
  font-weight: 400;
}

.dropdown-color {
  border-radius: 10px;
  border: 1px solid #45BDBF;
  height: 53px;
}

.btn-add-file {
  background: none;
  border: none;
  padding: 0;
  color: #00a3c8;
  font-weight: 500;
}

.btn-add-file .fa-circle-plus {
  margin-right: 6px;
}

.section-block {
  margin-bottom: 1rem;
}

hr {
  border: 1px solid #45BDBF;
  margin: 1rem 0;
}

.cursor-pointer {
  cursor: pointer;
}

.bg-theme-green {
  background-color: #007299;
  color: #ffffff;
  border: none;
}

.bg-theme-green:hover {
  background-color: #4cd3d8;
  color: #007299;
}

.bg-light-blue {
  background-color: #f4feff !important;
}

.bg-theme-red {
  background-color: #A12527;
  color: #ffffff;
  border: none;
}

.bg-theme-red:hover {
  background-color: #f27c7e;
  color: #A12527;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 8px 24px;
  font-weight: bold;
  text-align: center;
}

.indent {
  padding-left: 2em;
}

.text-indent {
  text-indent: 2em;
}

.indent-button {
  margin-left: 2em;
}

.button-group {
  display: flex;
  gap: 0.5em;
  flex-wrap: wrap;
}

.filter-search .btn {
  width: 100%; /* ปุ่มยืดตาม container */
  height: 53px;
}
.filter-search .fixed {
  flex: 1 1 auto; /* ยืดหยุ่นตามพื้นที่ */
  min-width: 100px; /* หรือความกว้างขั้นต่ำที่ต้องการ */
  max-width: 163px; /* กว้างสุดเท่าของเดิม */
}
.filter-search .group-form-input {
  flex: 1 1 320px;
}
.filter-search .group-form-input.medium {
  flex: 1 1 145px;
}

.wrap-page {
  margin: 30px;
}

.group-main-title {
  text-align: center;
}
.group-main-title .title {
  font-size: 24px;
  font-weight: 700;
}
.group-main-title .sub-title {
  font-size: 18px;
  font-weight: 400;
}

.row-form-search {
  align-items: end;
  gap: 3px;
  flex-wrap: nowrap;
}

.row-form-input {
  margin-bottom: 1rem;
}

.group-form-input .date-input-container {
  width: 100%; /* ให้ container กินพื้นที่เต็ม */
  height: 50px; /* กำหนดความสูงเหมือน input อื่น */
  position: relative;
}

@media (max-width: 992px) {
  .row-form-input .group-form-input {
    width: 100%;
  }
}
.row-form-input .search-button-group {
  width: auto;
  flex: 0 0 auto;
}

.row-form-input .form-control,
.row-form-input .form-select,
.row-form-input .btn {
  height: 50px;
  padding: 4px 6px;
  font-size: 13px;
  width: 100%;
}

.row-form-input-xl .form-control,
.row-form-input-xl .form-select,
.row-form-input-xl .btn {
  height: 75px;
  padding: 4px 6px;
  font-size: 13px;
  width: 100%;
}

.input-with-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.input-with-checkbox .form-control {
  flex: 1;
  min-width: 0;
  height: 50px;
  padding: 4px 6px;
  font-size: 13px;
}

.input-with-checkbox .form-check {
  white-space: nowrap;
}

.input-with-checkbox .form-check-input:checked {
  width: 26.25px;
  height: 26.25px;
  background-color: #007299;
  border-color: #007299;
}

.input-with-checkbox .form-check-input {
  width: 26.25px;
  height: 26.25px;
}

.input-with-checkbox .form-check-label {
  font-size: 20px;
  font-weight: 400;
  color: #007299;
  margin-left: 10px;
}

.form-check-input {
  width: 1.2em;
  height: 1.2em;
  accent-color: #007299;
}
.form-check-input:checked {
  background-color: #007299;
  border-color: #007299;
}

input.form-control:not(:disabled).border-color {
  border-color: #45BDBF !important;
}

.row-advancedSearch {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: flex-end;
  gap: 3px;
  font-size: 14px;
  margin-bottom: 1rem;
}

.row-advancedSearch .group-form-input {
  flex: 0 0 auto;
  width: auto;
  min-width: 140px;
}

@media (max-width: 992px) {
  .row-advancedSearch .group-form-input {
    width: 100%;
  }
}
.row-advancedSearch .search-button-group {
  width: auto;
  flex: 0 0 auto;
}

.row-advancedSearch .form-control,
.row-advancedSearch .form-select,
.row-advancedSearch .btn {
  height: 34px;
  padding: 4px 6px;
  font-size: 13px;
  width: 100%;
}

.form-sm-custom {
  width: 156px !important;
  height: 34px !important;
  font-size: 14px;
  padding: 4px 8px;
}

.form-lr-custom {
  width: 251px !important;
  height: 34px !important;
  font-size: 14px;
  padding: 4px 8px;
}

span.require {
  color: red;
}

.card-data {
  margin-top: 20px;
  font-size: 20px;
  padding: 24px;
}

.card-header-icon {
  display: flex;
  align-items: center;
}

.card-icon {
  width: 68px;
  height: 68px;
  object-fit: contain;
  margin-right: 30px;
  flex-shrink: 0;
}

.card-aftericon-text {
  font-size: 20px;
  font-weight: 400;
  color: #000;
}

.tabs-title .nav-item {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.tabs-title .nav-link {
  color: #00c0dc;
  border: none;
  border-bottom: 3px solid transparent;
  font-weight: normal;
  padding: 0.5rem 1rem;
  height: 45px;
  padding: 0 38px;
}

.tabs-title .nav-link.active {
  color: #007ba3;
  border-bottom: 3px solid #007ba3;
  font-weight: bold;
}

.tabs-title .nav-link:hover {
  color: #00aabb;
}

.tab-content {
  padding: 1rem 0;
}

.search-toggle {
  color: #007ba3;
  cursor: pointer;
  font-weight: 500;
}

.form-control,
.form-select {
  border: 2px solid #00c0dc;
  border-radius: 6px;
  font-size: 0.9rem;
}

.input-height-75 {
  height: 75px;
}

.search-section {
  border-top: 1px solid #e0f0f8;
  padding-top: 1rem;
}

/* table */
.table-custom {
  border-collapse: collapse;
  width: 100%;
  background-color: white;
}

.card-body {
  border: none;
}

.table-custom {
  border-collapse: collapse;
  width: 100%;
}

.table-custom th,
.table-custom td {
  padding: 8px;
  vertical-align: middle;
  border: 1px solid rgba(196, 196, 196, 0.2392156863);
}

.table-header th {
  border: 1px solid rgba(196, 196, 196, 0.2392156863);
  color: #000;
}

.table-header tr[data-type=light] th {
  border: 1px solid #fffcfc;
  text-align: center;
}

.table-theme-color th {
  color: #007299;
  background-color: rgba(80, 216, 219, 0.2705882353);
}

.table-data td {
  color: black;
}

.table-data tr[data-type=light] td {
  border: none;
}

.table-data tr[data-type=light] td.text-light-orange {
  color: #FF7F59;
  opacity: 80%;
}

.table-data tr[data-type=light] td.text-light-green {
  color: #008D4C;
  opacity: 80%;
}

.table-data td a {
  color: #007299;
  text-decoration: none;
}

.table-data td a:hover {
  text-decoration: underline;
}

.table-data td i {
  align-items: center;
  margin-right: 10px;
}

.table-data td.status-data {
  max-width: 133px;
}

.text-left {
  text-align: left;
}

.table-data td.icon-column {
  max-width: 84px;
}

.table-data td button.linear-button-table {
  display: flex;
  background: linear-gradient(to right, #56E0E0, #007299);
  color: white;
  height: 30px;
  width: 100%;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  border: none;
}

.table-data td button.gray-button {
  display: flex;
  background: #90A3BF;
  color: white;
  height: 30px;
  width: 100%;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
}

.table-data td button.linear-button-table:hover {
  background: #4cd3d8;
  color: #007299;
  cursor: pointer;
  opacity: 1;
}

.table-data td button.linear-button-table:hover i {
  color: #007299;
}

.pagination {
  justify-content: center;
}

.green-status {
  color: rgba(39, 163, 0, 0.8509803922);
}

.dark-green-status {
  color: #008D4C !important;
}

.yellow-status {
  color: #F8961E !important;
}

.red-status {
  color: #A12527 !important;
}

.blue-status {
  color: #4066F0 !important;
}

.light-orange-status {
  color: #FF7F59 !important;
  opacity: 80%;
}

.btn-disabled {
  pointer-events: none;
  opacity: 0.6;
}

.icon-profile {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.text-italic-sm {
  font-style: italic;
  font-size: 14px;
}

.text-right {
  text-align: end;
}

.icon-red {
  color: #dc3545;
}

.icon-gray {
  color: #adb5bd;
}

.icon-white {
  color: white;
}

.icon-orange {
  color: #f39c12;
}

.icon-blue-theme {
  color: #45BDBF;
}

.green-theme-color {
  color: #007299;
}

.icon-green {
  color: #008D4C;
}

.gray-color {
  color: #A4A1A1;
}

.text-theme-linear {
  background: linear-gradient(to right, #56E0E0, #007299);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navy-blue-color {
  color: #172048;
}

.icon-add {
  font-size: 24px;
  margin-right: 10px;
}

.icon-modal {
  font-size: 50px;
  width: 50px;
  height: 50px;
  margin-top: 20px;
  margin-bottom: 10px;
}

.modal-body {
  justify-content: center;
  text-align: center;
}

.text-header {
  font-size: 24px;
  font-weight: 700;
}

.modal-text-title {
  font-size: 18px;
  font-weight: 500;
  text-align: left;
  margin-bottom: 0.5rem;
}

.modal-text-detail {
  font-size: 24px;
  font-weight: 400;
}

.modal-content {
  width: fit-content;
  max-width: 90vw;
  margin: auto;
}

#taxModal .modal-content {
  width: 800px !important;
  max-width: unset;
}

.modal-dialog-centered {
  max-width: 800px;
  width: 100%;
}

/* กลุ่มรูปภาพ */
.modal-image-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.modal-image-item {
  flex: unset;
  max-width: 48%;
  text-align: center;
  margin: 0 auto;
}

.custom-modal-dialog {
  max-width: 1400px !important;
  width: 100% !important;
  margin: auto;
}

.modal-image-item img {
  width: 100%;
  max-width: 100%;
}

.modal-image-gallery:has(.modal-image-item:nth-child(2)) {
  justify-content: flex-start;
}

.nav-tabs .nav-link.active {
  border-bottom: 3px solid #0d6efd; /* สีน้ำเงิน */
  font-weight: bold;
  background-color: transparent;
}

.nav-tabs .nav-link {
  border: none;
  color: #666;
}

.btn-group-modal {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: #666;
  z-index: 1051;
}

.close-btn:hover {
  color: #000;
}

.capsule-btn {
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  margin-top: 0.5rem;
}

.land-modal {
  border: 3px solid #5cc7c3;
  border-radius: 16px;
  background-color: #ffffff;
}

.land-modal h5 {
  color: #1a1a1a;
}

.land-modal img {
  max-height: 180px;
  object-fit: contain;
}

.login-button {
  cursor: pointer;
}

.btn-primary {
  background-color: #00b7c3;
  border-color: #00b7c3;
}

.btn-outline-secondary {
  border-color: #ccc;
}

.pagination-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
}

.pagination .page-link {
  border: none !important;
  box-shadow: none !important;
  background-color: transparent !important;
  color: #007299;
}

.pagination .page-item.active .page-link {
  background-color: #007299 !important;
  color: #fff;
  border-radius: 4px;
}

.btn-sm {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
  width: 85px;
  height: 37px;
}

.upload-bar {
  display: flex;
  align-items: center;
  border: 1px solid #007c99;
  border-radius: 50px;
  overflow: hidden;
  max-width: 372px;
  padding: 4px 10px;
}

.upload-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #007c99;
  margin-right: 10px;
  font-size: 14px;
}

.upload-text {
  color: #6c757d;
  font-weight: 600;
  font-size: 18px;
  margin-right: 10px;
  white-space: nowrap;
}

.upload-btn {
  background-color: #007c99;
  color: white;
  border: none;
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 18px;
  text-align: center;
  justify-content: center;
  cursor: pointer;
}

.file-input-hidden {
  display: none;
}

.save-btn {
  max-width: 200px;
  height: 50px;
  font-size: 16px;
  font-weight: 600;
  background-color: #007c99;
  color: white;
  align-items: center;
  text-align: center;
}

.save-btn:hover {
  background-color: #4cd3d8;
  color: #007299;
}

.back-btn {
  max-width: 200px;
  height: 50px;
  font-size: 16px;
  font-weight: 600;
  background-color: white;
  color: black;
  border-color: black;
  align-items: center;
  text-align: center;
}

.back-btn i {
  margin-right: 10px;
}

.back-btn:hover {
  background-color: black;
  color: white;
}

.group-btn-save {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
}

.modal-xl-custom {
  max-width: 90vw;
  width: 90vw;
}

.form-row-2col {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-row-2col .group-form-input-modal {
  flex: 1;
}

.group-form-input-modal {
  margin-bottom: 30px !important;
}

.table-custom-modal {
  border-collapse: collapse;
  width: 100%;
  background-color: white;
  margin-bottom: 40px;
}

.table-custom-modal td {
  padding: 8px;
  vertical-align: middle;
  border: 1px solid rgba(196, 196, 196, 0.2392156863);
}

.text-10 {
  font-size: 10px;
}

.text-11 {
  font-size: 11px;
}

.text-12 {
  font-size: 12px;
}

.text-14 {
  font-size: 14px;
}

.text-16 {
  font-size: 16px;
}

.text-18 {
  font-size: 18px;
}

.text-20 {
  font-size: 20px;
}

.text-24 {
  font-size: 24px;
}

.text-32 {
  font-size: 32px;
}

.text-64 {
  font-size: 64px;
}

.fw-300 {
  font-weight: 300;
}

.fw-400 {
  font-weight: 400;
}

.fw-500 {
  font-weight: 500;
}

.fw-600 {
  font-weight: 600;
}

.fw-700 {
  font-weight: 700;
}

.table-data td a {
  color: #007299;
  text-decoration: none;
}

.table-data td a:hover {
  text-decoration: underline;
}

.thai-date-display {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  border: 2px solid #45BDBF;
  border-radius: 4px;
  display: flex;
  align-items: center;
  color: #6c757d;
  cursor: pointer;
  z-index: 2;
  transition: border-color 0.2s ease;
  padding: 10px 45px 10px 10px;
}

.calendar-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #45BDBF;
  font-size: 18px;
  z-index: 3;
  pointer-events: none;
}

.thai-date-display.selected {
  color: #333;
  font-weight: 500;
}

.toast {
  border-radius: 15px;
  overflow: hidden;
}
.toast .toast-header {
  justify-content: right;
}
.toast .toast-body {
  background: white;
  font-size: 16px;
  text-align: center;
  padding: 35px 20px;
}
.toast .icon-item {
  margin-bottom: 10px;
}
.toast .icon-item i {
  font-size: 50px;
}
.toast .icon-item i.green-gradient {
  background: linear-gradient(to right, #009688, #00ff9c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.toast .icon-item i.red-gradient {
  background: linear-gradient(to right, #ff4b4b, #d54646);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.toast .icon-item i.blue-gradient {
  background: linear-gradient(to right, #4bcfff, #4672d5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
/*# sourceMappingURL=main.css.map */