.base {
  display: inline-flex;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: colors 150ms;
}

.base:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--brand);
}

.base:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.primary {
  background-color: var(--brand);
  color: var(--brand-foreground);
}

.primary:hover:not(:disabled) {
  opacity: 0.9;
}

.secondary {
  border: 1px solid var(--border);
  background-color: var(--card);
  color: var(--foreground);
}

.secondary:hover:not(:disabled) {
  background-color: var(--muted);
}

.ghost {
  color: var(--muted-foreground);
}

.ghost:hover:not(:disabled) {
  background-color: var(--muted);
  color: var(--foreground);
}
