.button,
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--fg);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.button-primary,
.btn-primary {
  background: var(--accent);
  color: var(--bg);
}

.button-primary:hover,
.btn-primary:hover {
  transform: translateY(-1px);
  background: var(--accent-hover);
  box-shadow: 0 4px 20px var(--accent-glow);
}

.button-secondary,
.btn-secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--fg);
}

html.light .button-secondary,
html.light .btn-secondary {
  background: rgba(0, 0, 0, 0.04);
}

.button-secondary:hover,
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.14);
}

html.light .button-secondary:hover,
html.light .btn-secondary:hover {
  background: rgba(0, 0, 0, 0.07);
}

.button-ghost,
.btn-ghost {
  padding: 8px 12px;
  border: none;
  background: transparent;
  color: var(--fg-muted);
}

.button-ghost:hover,
.btn-ghost:hover {
  color: var(--fg);
}

.button-danger,
.btn-danger {
  border: 1px solid rgba(239, 90, 90, 0.18);
  background: var(--danger-soft);
  color: var(--danger);
}

.button-danger:hover,
.btn-danger:hover {
  background: rgba(239, 90, 90, 0.18);
}

.button-success,
.btn-success {
  border: 1px solid rgba(62, 207, 142, 0.18);
  background: var(--success-soft);
  color: var(--success);
}

.button-success:hover,
.btn-success:hover {
  background: rgba(62, 207, 142, 0.18);
}

.button-lg,
.btn-lg {
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 15px;
}

.button-sm,
.btn-sm {
  padding: 7px 16px;
  border-radius: var(--radius-xs);
  font-size: 13px;
}

.button-icon,
.btn-icon {
  width: 36px;
  height: 36px;
  justify-content: center;
  padding: 0;
  border-radius: var(--radius-sm);
}

.button-full,
.btn-full {
  width: 100%;
  justify-content: center;
}