/* --- Main dashboard --- */
.dashboard {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
  display: flex;
  gap: 24px;
  margin-top: 44px;
}

/* --- Sidebar --- */
.sidebar {
  display: flex;
  flex-direction: column;
  max-height: 100dvh;
  align-items: center;
  align-self: stretch;
  justify-content: space-between;
  background-color: var(--color-sidebar);
  top: 0;
  padding: 40px 16px;
  position: sticky;
  border-radius: 20px;
}

.sidebar__top-buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* --- Dashboard content --- */
.dashboard__content {
  flex: 1;
  min-width: 0;
}

.dashboard__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* --- Dashboard columns --- */
.dashboard__main {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.dashboard__primary-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.dashboard__secondary-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}
