body {
    background-color: #f8f9fa;
    --bs-body-font-size: 0.9rem; /* Adjusts only body text */
}
.btn:not(.btn-xs):not(.btn-sm):not(.btn-lg) {
    --bs-btn-font-size: 0.9rem;
}
#side_nav {
    background: #d9e9fb;
    min-width: 260px;
    max-width: 260px;
    transition: all 0.3s;
}
#side_nav ul li {
    margin-bottom: 2px;
}
.sidebar li.active {
    background-color: #fff;
    border-radius: 8px;
}
.sidebar li a {
    color: #000000;
}
.sidebar li.active a, 
.sidebar li.active a:hover {
    color: #000;
}
.sidebar li a[aria-expanded="true"] {
    background-color: #064CE8 !important;
    color: #ffffff !important;
    border-radius: 8px;
}
.sidebar li a[aria-expanded="true"] .bi {
    color: #ffffff !important;
}
.sidebar li a .bi,
.sidebar a .bi  {
    margin-right: 6px;
    color: rgb(5, 81, 165, 1);
    vertical-align: top;
    margin-top: 3px;
}
.sidebar li:not(.sub):hover,
.sidebar li:not(.sub) ul li:hover {
    background: #fff;
    border-radius: 8px;
}
@media(max-width: 767px) {
    #side_nav {
        margin-left: -280px;
        position: absolute;
        min-height: 100vh;
        z-index: 2;
    }
    #side_nav.active {
        margin-left: 0;
    }
}
.has-menu a .bi-chevron-down {
    margin-top: 6px !important;
}
.has-menu a[aria-expanded=false] .bi-chevron-down {
    transition: transform 0.3s ease;
    transform: rotate(0deg);
}
.has-menu a[aria-expanded=true] .bi-chevron-down {
    transition: transform 0.3s ease;
    transform: rotate(180deg);
}
.content {
    min-height: 100vh;
    width: 100%;
}
.fs-7 {
    font-size: 0.8rem;
}
.bi-person-fill {
    font-size: 2.5rem;
}
.nav-item .dropdown-menu li:not(.x):hover,
.nav-item .profile-menu li:hover a {
    background-color: #efefef !important;
}
.nav-item .dropdown-menu li:not(.x):hover span,
.nav-item .profile-menu li:hover a {
    color: #333 !important;
}
.nav-item .dropdown-menu {
    font-size: var(--bs-body-font-size);
}
.dropdown-item-text {
    font-weight: bold;
    white-space: nowrap;
}
.dropdown-item-text .bi {
    margin-top: 1px;
    margin-right: 4px;
}
.dropdown-item-text .bi-x-circle-fill {
    margin-right: 0 !important;
    margin-left: 4px;
}
.dropdown-toggle::after {
    content: none;
}
.profile {
    padding-top: 0px;
    padding-bottom: 0px;
}
.profile::after {
    display: none;
}
.profile-name .fs-6 {
    margin-bottom: 0;
    font-size: 0.8rem !important;
}
.profile-name .fs-7 {
    margin-top: 0;            
}
.notification::after {
    display: none;
}
.notification .bi-bell {
    font-size: 1.5rem !important;
    margin-top: -8px !important;
}
.dashboard-box {
    background-color: #bf1111;
    --bs-border-width: 4px;
    --bs-border-style: solid;
    --bs-border-color: #77070b;
}
.dashboard-box h5 {
    font-weight: 500;
}
.dashboard-box p {
    font-size: 16px;
    padding: 15px;
    margin: 0;
}
.dashboard-box h5,
.dashboard-box p {
    color: #ffc107;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.35);
}
.info-box {
    background: #e9f2ff;
    border-left: 4px solid #0d6efd;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}
.bold {
    font-weight: 600;
}
.border-start-2 {
    border-width: 0 0 0 4px !important;
}
.tbl-summary th {
    text-align: center;
    font-weight: 600;
}
hr.h-color{
    background: #eee;
}
.card:not(.rounded) {
    border-radius: 0.45rem !important;
}

/* Import from app.css */

.btn-export,
.btn-next {
    background-color: #064CE8;
    border-color: #0352A6;
    color: #fff;
}
.btn-export:hover,
.btn-next:hover {
    background-color: #0645ccff;
    border-color: #023A78;
    color: #fff;
}
.btn-add {
    background-color: #0352A6;
    border-color: #0352A6;
    color: #fff;
}
.btn-add:hover {
    background-color: #023A78;
    border-color: #023A78;
    color: #fff;
}

/* Button Delete */
.btn-delete {
    background: #625A5A;
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-delete:hover {
    background: #776f6fff;
    color: #fff;
}

.btn-edit {
    background: #000000ff;
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-edit:hover {
    background: #3b3b3bff;
    color: #fff;
}

.fw-bold {
    font-weight: 600 !important;
}

/* 🌐 Breadcrumb Pills - Modern Dashboard Style */
.breadcrumb-pills {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  align-items: center;
  gap: 8px; /* spacing antara pills */
}
.breadcrumb-pills .breadcrumb-item {
  display: flex;
  align-items: center;
  position: relative;
}

/* Teks dalam breadcrumb */
.breadcrumb-pills .breadcrumb-item a,
.breadcrumb-pills .breadcrumb-item span {
  display: inline-flex;
  align-items: center;
  gap: 6px; /* jarak antara ikon dan teks */
  padding: 8px 16px;
  border-radius: 30px; /* bentuk pill */
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.2s ease-in-out;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.08);
}

/* Link biasa */
.breadcrumb-pills .breadcrumb-item a {
  background: linear-gradient(145deg, #e0e0e0, #cfcfcf);
  color: #333;
}
.breadcrumb-pills .breadcrumb-item a:hover {
  background: linear-gradient(145deg, #d5d5d5, #bfbfbf);
  transform: translateY(-1px);
}

/* Aktif (page semasa) */
.breadcrumb-pills .breadcrumb-item.active span {
  background: linear-gradient(145deg, #dbeafe, #bfdbfe);
  color: #1d4ed8; /* biru lembut */
  font-weight: 600;
  box-shadow: inset 0 0 5px rgba(0,0,0,0.05);
  cursor: default;
}

/* Icon dalam breadcrumb */
.breadcrumb-pills .breadcrumb-item i {
  font-size: 16px;
}

/* Separator "›" */
.breadcrumb-pills .breadcrumb-item + .breadcrumb-item::before {
  content: ">";
  color: #6b7280;
  margin: 0 8px;
  font-weight: bold;
  position: relative;
  z-index: 0; /* pastikan separator bawah dari pill */
}

/* Responsive tweak */
@media (max-width: 768px) {
    .breadcrumb-pills .breadcrumb-item a,
    .breadcrumb-pills .breadcrumb-item span {
        font-size: 12px;
        padding: 6px 12px;
    }
    .breadcrumb-pills .breadcrumb-item + .breadcrumb-item::before {
        margin: 0 4px;
    }
    .table-container {
        padding-bottom: 1rem;
    }
}

/* Table */
.table-custom {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}
.table-custom thead {
    background: #f1f5f9;
    font-weight: 600;
}
.table-custom th,
.table-custom td {
    padding: 10px 12px;
    /* border: 1px solid #e2e8f0; */
    font-size: 0.9rem;
    vertical-align: middle;
    text-align: center;
    font-size: 0.9rem !important;
}
.table-custom a {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
}
.table-custom a:hover {
    text-decoration: underline;
}

/* Custom table styles */
table.table.dataTable > :not(caption) > * > th {
    background-color: #f1f5f9;
}
table.table.dataTable > :not(caption) > * > th,
table.table.dataTable > :not(caption) > * > td {
    font-size: 0.9rem;
}
table.table.dataTable > :not(caption) > * > td {
    vertical-align: middle;
}
div.dt-container div.dt-search input {
    margin-left: 0 !important;
}
#searchField {
    font-size: 0.9rem;
}
a {
    text-decoration: none;
}
select.no-arrow {
    appearance: none;
    -webkit-appearance: none; /* For Safari and Chrome */
    -moz-appearance: none;    /* For Firefox */
    background-image: none;   /* To override Bootstrap's custom arrow image */
}
/*
#tblBookings_processing {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-10%, -50%);
    z-index: 1;
}
*/
/* For IE10+ */
select.no-arrow::-ms-expand {
    display: none;
}
/* Others */
.w-10 {
    width: 10% !important;
}
.table-auto {
    width: 20% !important;
}
