/* Product-specific placement around the installed @tabler/core 1.4 layout. */
:root {
  --tblr-primary: #168765;
  --tblr-primary-rgb: 22, 135, 101;
  --tblr-border-radius: 6px;
  --tblr-body-bg: #f5f7fa;
}

.public-header > .container-xl,
.app-topbar > .container-xl {
  align-items: center;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.app-shell {
  background: var(--tblr-body-bg);
  direction: rtl;
  display: flex;
  flex-direction: row;
  min-height: 100vh;
}

.app-shell > .navbar-vertical {
  flex: 0 0 var(--sidebar);
  width: var(--sidebar);
}

.app-shell > .page-wrapper {
  flex: 1 1 auto;
  margin: 0;
  min-width: 0;
  width: calc(100% - var(--sidebar));
}

.app-shell .sidebar {
  background: #14213d;
  border: 0;
  height: 100vh;
  inset: auto;
  padding: 0;
  position: sticky;
  top: 0;
  transform: none;
}

.app-shell .sidebar > .container-fluid {
  align-items: stretch;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 18px 14px;
}

.app-shell .sidebar .navbar-brand {
  align-items: center;
  display: flex;
  height: auto;
  justify-content: flex-start;
  margin: 0;
  min-height: 50px;
  padding: 0 7px 12px;
  width: 100%;
}

.app-shell .sidebar .navbar-brand .app-brand {
  height: auto;
  justify-content: flex-start;
  padding: 0;
}

.app-shell .sidebar .navbar-collapse {
  align-items: stretch;
  display: flex !important;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  overflow-y: auto;
}

.app-shell .sidebar .navbar-nav {
  flex: 0 0 auto;
  width: 100%;
}

.app-shell .sidebar .nav-item {
  width: 100%;
}

.app-shell .sidebar .nav-link.active {
  background: rgb(255 255 255 / 11%);
  box-shadow: inset -3px 0 #25c28a;
  color: #fff;
}

.app-shell .sidebar .sidebar-foot {
  margin-top: auto;
}

.app-main {
  background: var(--tblr-body-bg);
  direction: rtl;
}

.app-topbar {
  min-height: 64px;
  padding: 0;
}

.app-content {
  margin: 0;
  max-width: none;
  padding: 30px 0 60px;
  width: 100%;
}

.app-content > .container-xl {
  min-width: 0;
  width: 100%;
}

.data-section.card,
.site-card.card,
.overview-grid > .card {
  box-shadow: var(--tblr-box-shadow-card);
}

.table-wrap .table {
  margin-bottom: 0;
}

.table-wrap .table > :not(caption) > * > * {
  background: transparent;
  border-bottom-color: var(--tblr-border-color);
  padding: 0.75rem;
}

@media (max-width: 991.98px) {
  .app-shell {
    display: block;
  }

  .app-shell > .navbar-vertical,
  .app-shell > .page-wrapper {
    width: 100%;
  }

  .app-shell .sidebar {
    box-shadow: none;
    height: auto;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: var(--z-sidebar);
  }

  .app-shell .sidebar > .container-fluid {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    height: auto;
    padding: 8px 14px;
  }

  .app-shell .sidebar .navbar-toggler {
    align-self: center;
    display: block;
    grid-column: 1;
    grid-row: 1;
  }

  .app-shell .sidebar .navbar-brand {
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-start;
    min-height: 46px;
    padding: 0 10px;
  }

  .app-shell .sidebar .navbar-brand .brand-lockup {
    height: 34px;
    width: 148px;
  }

  .app-shell .sidebar .navbar-collapse {
    display: none !important;
    grid-column: 1 / -1;
    grid-row: 2;
    max-height: calc(100vh - 64px);
    padding-bottom: 10px;
  }

  .app-shell .sidebar .navbar-collapse.show {
    display: flex !important;
  }

  .app-content {
    padding: 22px 0 48px;
  }
}
