/* Button System */

.action-button {
  display: inline-block;
  background: var(--color-accent-terracotta);
  color: white !important;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none !important;
  font-family: "Alegreya Sans", sans-serif;
  font-weight: var(--font-weight-semibold);
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.action-button:hover {
  background: var(--color-accent-terracotta-dark);
}

/* Secondary — muted grey */
.action-button.secondary {
  background: #6c757d;
  color: white !important;
}

.action-button.secondary:hover {
  background: #5a6268;
}

/* Tertiary — outlined ghost */
.action-button.tertiary {
  background: transparent;
  color: var(--color-accent-terracotta) !important;
  border: 2px solid var(--color-accent-terracotta);
}

.action-button.tertiary:hover {
  background: var(--color-bg-warm-beige);
}

/* Danger — destructive actions */
.action-button.danger {
  background: #dc3545;
  color: white !important;
}

.action-button.danger:hover {
  background: #c82333;
}

/* Icon button — circular icon-only variant */
.action-button.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25em;
  width: 2em;
  height: 2em;
  flex-shrink: 0;
}

.action-button.icon-btn svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
  display: block;
}
