body, label {
  font-family: Kanit, sans-serif;
  font-weight: 400;
}

td, ul, li {
  font-family: Kanit, sans-serif;
  font-size: 12pt;
  margin-top: 5px;
  font-weight: 200;
}

a, div {
  font-family: Kanit, sans-serif;
}

::selection {
  color: #fff;
  background: #f39c12;
}

.wrapper {
  position: sticky;
  bottom: 30px;
  left: 30px;
  max-width: 365px;
  background: #fff;
  padding: 25px 25px 30px;
  border-radius: 15px;
  box-shadow: 1px 7px 14px -5px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.wrapper.hide {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
  transition: all 0.3s ease;
}

.wrapper img {
  max-width: 90px;
}

.content {
  margin-top: 10px;
}

.content header {
  font-size: 25px;
  font-weight: 600;
}

.content p {
  margin: 5px 0 20px;
}

.content .buttons {
  display: flex;
  align-items: center;
  justify-content: center;
}

.buttons .item {
  margin: 0 10px;
}

.buttons button {
  padding: 10px 20px;
  border: none;
  outline: none;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  border-radius: 5px;
  background: #f39c12;
  cursor: pointer;
  transition: all 0.3s ease;
}

.buttons button:hover {
  transform: scale(0.97);
  background: #d68910;
}

.buttons a {
  color: #f39c12;
}

.navbar {
  background-color: #f39c12 !important;
  border: none !important;
  border-width: 0 !important;
}

.nav-link {
  color: #fff !important;
  transition: color 0.3s;
}

.nav-link:hover {
  color: #fff !important;
}

.navbar-toggler {
  background-color: #f39c12;
  border: 1px solid #f39c12;
  border-radius: 4px;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

a {
  color: #f39c12;
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: #e67e22;
  text-decoration: none;
}

.dropdown-item {
  color: #f39c12 !important;
  transition: background-color 0.3s, color 0.3s;
}

.dropdown-item:hover {
  background-color: #e67e22;
  color: #fff !important;
}

.dropdown-item.active,
.dropdown-item:active {
  background-color: #f39c12 !important;
  color: #fff !important;
}

.active > .page-link,
.page-link.active {
  z-index: 3;
  color: #fff;
  background-color: #f39c12;
  border-color: #f39c12;
}

.page-link {
  color: #fff !important;
  background-color: var(--bs-pagination-bg);
  border: 1px solid var(--bs-pagination-bg);
}

.pagination {
  --bs-pagination-hover-color: #e67e22;
  --bs-pagination-focus-color: #d35400;
  --bs-pagination-bg: #f39c12;
  --bs-pagination-hover-bg: #e67e22;
  --bs-pagination-disabled-bg: #f8c471;
}

.page-link:hover {
  background-color: var(--bs-pagination-hover-bg);
  color: var(--bs-pagination-hover-color);
  border-color: var(--bs-pagination-hover-bg);
}

.page-item.disabled .page-link {
  background-color: var(--bs-pagination-disabled-bg);
  color: #dcdcdc;
  border-color: var(--bs-pagination-disabled-bg);
}

.badge {
  --bs-badge-border-radius: 1rem;
}

.rounded-pill-mine {
  color: #fff;
  background-color: #e67e22;
}

.rounded-pill-mine-2 {
  color: #fff;
  background-color: #f0b27a;
}

.swal2-popup {
  font-size: 1rem !important;
  font-family: Kanit, serif !important;
}

.swal2-title {
  font-family: 'Kanit', sans-serif !important;
}

.sweet-alert {
  font-family: 'Kanit', sans-serif !important;
}

  .custom-divider {
    width: 300px;               /* ความยาวของเส้น */
    border: none;
    height: 5px;                /* ความหนา */
    background-color: #f39c12;  /* สีทอง */
    margin: 40px auto;          /* อยู่ตรงกลาง และมีระยะห่าง */
    border-radius: 5px;         /* มุมโค้ง */
  }


.btn-blue {
  background-color: #004080;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.btn-blue:hover {
  background-color: #002244 !important;
  color: #fff !important;
  text-decoration: none;
}
