/* buttons — the shared data-button block: bare = secondary, "primary" = accent fill, "icon" = bare square */

[data-button] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: calc(1rem - 1px);
  padding-block: calc(0.625rem - 1px);
  border-radius: 0.5rem;
  border: 1px solid var(--border-primary);
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
  /* Untitled UI shadow-xs-skeuomorphic */
  box-shadow:
    0 0 0 1px light-dark(rgb(var(--shadow-rgb) / 0.18), rgba(12, 14, 18, 0.18)) inset,
    0 -2px 0 0 light-dark(rgb(var(--shadow-rgb) / 0.05), rgba(12, 14, 18, 0.05)) inset,
    0 1px 2px 0 light-dark(rgb(var(--shadow-rgb) / 0.05), rgba(255, 255, 255, 0));
}

[data-button="primary"] {
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.12);
  background-color: var(--accent);
}

[data-button="icon"] {
  padding: 0.5rem;
  border: none;
  background: none;
  box-shadow: none;
}
/* block display drops the inline baseline gap so the icon centers */
[data-button="icon"] svg {
  display: block;
}

/* (hover/focus states live in interactive.css) */
