.app-shell {
  display: grid;
  grid-template-columns: 12rem 1fr;
  grid-template-rows: 48px 1fr;
  grid-template-areas:
    "header header"
    "sidebar content";
  height: 100vh;
  overflow: hidden;
}

.app-header {
  grid-area: header;
  display: flex;
  align-items: center;
  padding: 0 1rem 0 8px;
  background: #eff7fc;
  border-bottom: 1px solid #e6e6e6;
}

.app-sidebar-toggle {
  display: flex;
  align-items: center;
  width: 100%;
  height: 40px;
  padding: 0 0 0 6px;
  margin-bottom: 0.25rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--tblr-body-color);
  font-size: 1.25rem;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out;
}
.app-sidebar-toggle:hover {
  background-color: rgba(0, 42, 62, 0.06);
}

.app-brand {
  display: inline-flex;
  align-items: center;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--tblr-body-color);
  text-decoration: none;
}
.app-brand img {
  height: 32px;
  width: 32px;
  margin-right: 0.5rem;
}

.app-user {
  margin-left: auto;
  color: var(--tblr-secondary);
  font-size: 0.875rem;
}
.app-user .app-user-name {
  font-weight: 600;
  color: var(--tblr-body-color);
}

.app-sidebar {
  grid-area: sidebar;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 0.5rem;
  background-color: #eff7fc;
  border-right: 1px solid #e6e6e6;
}
.app-sidebar .navbar-nav {
  flex-direction: column;
}
.app-sidebar .nav-link {
  padding-left: 6px;
  padding-right: 0.5rem;
  border: 0;
  border-radius: 6px;
  transition: background-color 0.15s ease-in-out;
}
.app-sidebar .nav-link:hover {
  background-color: rgba(0, 42, 62, 0.06);
}

.app-shell--sidebar-collapsed {
  grid-template-columns: 48px 1fr;
}
.app-shell--sidebar-collapsed .nav-link-title {
  display: none;
}

.app-content {
  grid-area: content;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.app-content-body {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.app-content--fill .app-content-body {
  flex: 1 1 0;
  min-height: 0;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
}

.app-footer {
  flex: 0 0 auto;
  padding: 0.5rem 1rem;
  color: var(--tblr-secondary);
  font-size: 0.875rem;
  text-align: center;
}

.nav-link-icon {
  width: 1.25rem;
  margin: 0 0.5rem 0 0;
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  line-height: 1;
}

.avatar .ti {
  font-size: 1.25rem;
}
