.topbar {
  height: 64px;
  background: var(--color-bg-secondary);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  position: sticky;
  top: 0;
  z-index: 50;
}

.topbar__left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.topbar__menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  background: var(--color-bg);
  color: var(--color-text);
  cursor: pointer;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.topbar__menu-toggle:hover {
  background: var(--color-bg-tertiary, var(--color-bg-secondary));
}

.topbar__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.topbar__user {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.125rem;
}

.topbar__user-name {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
}

.topbar__user-role {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
}

@media (max-width: 767px) {
  .topbar {
    padding: 0 1rem;
  }

  .topbar__user-role {
    display: none;
  }
}
