/**
* Template Name: BoomAdmin
* Utrap-admin-html-template/
* Author: Boom
* License: https://bootstrapmade.com/license/pdated: 20/8/2566 with Bootstrap v1
* Template URL: https://bootstrapmade.com/nice-admin-boots
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  scroll-behavior: smooth;
  --tp-font-color: #012970;
  --tp-font-family: "Sarabun";
}

.highcharts-root {
  font-family: var(--tp-font-family) !important;
}

body {
  /* font-family: "Open Sans", sans-serif; */
  font-family: var(--tp-font-family);
  font-size: 16px;
  background: #f6f9ff;
  color: #444444;
  color: var(--tp-font-color);
}

a {
  color: #4154f1;
  text-decoration: none;
}

a:hover {
  color: #717ff5;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  /* font-family: "Nunito", sans-serif; */
  font-family: var(--tp-font-family);
}

small {
  font-size: 14px;
}

/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/
#main {
  margin-top: 60px;
  padding: 20px 30px;
  transition: all 0.3s;
}

@media (max-width: 1199px) {
  #main {
    padding: 20px;
  }

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

}

/*--------------------------------------------------------------
# Page Title
--------------------------------------------------------------*/
.pagetitle {
  margin-bottom: 10px;
}

.pagetitle h1 {
  font-size: 24px;
  margin-bottom: 0;
  font-weight: 500;
  color: var(--tp-font-color);
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: #4154f1;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #6776f4;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Override some default Bootstrap stylings
--------------------------------------------------------------*/
/* Dropdown menus */
.dropdown-menu {
  border-radius: 4px;
  padding: 10px 0;
  animation-name: dropdown-animate;
  animation-duration: 0.2s;
  animation-fill-mode: both;
  border: 0;
  box-shadow: 0 5px 30px 0 rgba(82, 63, 105, 0.2);
}

.dropdown-menu .dropdown-header,
.dropdown-menu .dropdown-footer {
  text-align: center;
  font-size: 15px;
  padding: 10px 25px;
}

.dropdown-menu .dropdown-footer a {
  color: #444444;
  text-decoration: underline;
}

.dropdown-menu .dropdown-footer a:hover {
  text-decoration: none;
}

.dropdown-menu .dropdown-divider {
  color: #a5c5fe;
  margin: 0;
}

.dropdown-menu .dropdown-item {
  font-size: 14px;
  padding: 10px 15px;
  transition: 0.3s;
}

.dropdown-menu .dropdown-item i {
  margin-right: 10px;
  font-size: 18px;
  line-height: 0;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #f6f9ff;
}

@media (min-width: 768px) {
  .dropdown-menu-arrow::before {
    content: "";
    width: 13px;
    height: 13px;
    background: #fff;
    position: absolute;
    top: -7px;
    right: 20px;
    transform: rotate(45deg);
    border-top: 1px solid #eaedf1;
    border-left: 1px solid #eaedf1;
  }

}

@keyframes dropdown-animate {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }

  0% {
    opacity: 0;
  }
}

/* Light Backgrounds */
.bg-primary-light {
  background-color: #cfe2ff;
  border-color: #cfe2ff;
}

.bg-secondary-light {
  background-color: #e2e3e5;
  border-color: #e2e3e5;
}

.bg-success-light {
  background-color: #d1e7dd;
  border-color: #d1e7dd;
}

.bg-danger-light {
  background-color: #f8d7da;
  border-color: #f8d7da;
}

.bg-warning-light {
  background-color: #fff3cd;
  border-color: #fff3cd;
}

.bg-info-light {
  background-color: #cff4fc;
  border-color: #cff4fc;
}

.bg-dark-light {
  background-color: #d3d3d4;
  border-color: #d3d3d4;
}

/* Card */
.card {
  margin-bottom: 30px;
  border: none;
  border-radius: 5px;
  box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
  color: var(--tp-font-color);
}

.card-header,
.card-footer {
  border-color: #ebeef4;
  background-color: #fff;
  color: var(--tp-font-color);
  /* color: #798eb3; */
  padding: 15px;
}

.card-title {
  padding: 20px 0 15px 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--tp-font-color);
  /* font-family: "Poppins", sans-serif; */
  font-family: var(--tp-font-family);
}

.card-title span {
  color: #899bbd;
  font-size: 14px;
  font-weight: 400;
}

.card-subtitle {
  color: var(--tp-font-color);
}

.card-body {
  color: var(--tp-font-color);
}

.card-img-overlay {
  background-color: rgba(255, 255, 255, 0.6);
}

/* Card-Button [AP] */
.card-button {
  cursor: pointer;
}

.card-button .card-body:hover {
  color: #717ff5;
  text-decoration: none;
  transition: all 0.3s;
}

/* Alerts */
.alert-heading {
  font-weight: 500;
  /* font-family: "Poppins", sans-serif; */
  font-family: var(--tp-font-family);
  font-size: 20px;
}

/* Close Button */
.btn-close {
  background-size: 25%;
}

.btn-close:focus {
  outline: 0;
  box-shadow: none;
}

/* Accordion */
.accordion {
  color: var(--tp-font-color);
}

.accordion-item {
  border: 1px solid #ebeef4;
  color: var(--tp-font-color);
}

.accordion-button:focus {
  outline: 0;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  color: var(--tp-font-color);
  background-color: #f6f9ff;
}

.accordion-button {
  color: var(--tp-font-color);
}

.accordion-flush .accordion-button {
  padding: 15px 0;
  background: none;
  border: 0;
}

.accordion-flush .accordion-button:not(.collapsed) {
  box-shadow: none;
  color: #4154f1;
}

.accordion-flush .accordion-body {
  padding: 0 0 15px 0;
  color: #3e4f6f;
  font-size: 15px;
}

/* Breadcrumbs */
.breadcrumb {
  font-size: 16px;
  /* font-family: "Nunito", sans-serif; */
  font-family: var(--tp-font-family);
  color: #899bbd;
  font-weight: 600;
}

.breadcrumb a {
  color: #899bbd;
  transition: 0.3s;
}

.breadcrumb a:hover {
  color: #51678f;
}

.breadcrumb .breadcrumb-item::before {
  color: #899bbd;
}

.breadcrumb .active a {
  color: #4154f1;
  font-weight: 600;
}

/* Bordered Tabs */
.nav-tabs-bordered {
  border-bottom: 2px solid #ebeef4;
}

.nav-tabs-bordered .nav-link {
  margin-bottom: -2px;
  border: none;
  color: var(--tp-font-color);
}

.nav-tabs-bordered .nav-link:hover,
.nav-tabs-bordered .nav-link:focus {
  color: #4154f1;
}

.nav-tabs-bordered .nav-link.active {
  background-color: #fff;
  color: #4154f1;
  border-bottom: 2px solid #4154f1;
}

/* .tab-content {
  padding: 20px 20px 0px 20px;
} */

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.logo {
  line-height: 1;
}

@media (min-width: 1200px) {
  .logo {
    width: 280px;
  }
}

.logo img {
  max-height: 55px;
  margin-right: 6px;
}

.logo span {
  font-size: 20px;
  font-weight: 700;
  color: var(--tp-font-color);
  /* font-family: "Nunito", sans-serif; */
  font-family: var(--tp-font-family);
}

.header {
  transition: all 0.5s;
  z-index: 997;
  height: 60px;
  box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1);
  background-color: #fff;
  padding-left: 20px;
  /* Toggle Sidebar Button */
  /* Search Bar */
}

.header .toggle-sidebar-btn {
  font-size: 32px;
  padding-left: 10px;
  cursor: pointer;
  color: var(--tp-font-color);
}

.header .search-bar {
  min-width: 360px;
  padding: 0 20px;
}

@media (max-width: 1199px) {
  .header .search-bar {
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    padding: 20px;
    box-shadow: 0px 0px 15px 0px rgba(1, 41, 112, 0.1);
    background: white;
    z-index: 9999;
    transition: 0.3s;
    visibility: hidden;
    opacity: 0;
  }

  .header .search-bar-show {
    top: 60px;
    visibility: visible;
    opacity: 1;
  }
}

.header .search-form {
  width: 100%;
}

.header .search-form input {
  border: 0;
  font-size: 14px;
  color: var(--tp-font-color);
  border: 1px solid rgba(1, 41, 112, 0.2);
  padding: 7px 38px 7px 8px;
  border-radius: 3px;
  transition: 0.3s;
  width: 100%;
}

.header .search-form input:focus,
.header .search-form input:hover {
  outline: none;
  box-shadow: 0 0 10px 0 rgba(1, 41, 112, 0.15);
  border: 1px solid rgba(1, 41, 112, 0.3);
}

.header .search-form button {
  border: 0;
  padding: 0;
  margin-left: -30px;
  background: none;
}

.header .search-form button i {
  color: var(--tp-font-color);
}

/*--------------------------------------------------------------
# Header Nav
--------------------------------------------------------------*/
.header-nav ul {
  list-style: none;
}

.header-nav>ul {
  margin: 0;
  padding: 0;
}

.header-nav .nav-icon {
  font-size: 22px;
  color: var(--tp-font-color);
  margin-right: 25px;
  position: relative;
}

.header-nav .nav-profile {
  color: var(--tp-font-color);
}

.header-nav .nav-profile img {
  max-height: 36px;
}

.header-nav .nav-profile span {
  font-size: 14px;
  font-weight: 600;
}

.header-nav .badge-number {
  position: absolute;
  inset: -2px -5px auto auto;
  font-weight: normal;
  font-size: 12px;
  padding: 3px 6px;
}

.header-nav .notifications {
  inset: 8px -15px auto auto !important;
}

.header-nav .notifications .notification-item {
  display: flex;
  align-items: center;
  padding: 15px 10px;
  transition: 0.3s;
}

.header-nav .notifications .notification-item i {
  margin: 0 20px 0 10px;
  font-size: 24px;
}

.header-nav .notifications .notification-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.header-nav .notifications .notification-item p {
  font-size: 13px;
  margin-bottom: 3px;
  color: #919191;
}

.header-nav .notifications .notification-item:hover {
  background-color: #f6f9ff;
}

.header-nav .messages {
  inset: 8px -15px auto auto !important;
}

.header-nav .messages .message-item {
  padding: 15px 10px;
  transition: 0.3s;
}

.header-nav .messages .message-item a {
  display: flex;
}

.header-nav .messages .message-item img {
  margin: 0 20px 0 10px;
  max-height: 40px;
}

.header-nav .messages .message-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #444444;
}

.header-nav .messages .message-item p {
  font-size: 13px;
  margin-bottom: 3px;
  color: #919191;
}

.header-nav .messages .message-item:hover {
  background-color: #f6f9ff;
}

.header-nav .profile {
  min-width: 240px;
  padding-bottom: 0;
  top: 8px !important;
}

.header-nav .profile .dropdown-header h6 {
  font-size: 18px;
  margin-bottom: 0;
  font-weight: 600;
  color: #444444;
}

.header-nav .profile .dropdown-header span {
  font-size: 14px;
}

.header-nav .profile .dropdown-item {
  font-size: 14px;
  padding: 10px 15px;
  transition: 0.3s;
}

.header-nav .profile .dropdown-item i {
  margin-right: 10px;
  font-size: 18px;
  line-height: 0;
}

.header-nav .profile .dropdown-item:hover {
  background-color: #f6f9ff;
}

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
.sidebar {
  position: fixed;
  top: 60px;
  left: 0;
  bottom: 0;
  width: 300px;
  z-index: 996;
  transition: all 0.3s;
  padding: 10px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #aab7cf transparent;
  box-shadow: 0px 0px 20px rgba(1, 41, 112, 0.1);
  background-color: #fff;
}

@media (max-width: 1199px) {
  .sidebar {
    left: -300px;
  }
}

.sidebar::-webkit-scrollbar {
  width: 5px;
  height: 8px;
  background-color: #fff;
}

.sidebar::-webkit-scrollbar-thumb {
  background-color: #aab7cf;
}

.menu-head,
.sub-menu-head {
  border-bottom: 1px solid #e1e1e1 !important;
}

@media (min-width: 1200px) {

  #main,
  #footer {
    margin-left: 300px;
  }
}

@media (max-width: 1199px) {
  .toggle-sidebar .sidebar {
    left: 0;
  }

  .menu-head {
    display: none;
  }
}

@media (min-width: 1200px) {

  .toggle-sidebar #main,
  .toggle-sidebar #footer {
    margin-left: 80px;
  }

  .toggle-sidebar .sidebar {
    width: 80px;
  }

  .toggle-sidebar .sidebar a.nav-link>span.menu-lv0,
  .toggle-sidebar .sidebar i.bi-chevron-down.menu-lv0,
  .toggle-sidebar .sidebar ul.nav-content,
  .toggle-sidebar .sidebar .nav-heading {
    display: none;
  }

  /* sub menu */
  .toggle-sidebar .sidebar ul.nav-content {
    display: none;
    position: fixed;
    /* width: 100px; */
    left: 68px;
    padding-right: 15px;
    padding-top: 0px;
  }

  .toggle-sidebar .sidebar li.nav-item:hover .nav-content {
    display: block;
  }

  .toggle-sidebar .sidebar .menu-head .nav-link,
  .toggle-sidebar .sidebar .sub-menu-head .nav-link {
    pointer-events: none;
    border-radius: 0px 4px 4px 0px !important;
  }

  .toggle-sidebar .sidebar .menu-head .nav-link {
    padding: 14px 15px 14px 15px !important;
  }

  .toggle-sidebar .sidebar .menu-head .nav-link.active,
  .toggle-sidebar .sidebar .sub-menu-head .nav-link.active {
    color: #f6f9ff !important;
    background: #0076ab !important;
  }
}

.sidebar-nav {
  padding: 0;
  margin: 0;
  list-style: none;
}

.sidebar-nav li {
  padding: 0;
  margin: 0;
  list-style: none;
}

.sidebar-nav .nav-item {
  margin-bottom: 5px;
}

.sidebar-nav .nav-heading {
  font-size: 11px;
  text-transform: uppercase;
  color: #899bbd;
  font-weight: 600;
  margin: 10px 0 5px 15px;
}

.sidebar-nav .nav-link {
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  color: #0076ab;
  transition: 0.3;
  background: #d4faff;
  padding: 10px 15px;
  border-radius: 4px;
}

.sidebar-nav .nav-link i {
  font-size: 16px;
  margin-right: 10px;
  color: #0076ab;
}

.sidebar-nav .nav-link.collapsed {
  color: var(--tp-font-color);
  background: #fff;
}

.sidebar-nav .nav-link.collapsed i {
  color: #899bbd;
}

.sidebar-nav .nav-link:hover {
  color: #0076ab;
  background: #d4faff;
  cursor: pointer;
}

.sidebar-nav .nav-link:hover i {
  color: #0076ab;
}

.sidebar-nav .nav-link.active {
  color: #f6f9ff;
  background: #0076ab;
}

.sidebar-nav .nav-link.active i {
  color: #f6f9ff;
}

.sidebar-nav .nav-link .bi-chevron-down {
  margin-right: 0;
  transition: transform 0.2s ease-in-out;
}

.sidebar-nav .nav-link:not(.collapsed) .bi-chevron-down {
  transform: rotate(180deg);
}

.sidebar-nav .nav-content {
  padding: 5px 0 0 0;
  margin: 0;
  list-style: none;
}

.sidebar-nav .nav-content a {
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--tp-font-color);
  transition: 0.3;
  padding: 10px 0 10px 40px;
  transition: 0.3s;
}

.sidebar-nav .nav-content a i {
  font-size: 6px;
  margin-right: 8px;
  line-height: 0;
  border-radius: 50%;
}

.sidebar-nav .nav-content a:hover,
.sidebar-nav .nav-content a.active {
  color: #00589f;
  background: #d4faff;
}

.sidebar-nav .nav-content a.active i {
  background-color: #00589f;
}

/*--------------------------------------------------------------
# Dashboard
--------------------------------------------------------------*/
/* Filter dropdown */
.dashboard .filter {
  position: absolute;
  right: 0px;
  top: 15px;
}

.dashboard .filter .icon {
  color: #aab7cf;
  padding-right: 20px;
  padding-bottom: 5px;
  transition: 0.3s;
  font-size: 16px;
}

.dashboard .filter .icon:hover,
.dashboard .filter .icon:focus {
  color: #4154f1;
}

.dashboard .filter .dropdown-header {
  padding: 8px 15px;
}

.dashboard .filter .dropdown-header h6 {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #aab7cf;
  margin-bottom: 0;
  padding: 0;
}

.dashboard .filter .dropdown-item {
  padding: 8px 15px;
}

/* Info Cards */
.dashboard .info-card {
  padding-bottom: 10px;
  border: 1px solid #cdcdcd;
}

.dashboard .info-card h6 {
  font-size: 28px;
  color: var(--tp-font-color);
  font-weight: 700;
  margin: 0;
  padding: 0;
}

.dashboard .card-icon {
  font-size: 32px;
  line-height: 0;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  flex-grow: 0;

}

.dashboard .sales-card .card-icon {
  color: #4154f1;
  background: #f6f6fe;
}

.dashboard .revenue-card .card-icon {
  color: #2eca6a;
  background: #e0f8e9;
}

.dashboard .customers-card .card-icon {
  color: #ff771d;
  background: #ffecdf;
}

/* Activity */
.dashboard .activity {
  font-size: 14px;
}

.dashboard .activity .activity-item .activite-label {
  color: #888;
  position: relative;
  flex-shrink: 0;
  flex-grow: 0;
  min-width: 64px;
}

.dashboard .activity .activity-item .activite-label::before {
  content: "";
  position: absolute;
  right: -11px;
  width: 4px;
  top: 0;
  bottom: 0;
  background-color: #eceefe;
}

.dashboard .activity .activity-item .activity-badge {
  margin-top: 3px;
  z-index: 1;
  font-size: 11px;
  line-height: 0;
  border-radius: 50%;
  flex-shrink: 0;
  border: 3px solid #fff;
  flex-grow: 0;
}

.dashboard .activity .activity-item .activity-content {
  padding-left: 10px;
  padding-bottom: 20px;
}

.dashboard .activity .activity-item:first-child .activite-label::before {
  top: 5px;
}

.dashboard .activity .activity-item:last-child .activity-content {
  padding-bottom: 0;
}

/* News & Updates */
.dashboard .news .post-item+.post-item {
  margin-top: 15px;
}

.dashboard .news img {
  width: 80px;
  float: left;
  border-radius: 5px;
}

.dashboard .news h4 {
  font-size: 15px;
  margin-left: 95px;
  font-weight: bold;
  margin-bottom: 5px;
}

.dashboard .news h4 a {
  color: var(--tp-font-color);
  transition: 0.3s;
}

.dashboard .news h4 a:hover {
  color: #4154f1;
}

.dashboard .news p {
  font-size: 14px;
  color: #777777;
  margin-left: 95px;
}

/* Recent Sales */
.dashboard .recent-sales {
  font-size: 14px;
}

.dashboard .recent-sales .table thead {
  background: #f6f6fe;
}

.dashboard .recent-sales .table thead th {
  border: 0;
}

.dashboard .recent-sales .dataTable-top {
  padding: 0 0 10px 0;
}

.dashboard .recent-sales .dataTable-bottom {
  padding: 10px 0 0 0;
}

/* Top Selling */
.dashboard .top-selling {
  font-size: 14px;
}

.dashboard .top-selling .table thead {
  background: #f6f6fe;
}

.dashboard .top-selling .table thead th {
  border: 0;
}

.dashboard .top-selling .table tbody td {
  vertical-align: middle;
}

.dashboard .top-selling img {
  border-radius: 5px;
  max-width: 60px;
}

/*--------------------------------------------------------------
# Icons list page
--------------------------------------------------------------*/
.iconslist {
  display: grid;
  max-width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  padding-top: 15px;
}

.iconslist .icon {
  background-color: #fff;
  border-radius: 0.25rem;
  text-align: center;
  color: var(--tp-font-color);
  padding: 15px 0;
}

.iconslist i {
  margin: 0.25rem;
  font-size: 2.5rem;
}

.iconslist .label {
  font-family: var(--tp-font-family);
  display: inline-block;
  width: 100%;
  overflow: hidden;
  padding: 0.25rem;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #666;
}

/*--------------------------------------------------------------
# Profie Page
--------------------------------------------------------------*/
.profile .profile-card img {
  max-width: 120px;
}

.profile .profile-card h2 {
  font-size: 24px;
  font-weight: 700;
  color: #2c384e;
  margin: 10px 0 0 0;
}

.profile .profile-card h3 {
  font-size: 18px;
}

.profile .profile-card .social-links a {
  font-size: 20px;
  display: inline-block;
  color: rgba(1, 41, 112, 0.5);
  line-height: 0;
  margin-right: 10px;
  transition: 0.3s;
}

.profile .profile-card .social-links a:hover {
  color: var(--tp-font-color);
}

.profile .profile-overview .row {
  margin-bottom: 20px;
  font-size: 15px;
}

.profile .profile-overview .card-title {
  color: var(--tp-font-color);
}

.profile .profile-overview .label {
  font-weight: 600;
  color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit label {
  font-weight: 600;
  color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit img {
  max-width: 120px;
}

/*--------------------------------------------------------------
# F.A.Q Page
--------------------------------------------------------------*/
.faq .basic h6 {
  font-size: 18px;
  font-weight: 600;
  color: #4154f1;
}

.faq .basic p {
  color: #6980aa;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
  padding: 28px 30px;
}

.contact .info-box i {
  font-size: 38px;
  line-height: 0;
  color: #4154f1;
}

.contact .info-box h3 {
  font-size: 20px;
  color: var(--tp-font-color);
  font-weight: 700;
  margin: 20px 0 10px 0;
}

.contact .info-box p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  border-radius: 0;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: #4154f1;
}

.contact .php-email-form input {
  padding: 10px 15px;
}

.contact .php-email-form textarea {
  padding: 12px 15px;
}

.contact .php-email-form button[type=submit] {
  background: #4154f1;
  border: 0;
  padding: 10px 30px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
  background: #5969f3;
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Error 404
--------------------------------------------------------------*/
.error-404 {
  padding: 30px;
}

.error-404 h1 {
  font-size: 180px;
  font-weight: 700;
  color: #4154f1;
  margin-bottom: 0;
  line-height: 150px;
}

.error-404 h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--tp-font-color);
  margin-bottom: 30px;
}

.error-404 .btn {
  background: #51678f;
  color: #fff;
  padding: 8px 30px;
}

.error-404 .btn:hover {
  background: #3e4f6f;
}

@media (min-width: 992px) {
  .error-404 img {
    max-width: 50%;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  padding: 20px 0;
  font-size: 14px;
  transition: all 0.3s;
  border-top: 1px solid #cddfff;
}

.footer .copyright {
  text-align: center;
  color: var(--tp-font-color);
}

.footer .credits {
  padding-top: 5px;
  text-align: center;
  font-size: 13px;
  color: var(--tp-font-color);
}

/*--------------------------------------------------------------
# Form 
--------------------------------------------------------------*/
/* Header Accordion */

i.icon-menu {
  padding-right: 15px;
}

.accordion-button:not(.collapsed) {
  background-color: #cfe2ff;
  border-color: #cfe2ff;
}

.accordion-button {
  background-color: #cfe2ff;
  border-color: #cfe2ff;
  font-weight: bold;
}

/* Accordion Badge */
.accordion-button span:first-of-type {
  padding-right: 10px;
}

/* Notics */
.toast-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: xx-large;
  padding: 0 0 0 var(--bs-toast-padding-x);
}

/* Override Validate more condition */
/* .form-control.is-valid {
  border-color: var(--bs-form-valid-border-color) !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e") !important;
} */

.form-control.is-invalid {
  border-color: var(--bs-form-invalid-border-color) !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e") !important;
}

.form-control.is-invalid:focus {
  border-color: var(--bs-form-invalid-border-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(var(--bs-danger-rgb), 0.25) !important;
}

textarea.form-control.is-invalid {
  padding-right: calc(1.5em + 0.75rem) !important;
  background-position: top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem) !important;
}

/* form.was-validated .select2-selection {
  border-color: none, var(--bs-form-invalid-border-color);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"), url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e") !important;
  background-position: right 1.75rem center, right calc(.375em + .1875rem) center;
  background-size: 16px 12px, calc(.75em + .375rem) calc(.75em + .375rem);
} */

/* Override Validate Select2 */
/* 
.is-valid + .select2-container--bootstrap-5 .select2-selection, .was-validated select:valid + .select2-container--bootstrap-5 .select2-selection {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"), url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e") !important;
  background-position: right 1.75rem center, right calc(.375em + .1875rem) center;
  background-size: 16px 12px, calc(.75em + .375rem) calc(.75em + .375rem);
} 
.is-invalid + .select2-container--bootstrap-5 .select2-selection, .was-validated select:invalid + .select2-container--bootstrap-5 .select2-selection {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"), url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e") !important;
  background-position: right 1.75rem center, right calc(.375em + .1875rem) center;
  background-size: 16px 12px, calc(.75em + .375rem) calc(.75em + .375rem);
}
*/

/* TinyMCE Editor */
.tox-tinymce .tox-promotion,
.tox-tinymce .tox-statusbar__branding {
  display: none;
}

/*--------------------------------------------------------------
# Table
--------------------------------------------------------------*/
/* Accordion */

.accordion-button-table {
  cursor: default !important;
}

.accordion-button-table::after {
  content: none !important;
}

/* LeftSide/RightSide in Accordion/NavTab */
.nav-item-left,
.accordion-button-left {
  flex-grow: 1;
}

.nav-item-right,
.accordion-button-right {
  display: flex;
  align-items: center;
}

/* Custom CSS sweetalert2 */
.swal2-styled.swal2-confirm {
  order: 2;
  /* Change order to move Confirm button to the right */
}

.swal2-styled.swal2-cancel {
  order: 1;
  /* Change order to move Cancel button to the left */
}

.form-check {
  margin-bottom: 0.75em;
}

.form-check-input {
  width: 1.5em;
  height: 1.5em;
  margin-top: 0em;
  margin-right: 0.75em;
  border: var(--bs-border-width) solid #c3c8cd;
}

.form-label {
  font-weight: 500;
}

.form-control {
  margin-bottom: 1em;
  border: var(--bs-border-width) solid #9fb4bf;
}

.input-group-text {
  margin-bottom: 1em;
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm {
  border: 0;
  border-radius: .25em;
  background: initial;
  background-color: #004b87;
  color: #fff;
  font-size: 1em;
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm:focus {
  box-shadow: 0 0 0 2px #FFC107;
}

div:where(.swal2-icon).swal2-warning {
  border-color: #ffa85d;
  color: #ff9c45;
}

ul>li>a {
  border-bottom: 1px solid #e1e1e1;
}

.sidebar-nav .nav-link i {
  font-size: 20px;
}


.select2-container .select2-selection--single {
  height: 38px;
  padding-top: 4px;
}

.select2-container--default .select2-selection--single {
  border: var(--bs-border-width) solid #9fb4bf;
}

div.dt-buttons>.dt-button,
div.dt-buttons>div.dt-button-split .dt-button {
  background-color: rgba(0, 0, 0, 0.1);
  background: linear-gradient(to bottom, rgba(230, 230, 230, 0.1) 0%, rgb(0 0 0 / 33%) 100%);
  font-size: 14px !important;
}

.buttons-print {
  --bs-btn-bg: #afafaf;
}

.buttons-excel {
  --bs-btn-bg: #4dc98f;
}

.buttons-pdf {
  --bs-btn-bg: #ff6158;
  --bs-btn-bg: #ff6158;
}

table.dataTable.table-bordered {
  border-top: 1px solid #dee2e6;
  border-bottom: 1px solid #dee2e6;
}

table.table.dataTable {
  margin-top: 10px;
  margin-bottom: 10px;
}

div.dt-container div.dt-search input {
  width: 380px;
}

div.dt-container div.dt-search input,
div.dt-container div.dt-length select {
  border: var(--bs-border-width) solid #9fb4bf;
}

.dt-paging-button.current,
.dt-paging-button.current:focus,
.dt-paging-button.current:hover {
  background-color: #498aa9;
  cursor: default;
  border-radius: 5px;
  color: #FFF;
}

.dt-paging-button.disabled,
.dt-paging-button.disabled:focus,
.dt-paging-button.disabled:hover {
  opacity: 1;
  font-size: 22px;
}

.dt-paging {
  padding-top: 0em;
}

table.dataTable th {
  text-align: center !important;
}

table.dataTable thead>tr>th.dt-orderable-asc,
table.dataTable thead>tr>th.dt-orderable-desc,
table.dataTable thead>tr>th.dt-ordering-asc,
table.dataTable thead>tr>th.dt-ordering-desc,
table.dataTable thead>tr>td.dt-orderable-asc,
table.dataTable thead>tr>td.dt-orderable-desc,
table.dataTable thead>tr>td.dt-ordering-asc,
table.dataTable thead>tr>td.dt-ordering-desc {
  padding-right: 0px;
}

::placeholder {
  color: rgba(0, 0, 0, 0.3) !important;
  /* สีดำอ่อน */
}

.input-group-lg>.form-select,
.input-group-sm>.form-select {
  border: 1px solid #9fb4bf;
}

.form-select {
  border: var(--bs-border-width) solid #9fb4bf;
}

label {
  padding-bottom: 5px;
}

.swal2-html-line-height {
  line-height: 2 !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month {
  background-color: #f0fdff;
  outline: none;
  color: #000;
  padding: 0;
}

.flatpickr-prev-month,
.flatpickr-next-month {
  display: none;
}

.dataTable .option button.btn-warning i,
.dataTable .option button.btn-info i {
  color: rgb(0 0 0) !important;
}

.text-right {
  text-align: right !important;
}

.nav-pills-primary-border-start .nav-link.active,
.nav-pills-primary-border-start .nav-link:hover {
  color: var(--bs-primary);
  background-color: rgba(var(--bs-primary-rgb), 0.1);
  border-left: 2px solid var(--bs-primary);
}

.nav-pills-primary-border-start .nav-link {
  padding: 0.5rem 0.8rem !important;
  color: var(--bs-gray-800);
  font-weight: 500;
  border-radius: 0.313rem;
  border-left: 2px solid transparent;
}

.nav-pills-primary-border-start.flex-column .nav-item {
  margin-bottom: 5px;
  margin-right: 0;
}

.rounded {
  border-radius: 10px;
}

@media (min-width: 576px) {
  .modal-xl {
    --bs-modal-width: 80%;
  }
}

.steps {
  --si-steps-padding-y: 1.5rem;
  --si-steps-padding-x: 1.5rem;
  --si-steps-number-size: 7.625rem;
  --si-steps-number-inner-size: 5.625rem;
  --si-steps-number-size-sm: 5rem;
  --si-steps-number-inner-size-sm: 3.5rem;
  --si-steps-number-border-radius: 50%;
  --si-steps-number-bg: #f3f6ff;
  --si-steps-number-inner-bg: #fff;
  --si-steps-number-inner-box-shadow: 0 0.275rem 0.75rem -0.0625rem rgba(11, 15, 25, 0.06), 0 0.125rem 0.4rem -0.0625rem rgba(11, 15, 25, 0.03);
  --si-steps-number-font-size: 2rem;
  --si-steps-number-font-size-sm: 1.5rem;
  --si-steps-number-color: var(--si-heading-color);
  --si-steps-connect-width: var(--si-border-width);
  --si-steps-connect-color: var(--si-border-color);
  display: flex;
  flex-direction: column;
}

.step:first-child {
  padding-top: 0 !important;
}

.step {
  position: relative;
  display: flex;
  align-items: center;
  padding: var(--si-steps-padding-y) 0;
}

.steps-sm .step::before,
.steps-sm .step::after {
  left: calc(var(--si-steps-number-size-sm)* .5);
}

.step::before {
  top: 0;
}

.step::before,
.step::after {
  position: absolute;
  left: calc(var(--si-steps-number-size)* .5);
  /* width: var(--si-steps-connect-width); */
  width: 0.3%;
  height: 80%;
  content: "";
}

.steps-sm .step-number {
  width: var(--si-steps-number-size-sm);
  height: var(--si-steps-number-size-sm);
  font-size: var(--si-steps-number-font-size-sm);
}

.step-number {
  position: relative;
  z-index: 2;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: var(--si-steps-number-size);
  height: var(--si-steps-number-size);
  border-radius: var(--si-steps-number-border-radius);
  color: var(--si-steps-number-color);
  background-color: var(--si-steps-number-bg);
  font-size: var(--si-steps-number-font-size);
  font-weight: 800;
}

.steps-sm .step-number .step-number-inner {
  width: var(--si-steps-number-inner-size-sm);
  height: var(--si-steps-number-inner-size-sm);
}

.step-number .step-number-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--si-steps-number-inner-size);
  height: var(--si-steps-number-inner-size);
  border-radius: var(--si-steps-number-border-radius);
  background-color: var(--si-steps-number-inner-bg);
  box-shadow: var(--si-steps-number-inner-box-shadow);
}

.step-body {
  padding-left: var(--si-steps-padding-x);
}

.step:not(:last-child)::after {
  background-color: #9E9E9E;
}

.step:not(:last-child)::before {
  background-color: #9E9E9E;
}

.step::after {
  top: 50%;
}

.fs-6 {
  font-size: 1.125rem !important;
}

/* form-floating */
.form-floating>.form-select {
  height: calc(rem + calc(var(--bs-border-width) * 2));
  min-height: calc(3.5rem + calc(var(--bs-border-width)* 2));
  line-height: 1.5;
}

.fc .fc-button-primary {
  background-color: #008697;
  border-color: #008697;
  color: #FFF;
}

.fc .fc-button-primary:disabled {
  background-color: #005ca5;
  border-color: #005ca5;
  color: #FFF;
}

.fc .fc-button-primary:hover {
  background-color: #00BCD4;
  border-color: #00BCD4;
  color: #FFF;
}

.fc .fc-button-primary:not(:disabled).fc-button-active,
.fc .fc-button-primary:not(:disabled):active {
  background-color: #005ca5;
  border-color: #005ca5;
  color: #FFF;
}

#menu-tab button:hover:not(.active) {
  /* color: #FFF !important; */
}

i.bank {
  display: inline-block;
  border-radius: 20%;
  background-color: grey;
  vertical-align: middle;
  width: 50px;
  height: 50px;
  padding: 0.1em;
  background-repeat: no-repeat;
  background-size: 75%;
  background-position: center;
  background-origin: content-box;
  overflow: hidden;
  vertical-align: -0.23em;
}

i.bank.round {
  border-radius: 50%;
}

i.bank.shadow {
  box-shadow: 0px 0px 5px grey;
}

i.bank.huge {
  width: 64px;
  height: 64px;
}

h1>i.bank,
i.bank.xxxl {
  width: 32px;
  height: 32px;
}

h2>i.bank,
i.bank.xxl {
  width: 22px;
  height: 22px;
}

h3>i.bank,
i.bank.xl {
  width: 18px;
  height: 18px;
}

h4>i.bank,
i.bank.l {
  width: 16px;
  height: 16px;
}

h5>i.bank,
i.bank.s {
  width: 12px;
  height: 12px;
}

h6>i.bank,
i.bank.xs {
  width: 10px;
  height: 10px;
}

i.credit {
  /**@AOS / https://github.com/AosDEV/css-finances **/
}

i.bank.bank-BBL {
  background-color: #1e4598;
  background-image: url('/assets/svg/bbl.svg');
}

i.bank.bank-KBANK {
  background-color: #138f2d;
  background-image: url('/assets/svg/kbank.svg');
}

i.bank.bank-RBS {
  background-color: #032952;
  background-image: url('/assets/svg/rbs.svg');
}

i.bank.bank-KTB {
  background-color: #1ba5e1;
  background-image: url('/assets/svg/ktb.svg');
}

i.bank.bank-JPM {
  background-color: #321c10;
  background-image: url('/assets/svg/jpm.svg');
}

i.bank.bank-MUFG {
  background-color: #d61323;
  background-image: url('/assets/svg/mufg.svg');
}

i.bank.bank-TMB {
  background-color: #1279be;
  background-image: url('/assets/svg/tmb.svg');
}

i.bank.bank-SCB {
  background-color: #4e2e7f;
  background-image: url('/assets/svg/scb.svg');
}

i.bank.bank-CITI {
  background-color: #1583c7;
  background-image: url('/assets/svg/citi.svg');
}

i.bank.bank-SMBC {
  background-color: #a0d235;
  background-image: url('/assets/svg/smbc.svg');
}

i.bank.bank-SC {
  background-color: #0f6ea1;
  background-image: url('/assets/svg/sc.svg');
}

i.bank.bank-CIMB {
  background-color: #7e2f36;
  background-image: url('/assets/svg/cimb.svg');
}

i.bank.bank-UOB {
  background-color: #0b3979;
  background-image: url('/assets/svg/uob.svg');
}

i.bank.bank-BAY {
  background-color: #fec43b;
  background-image: url('/assets/svg/bay.svg');
}

i.bank.bank-MEGA {
  background-color: #815e3b;
  background-image: url('/assets/svg/mega.svg');
}

i.bank.bank-BOA {
  background-color: #e11e3c;
  background-image: url('/assets/svg/boa.svg');
}

i.bank.bank-CACIB {
  background-color: #0e765b;
  background-image: url('/assets/svg/cacib.svg');
}

i.bank.bank-GSB {
  background-color: #eb198d;
  background-image: url('/assets/svg/gsb.svg');
}

i.bank.bank-HSBS {
  background-color: #fd0d1b;
  background-image: url('/assets/svg/hsbc.svg');
}

i.bank.bank-DB {
  background-color: #0522a5;
  background-image: url('/assets/svg/db.svg');
}

i.bank.bank-GHB {
  background-color: #f57d23;
  background-image: url('/assets/svg/ghb.svg');
}

i.bank.bank-BAAC {
  background-color: #4b9b1d;
  background-image: url('/assets/svg/baac.svg');
}

i.bank.bank-MB {
  background-color: #150b78;
  background-image: url('/assets/svg/mb.svg');
}

i.bank.bank-BNP {
  background-color: #14925e;
  background-image: url('/assets/svg/bnp.svg');
}

i.bank.bank-TBANK {
  background-color: #fc4f1f;
  background-image: url('/assets/svg/tbank.svg');
}

i.bank.bank-IBANK {
  background-color: #184615;
  background-image: url('/assets/svg/ibank.svg');
}

i.bank.bank-TISCO {
  background-color: #12549f;
  background-image: url('/assets/svg/tisco.svg');
}

i.bank.bank-KK {
  background-color: #199cc5;
  background-image: url('/assets/svg/kk.svg');
}

i.bank.bank-ICBC {
  background-color: #c50f1c;
  background-image: url('/assets/svg/icbc.svg');
}

i.bank.bank-TCRB {
  background-color: #0a4ab3;
  background-image: url('/assets/svg/tcrb.svg');
}

i.bank.bank-LHB {
  background-color: #6d6e71;
  background-image: url('/assets/svg/lhb.svg');
}

i.bank.bank-TTB {
  background-color: #ecf0f1;
  background-image: url('/assets/svg/ttb.svg');
}

i.bank.bank-TMN {
  background-color: #ecf0f1;
  background-image: url('/assets/svg/tmn.svg');
}

i.bank.bank-PP {
  background-color: #00427a;
  background-image: url('/assets/svg/pp.svg');
}

div:where(.swal2-container) .swal2-html-container {
  line-height: 2;
}

table.dataTable thead>tr>th.dt-orderable-asc span.dt-column-order:before,
table.dataTable thead>tr>th.dt-ordering-asc span.dt-column-order:before,
table.dataTable thead>tr>td.dt-orderable-asc span.dt-column-order:before,
table.dataTable thead>tr>td.dt-ordering-asc span.dt-column-order:before {
  content: "▲" / "";
}

table.dataTable thead>tr>th.dt-orderable-desc span.dt-column-order:after,
table.dataTable thead>tr>th.dt-ordering-desc span.dt-column-order:after,
table.dataTable thead>tr>td.dt-orderable-desc span.dt-column-order:after,
table.dataTable thead>tr>td.dt-ordering-desc span.dt-column-order:after {
  content: "▼" / "";
}

.popover-body {
  font-family: var(--tp-font-family);
}

.text-orange {
  color: #fd7e14;
}

.bg-orange {
  background-color: #fff2e7;
}

.text-purple {
  color: #6f42c1;
}

.bg-purple {
  background-color: #6f42c11a;
}

.bg-opacity-10 {
  --bs-bg-opacity: 0.1;
}

.dashboard .danger-card .card-icon {
  color: #E91E63;
  background: #ffdfdf;
}

.bg-red-pink {
  background-color: rgb(252 206 222);
}

.text-red-pink {
  color: #ff0045;
}

.daterangepicker {
  font-family: 'Sarabun', sans-serif;
  font-size: 16px;
}

.daterangepicker .calendar-table th,
.daterangepicker .calendar-table td {
  font-size: 16px;
}

.daterangepicker td.active,
.daterangepicker td.active:hover {
  background-color: #0d6efd;
}

.daterangepicker .calendar-table {
  font-family: 'Sarabun', sans-serif;
}

/* ปรับขนาดตัวเลขปี */
.daterangepicker .yearselect {
  font-size: 16px;
  height: auto;
  padding: 2px;
  width: auto;
}

.daterangepicker .monthselect {
  font-size: 14px !important;
  padding-right: 24px !important;
}

.daterangepicker {
  min-width: 600px;
}

.daterangepicker .ranges {
  float: left;
  margin-top: 10px;
}

.daterangepicker .ranges ul {
  width: 160px;
}

.daterangepicker .drp-calendar {
  max-width: none;
}

.daterangepicker.show-calendar .ranges {
  margin-top: 8px;
}

.daterangepicker .ranges li.active {
  background-color: #0d6efd;
}

.daterangepicker .ranges li {
  font-size: 16px !important;
}

.daterangepicker .calendar-table th,
.daterangepicker .calendar-table td {
  font-size: 15px !important;
}

.datepicker.datepicker-dropdown.dropdown-menu.datepicker-orient-left.datepicker-orient-top {
  width: 300px;
}

.datepicker.datepicker-dropdown.dropdown-menu.datepicker-orient-left.datepicker-orient-top .datepicker-days {
  width: 300px;
}

.datepicker.datepicker-dropdown.dropdown-menu.datepicker-orient-left.datepicker-orient-top .datepicker-days .datepicker-days-cell {
  width: 300px;
}

.text-secondary-emphasis2 {
  color: #006204 !important;
}

.text-rose {
  color: #e91e63 !important;
}

.text-rose-light {
  color: #ff0045 !important;
}

.text-rose-dark {
  color: #e91e63 !important;
}

.bg-rose {
  background-color: #e91e63 !important;
}

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

.bg-info-subtle {
  background-color: #e9f5ff !important;
}

.px-6 {
  padding-right: 4rem !important;
  padding-left: 4rem !important;
}

.px-7 {
  padding-right: 5rem !important;
  padding-left: 5rem !important;
}

.px-8 {
  padding-right: 6rem !important;
  padding-left: 6rem !important;
}

.px-9 {
  padding-right: 7rem !important;
  padding-left: 7rem !important;
}

.px-10 {
  padding-right: 8rem !important;
  padding-left: 8rem !important;
}

.calendar {
  width: 12rem;
  line-height: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  text-align: center;

  border-radius: 0.375rem;
}

.calendar .calendar-month {
  border-radius: 0.375rem 0.375rem 0 0;
  padding: 0.75rem;
  font-weight: 600;
  font-size: 1.6rem;
}

.calendar .calendar-day {
  font-size: 1.728rem;
  padding: 0.75rem;
  border: 0.125rem solid;
  border-top: 0;
  border-radius: 0 0 0.375rem 0.375rem;
  font-weight: 700;
  font-family: 'Poppins';
}

/* สีพื้นหลังและสีตัวอักษรของเดือน */
.calendar.january .calendar-month {
  background-color: #E91E63;
  color: #fff;
}

.calendar.february .calendar-month {
  background-color: #9C27B0;
  color: #fff;
}

.calendar.march .calendar-month {
  background-color: #673AB7;
  color: #fff;
}

.calendar.april .calendar-month {
  background-color: #3F51B5;
  color: #fff;
}

.calendar.may .calendar-month {
  background-color: #4CAF50;
  color: #fff;
}

.calendar.june .calendar-month {
  background-color: #FF9800;
  color: #fff;
}

.calendar.july .calendar-month {
  background-color: #795548;
  color: #fff;
}

.calendar.august .calendar-month {
  background-color: #607D8B;
  color: #fff;
}

.calendar.september .calendar-month {
  background-color: #009688;
  color: #fff;
}

.calendar.october .calendar-month {
  background-color: #E65100;
  color: #fff;
}

.calendar.november .calendar-month {
  background-color: #C2185B;
  color: #fff;
}

.calendar.december .calendar-month {
  background-color: #1976D2;
  color: #fff;
}

/* สีขอบและสีตัวอักษรแบบเทาของวันที่ */
.calendar.january .calendar-day {
  border-color: #E91E63;
  color: #d4838e;
}

.calendar.february .calendar-day {
  border-color: #9C27B0;
  color: #b985c6;
}

.calendar.march .calendar-day {
  border-color: #673AB7;
  color: #9c89cc;
}

.calendar.april .calendar-day {
  border-color: #3F51B5;
  color: #8791c7;
}

.calendar.may .calendar-day {
  border-color: #4CAF50;
  color: #8fc891;
}

.calendar.june .calendar-day {
  border-color: #FF9800;
  color: #ffbe66;
}

.calendar.july .calendar-day {
  border-color: #795548;
  color: #a89490;
}

.calendar.august .calendar-day {
  border-color: #607D8B;
  color: #99aab3;
}

.calendar.september .calendar-day {
  border-color: #009688;
  color: #66b5ac;
}

.calendar.october .calendar-day {
  border-color: #E65100;
  color: #f09666;
}

.calendar.november .calendar-day {
  border-color: #C2185B;
  color: #d67799;
}

.calendar.december .calendar-day {
  border-color: #1976D2;
  color: #73a7e0;
}

.calendar-january {
  border-bottom: 1px solid #d4838e;
}

.calendar-february {
  border-bottom: 1px solid #b985c6;
}

.calendar-march {
  border-bottom: 1px solid #9c89cc;
}

.calendar-april {
  border-bottom: 1px solid #8791c7;
}

.calendar-may {
  border-bottom: 1px solid #8fc891;
}

.calendar-june {
  border-bottom: 1px solid #ffbe66;
}

.calendar-july {
  border-bottom: 1px solid #a89490;
}

.calendar-august {
  border-bottom: 1px solid #99aab3;
}

.calendar-september {
  border-bottom: 1px solid #66b5ac;
}

.calendar-october {
  border-bottom: 1px solid #f09666;
}

.calendar-november {
  border-bottom: 1px solid #d67799;
}

.calendar-december {
  border-bottom: 1px solid #73a7e0;
}

.modal-custom-xl {
  max-width: 95vw; /* กว้าง 95% ของหน้าจอ */
}

.modal-fullscreen-height {
  height: 95vh;
}

.emoji-bounce {
  display: inline-block;
  animation: bounce 1.2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}