/* Layout styles for dashboard */
.dashboard-header {
  width: 100vw;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--primary-color);
  color: #fff;
  padding: 1.2em 2em 1.2em 2em;
  border-bottom: 1px solid var(--primary-dark);
  position: relative;
  z-index: 10;
}
.dashboard-title {
  display: flex;
  align-items: flex-start;
  font-size: 1.5em;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.1;
}
.dashboard-title .vr-icon-img {
  display: inline-block;
  height: 28px;
  width: 28px;
  margin-right: 0.6em;
  vertical-align: text-bottom;
  margin-top: 2px;
}
.logout-btn {
  /* Uses .button class from components.css */
}
.dashboard-layout {
  display: flex;
  min-height: calc(100vh - 70px);
}
.sidebar {
  width: var(--sidebar-width);
  background: var(--primary-color);
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 1.5em 0 0 0;
  min-height: calc(100vh - 70px);
  position: relative;
}
.sidebar-nav {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
.sidebar-footer {
  flex-shrink: 0;
  width: 100%;
  padding: 1.2em 2em 1.2em 2em;
  position: absolute;
  left: 0;
  bottom: 0;
  box-sizing: border-box;
}
.sidebar-version {
  font-size: 0.75em;
  color: var(--brand-grey-lighter);
  font-weight: 400;
  letter-spacing: 0.5px;
}
.sidebar .nav-link {
  color: #fff;
  padding: 1em 2em;
  border: none;
  background: none;
  text-align: left;
  font-size: 1.1em;
  cursor: pointer;
  transition: background var(--transition);
}
.sidebar .nav-link.active, .sidebar .nav-link:hover {
  background: var(--primary-light);
}
.main-content {
  flex: 1;
  background: var(--light-bg);
  padding: 2em;
  min-height: 0;
  /* Let flexbox handle height, avoid double scrollbars */
  overflow-x: auto;
}
