:root {
  --tblr-sidebar-width: 19rem;
}

/* =========================================================
   GLOBAL TYPOGRAPHY
   ========================================================= */

body {
  font-weight: 500;
}

/* =========================================================
   PREVIEW TABLE
   ========================================================= */

.preview-table {
  max-height: 650px;
  overflow: auto;
}

.preview-table thead th {
  position: sticky;
  top: 0;
  z-index: 10;

  background: #fff;
}

/* =========================================================
   SIDEBAR
   ========================================================= */

.navbar-vertical .container-fluid {
  display: flex;
  flex-direction: column;

  height: 100%;
}

.sidebar-menu {
  flex: 1;

  min-height: 0;

  overflow-y: auto;
}

.sidebar-logout {
  flex-shrink: 0;

  margin-top: 8px;
  margin-left: 8px;
  margin-bottom: 75px;

  padding-top: 8px;
  padding-bottom: 8px;

  border-top: 1px solid var(--tblr-border-color);
  border-bottom: 1px solid var(--tblr-border-color);

  font-weight: 600;
}

/* Sidebar menu */

.navbar-vertical .nav-link {
  justify-content: flex-start;

  margin-left: 10px;

  font-weight: 500;
}

.navbar-vertical .nav-link-title {
  flex: 1;

  text-align: left;
}

/* Active menu */

.navbar-vertical .nav-link.active {
  margin-left: 10px;

  border-radius: 8px;

  background: #e9f2ff;

  color: #206bc4 !important;

  font-weight: 600;
}

.navbar-vertical .nav-link.active .nav-link-icon,
.navbar-vertical .nav-link.active .nav-link-title,
.navbar-vertical .nav-link.active i {
  color: #206bc4 !important;
}

/* Parent menu yang memiliki submenu */

.navbar-vertical .has-submenu > .nav-link.active {
  background: transparent !important;

  color: #206bc4 !important;

  box-shadow: none;
}

/* Submenu */

#sidebar-setting .nav-link,
.sidebar-setting {
  padding-left: 2.8rem !important;

  font-size: 0.92rem;
}

/* =========================================================
   BRAND / LOGO
   ========================================================= */

.brand-logo {
  display: flex;

  justify-content: center;

  gap: 12px;

  width: 48px !important;
  height: 48px !important;

  margin-bottom: 12px;

  object-fit: contain;
}

.brand-title {
  font-size: 18px;

  font-weight: 700;

  text-align: center;
}

.brand-subtitle {
  font-size: 12px;

  color: #6c757d;

  text-align: center;

  line-height: 1.3;
}

/* =========================================================
   PAGE HEADER
   ========================================================= */

.page-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 52px;
  height: 52px;

  flex-shrink: 0;

  border-radius: 16px;

  background: #edf4ff;

  color: #206bc4;

  font-size: 24px;
}

.page-breadcrumb {
  margin-top: 2px;

  color: #6c757d;

  font-size: 0.875rem;
}

/* =========================================================
   PREVIEW FILTER
   ========================================================= */

.preview-filter .nav-link {
  margin-left: 6px;

  border-radius: 8px;

  font-weight: 600;

  transition: 0.2s;
}

.preview-filter .nav-link.active {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.08);
}

.preview-filter .nav-link:hover {
  background: #f5f7fb;
}

/* =========================================================
   MASTER KENDARAAN
   ========================================================= */

.kendaraan-item {
  transition: 0.2s;
}

.kendaraan-item:hover {
  background: #f8fafc;
}

/* =========================================================
   HERO VEHICLE ICON
   ========================================================= */

.hero-vehicle-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 110px;
  height: 110px;

  flex-shrink: 0;

  border-radius: 24px;

  background: #edf4ff;

  color: #206bc4;

  font-size: 42px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991.98px) {
  .page-icon {
    display: none;
  }

  .page-title {
    font-size: 1.3rem;
  }
}
