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

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

.navbar-nav .nav-link {
  color: #354154 !important;
  font-weight: 500;
  margin-right: 1rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #ffffff !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;
}

@media (min-width: 992px) {
  .nav-menu {
    margin-bottom: 0;
  }
}
.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;
}

.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%;
}

.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("/public/assets/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("/public/assets/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;
}

@media (min-width: 1024.5px) {
  .container .text-center {
    margin-left: 282px;
  }
}

.footer-front .container p {
  font-size: 12px;
  color: #5A6573;
}

body {
  font-family: "Kanit", sans-serif;
  background-color: #F2F5FA;
  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: 500;
  font-size: 20px;
}

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

.black-title-center {
  font-weight: 600;
  font-size: 18px;
  text-align: center;
  margin-bottom: 30px;
}

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

.asset-label-sm {
  font-size: 16px !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;
}

.black-title {
  font-weight: bold;
  margin-bottom: 0.25rem;
}

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

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

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

.btn {
  border-radius: 10px;
  padding: 8px 24px;
  font-weight: bold;
  text-align: center;
  justify-content: 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;
}

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

.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 {
  display: flex;
  flex-wrap: wrap;
/*   gap: 23px; */
  font-size: 14px;
  margin-bottom: 1rem;
}

.row-form-input .group-form-input {
/*   flex: 1 1 auto; */
/*   width: auto; */
  min-width: 140px;
}

.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%;
}

.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;
}

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;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;

}

.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;
  border-top: 1px solid #e0f0f8;
}

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

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

.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;
  font-size: 13px;
  vertical-align: middle;
  border: 1px solid rgba(196, 196, 196, 0.2392156863);
}

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

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

.table-header tr[data-type=light] th span.red-color {
  font-size: 14px;
  font-weight: 300;
}

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

.table-data td {
  color: black;
  font-size: 18px;
  font-weight: 300;
}

.table-data tr[data-type=light] td {
  font-size: 18px;
  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;
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
}

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

.table-data td i {
  align-items: center;
  font-size: 15px;
}

.table-data td.status-data {
  font-size: 14px;
  font-weight: 500;
  max-width: 133px;
}

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

.table-data td.table-text-bold {
  font-size: 14px;
  font-weight: 500;
}

.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%;
  font-size: 14px;
  font-weight: 500;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
}

.table-data td button.gray-button {
  display: flex;
  background: #90A3BF;
  color: white;
  height: 30px;
  width: 100%;
  font-size: 14px;
  font-weight: 500;
  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;
}

.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;
}

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

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

.yellow-theme-color {
  color: #F8961ED9;
}

.red-theme-color {
  color: red;
}

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

.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;
}

.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: 1 1 45%;
  max-width: 48%;
  text-align: center;
}

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

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

.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;
  min-width: 35vw;
}

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

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

.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;
  width:100%;
  padding: 4px 10px;
  max-width: fit-content;
}
.upload-bar a {
  display: inline-block;      /* or block, depending on your layout */
  max-width: 90%;             /* limit the text width to 90% of the container */
  white-space: nowrap;        /* prevent text from wrapping to the next line */
  overflow: hidden;           /* hide the overflowing text */
  text-overflow: ellipsis;    /* show "..." for overflowed text */
  vertical-align: middle;     /* optional, aligns better with icons/text */
}
.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;
  width: 130px;
}

.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 th {
  font-size: 12px;
  font-weight: 600;
}

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

.table-data td a {
  color: #007299;
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
}

.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 #00c0dc;
  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;
}

.thaiDatepicker {
  opacity: 0;
  position: absolute;
  z-index: 1;
}

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

.hover-pointer {
  	cursor: pointer;
}


.color-info {
	color: #5bc0de;
}
.color-warning {
	color: #f0ad4e;
}
.color-danger {
	color: #dc3545;
}
a.disabled {
  pointer-events: none;
  cursor: default;
}
a.page-link  {
  cursor: pointer;
}
a.disabled i{
  color: gray;
}

.select2-selection__arrow {
	display: none;
}

.select2-container .select2-selection {
  border: none !important;
  box-shadow: none !important;
}

.select2-container {
  padding-top: 9px; 
}
.select2-container {
  cursor: pointer;
}
.select2-dropdown {
  top: 0px;
}

.select2.form-sm-custom {
	padding: 0px;
}
.asset-label-sm {
	display: block;
}
.border-blue{
	border-color: #56E0E0;
	border-style: solid;
	padding: 10px;
	border-radius: 7px;
}

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

.pad-bottom-10 {
  padding-bottom: 10px; 
}

.pad-bottom-20 {
  padding-bottom: 20px; 
}

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

.sub-title2 {
  font-size: 16px;
  font-weight: 400;
}

.grid {
  display: grid;
}

.thai-date-display.disabled {
  background-color:var(--bs-secondary-bg);
  cursor:default;
}

.gradiantB{
	border:none; 
	background: linear-gradient(to right, #56E0E0, #007299); 
	color:white;
}

TH a:link {
	color:#007299!important;
}
.divDisabled {
	background-color:var(--bs-secondary-bg);
}
.select2-container--disabled{
  background-color:var(--bs-secondary-bg);
}
.group-form-input{
  position:relative;
}
.error{
  color:red;
}
.calender-icon{
	font-size: 20px;
    position: absolute;
    top: 58%;
    right: 10px;
    color: #00c0dc;
}
td.roman {
  font-family: "Times New Roman", "Georgia", "Noto Serif", serif;
  font-size: 16px;
}
@media (min-width: 768px) {
    .col-md-20 {
        flex: 0 0 auto;
        width: 20%;
    }
}

.bg-theme-red {
  background-color: #cc0000; /* main red */
  color: #ffffff;
  border: none;
}

.bg-theme-red:hover {
  background-color: #ff6666; /* lighter red on hover */
  color: #cc0000;
}


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

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

.public-font .asset-label-sm{
	font-size:18px !important;
}
.public-font .form-control{
	font-size:16px !important;
}
.col-2{
    width: calc(16.66666667% - 20px);
}
.col-3{
	width: calc(25.0% - 18px);
}
.col-4{
	width: calc(32.3% - 16px);
}
.col-6{
	width: calc(50% - 16px);
}
.inline-block{
    display: inline-block;
}

.link-color {
  color: #007299 !important;
  text-decoration: underline;
  font-weight: bold !important;
}
.form-control:read-only:not(.datepicker3):not(.select2):not(select){
  background-color: var(--bs-secondary-bg);
  opacity: 1;
}

.rd:read-only{
  background-color: var(--bs-secondary-bg);
  opacity: 1;
}
.datepicker3:disabled {
    background-color: #f5f5f5; /* optional: make it look inactive */
    cursor: default !important; /* normal arrow cursor */
    pointer-events: none; /* prevent clicks */
}
.point-event-none{
	 background-color: #f5f5f5;
	cursor: default !important;
	pointer-events: none;
}

.row-form-input .group-form-input {
    min-width: auto;
}
tr.info2 th {
  background-color: #D0F4F5;
}

select-none {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none; 
  user-select: none;
}

.flatpickr-calendar .numInput.cur-year {
    pointer-events: none;   /* prevents clicking/focus */
    background-color: white; /* optional: show visually disabled */
    color: #555;            /* optional: dim text */
}
.selection{
	font-size:16px !important; 
}
.select2-selection__rendered{
	padding-left: 0px !important;
	padding-right: 0px !important;
}
.menu-box-container {
  display: flex;
  flex-wrap: wrap;
  gap: 70px 28px;
  justify-content: center;
  max-width: 100%;
  margin-top: 50px;
}

.menu-box-item {
  position: relative;
  width: 250px;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  text-align: center;
  padding-top: 60px;
  cursor: pointer;
}
.menu-box-item a {
  color: inherit;
  text-decoration: none;
}
.menu-box-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}
.icon-circle {
  position: absolute;
  top: -70px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  /* border-radius: 50%;
  background: #F5F9FB; */
  display: flex;
  align-items: center;
  justify-content: center;
 /*  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15); */
  align-items: center;
  justify-content: center;
  margin-top: 15px;
}

.icon-circle img {
  object-fit: contain;
  max-width: 70%;
  max-height: 70%;
}
.select2:disabled {
    pointer-events: none;
	cursor:default;
}
/*# sourceMappingURL=main.css.map */