/* ==========================================================================
   BUTTONS.CSS
   Every button in the app should use one of these classes rather than
   being styled one-off. Add new variants here, not inline in page files.
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 15px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
}

/* Primary action — the one thing you want the user to do on a screen.
   Use at most one primary button per view. */
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-primary:active {
  background: var(--primary-dim);
  transform: translateY(0);
}

/* Secondary action — glass style, used next to a primary button */
.btn-secondary {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  color: var(--text);
}

.btn-secondary:hover {
  background: var(--surface-hover);
}

/* Ghost — lowest emphasis, e.g. "Learn more" links */
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}

.btn-ghost:hover {
  color: var(--text);
}

/* Full width variant — common on mobile forms */
.btn-block {
  width: 100%;
}