// =============================================================================
// Toolbar
// =============================================================================

@use '../variables' as *;

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background-color: rgb(var(--color-surface-card));
  border-bottom: 1px solid rgb(var(--color-border-light));
}

.toolbar__title {
  font-size: $font-size-sm;
  font-weight: $font-weight-semibold;
  color: rgb(var(--color-text-primary));
}

.toolbar__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toolbar__separator {
  width: 1px;
  height: 1.5rem;
  background-color: rgb(var(--color-border-light));
}

.toolbar--compact {
  padding: 0.5rem 0.75rem;
}

.toolbar--sticky {
  position: sticky;
  top: 0;
  z-index: $z-sticky;
}
