/* CSS Nav menu */
.navbar {
  font-family: 'Bai Jamjuree', sans-serif;
  height: 70px;
  font-size: 16px; 
}
.navbar-nav .nav-link {
  line-height: 20px; 
}
.navbar-nav .nav-link i {
  margin-right: 5px;
}
body {
  font-family: 'Bai Jamjuree', sans-serif;
  font-size: 16px;
}
td {
  font-weight: normal;
}
.sidebar {
  font-family: 'Bai Jamjuree', sans-serif;
  font-size: 16px;
  height: 100%;
}
.sidebar .nav-link {
  font-size: 16px;
}
.sidebar .nav-icon {
  font-size: 18px;
}
.sidebar .nav-header {
  font-size: 16px; 
  font-weight: bold; 
}
.sidebar .user-panel .info h5 {
  font-size: 20px; 
  font-weight: bold; 
  margin: 0; 
}
.main-header, .main-sidebar {
  transition: background-color 120ms, color 120ms;
}
.main-header, .main-sidebar {
  background-color: #ffff !important;
  color: #333 !important;
}
.main-header .nav-link, .main-sidebar .nav-link {
  color: #333 !important;
}
.nav-link.active {
  background-color: #BF4341 !important;
  color: #f2f2f2 !important;
  font-weight: bold !important;
}
.nav-link.active i {
  color: #f2f2f2 !important;
}
.info .d-block {
  color: #333;
}
.main-sidebar .nav-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
}
.main-sidebar .nav-item:hover .nav-link {
  color: inherit;
}
.main-sidebar .nav-link:hover {
  background-color: #F1F1F1; 
}

/* CSS Table Data */
body section {
  font-family: 'Bai Jamjuree', sans-serif;
  overflow: hidden;
}
body, .modal-content, .modal-title, .modal-body {
  font-family: 'Bai Jamjuree', sans-serif;
}
.container-fluid h1 {
  margin-top: 30px;
  margin-bottom: 10px;
}
button.btn-add {
  background-color: #84b0b5;
}
table td, table th {
  text-align: center;
}
#tablelist {
  text-align: left;
}
.dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;
}
.dropdown-menu .dropdown-item i {
  min-width: 20px;
  margin-right: 8px;
  font-size: 16px;
}
.dropdown-menu .dropdown-item {
  padding: 8px 16px; 
}
.tabs {
  border-bottom: 1px solid #ddd;
  margin-bottom: 0px;
}
.tabs .navtab {
  display: flex;
}
.tabs .navtab a {
  color: #555;
  padding: 10px 5px;
  text-decoration: none;
  text-align: center;
  display: inline-block;
  border: 1px solid transparent;
  border-radius: 4px 4px 0 0;
  border-bottom: 1px solid #f4f4f4;
  transition: color 0.3s, background-color 0.3s;
  width: 100px;
}
.tabs .navtab a:not(:first-child) {
  border-left: 0;
}
.tabs .navtab a.active {
  color: #fff;
  background-color: #BF4341;
  border-color: #ddd #ddd transparent;
  border-bottom: 1px solid #e9ecef;
}
.tabs .navtab a:focus, .tabs .navtab a.active:focus {
  outline: none;
  box-shadow: none;
}
.tab-content {
  border-top: none;
  background-color: #f8f9fa;
}
@media (max-width: 576px) {
  .nav-tabs .nav-link {
    font-size: 14px;
    padding: 8px 10px;
  }
  .table td, .table th {
    font-size: 10px;
  }
}

/* CSS Form */
.btn-success{
  background-color: #108D77;
  border-color: #108D77;
  color: #fff;
}
.btn-success:hover{
  background-color: #186F65;
  border-color: #186F65;
  color: #fff;
}
