/* Robinhood-inspired buttons (2026-11-03): pill shape, bold labels, solid green primary,
   soft grey secondary, red-tinted destructive. Loaded after theme.css so it wins. */
:root {
  --rh-green: #00c805;
  --rh-green-hover: #00b304;
  --rh-red: #ff5000;
}
.button:not(.terminal-tab):not(.terminal-scale) {
  border: 0;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: none;
  filter: none;
  transition:
    background 0.15s,
    color 0.15s,
    transform 0.08s;
}
.button:not(.terminal-tab):not(.terminal-scale):active:not(:disabled) {
  transform: scale(0.97);
}
.button.compact:not(.terminal-tab):not(.terminal-scale) {
  padding: 7px 14px;
  font-size: 12px;
}
.button.primary {
  background: var(--rh-green);
  color: #000;
}
.button.primary:hover {
  background: var(--rh-green-hover);
  filter: none;
}
.button.secondary {
  background: #ffffff14;
  color: #fff;
}
.button.secondary:hover {
  background: #ffffff24;
  filter: none;
}
.button.ghost {
  background: transparent;
  color: var(--rh-green);
}
.button.ghost:hover {
  background: #00c80514;
}
.button.danger {
  background: #ff50001c;
  color: var(--rh-red);
}
.button.danger:hover {
  background: #ff500033;
  filter: none;
}
.button:disabled,
.button[aria-disabled='true'] {
  opacity: 0.4;
  transform: none;
  cursor: not-allowed;
}
.button:focus-visible,
.icon-button:focus-visible {
  outline: 2px solid var(--rh-green);
  outline-offset: 2px;
}
.icon-button {
  border-radius: 50%;
  transition:
    background 0.15s,
    color 0.15s;
}
.icon-button:hover {
  background: #ffffff14;
  color: var(--text);
}
