/* Sidebar-only shell (no app bar), same structure as coinomon's AppSidebar. */

.mud-drawer.app-sidebar {
  top: 0;
}

.app-sidebar .sidebar {
  height: 100%;
  min-height: 0;
}

.sidebar-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px;
  min-height: 60px;
  box-sizing: border-box;
}

.sidebar--mini .sidebar-header {
  flex-direction: column-reverse;
  align-items: center;
}

.app-sidebar button.n-icon-button {
  width: 48px !important;
  min-width: 48px !important;
  height: 44px;
  padding: 0;
}

.sidebar-logo-link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  line-height: 0;
}

.sidebar-logo {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  margin: 4px;
  border-radius: 8px;
}

.sidebar-app-name {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--mud-palette-primary);
}

.sidebar-nav {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
}

.sidebar-footer {
  padding: 8px;
}

/* Dashboard */

.dashboard-tile {
  display: flex;
  flex-direction: column;
}

.dashboard-tile .mud-card-content {
  flex: 1;
}

.dashboard-tile--clickable {
  cursor: pointer;
  transition: box-shadow 150ms ease;
}

.dashboard-tile--clickable:hover {
  box-shadow: var(--mud-elevation-4);
}

.dashboard-tile--contact {
  border-style: dashed;
  box-shadow: none;
}

.dashboard-tile-foot {
  border-top: 1px solid var(--mud-palette-lines-default);
  padding: 8px 16px;
}

.dashboard-licenses .dashboard-license-row {
  cursor: pointer;
}
