/* Brand orange - this exact color was already picked out for buttons once before
   (see the old commented-out .button rule this replaced), just never wired up to
   anything after the Bootstrap migration. Matches gifty-logo.jpg's "Gifty" wordmark. */
:root {
	--brand-orange: #df6419;
	--brand-orange-hover: #c2550f;
}

p {
  text-align: left;
	color: #666;
	font-size: 90%;
}
a {
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Bootstrap 5's .btn-primary hardcodes its own color per-component rather than
   deriving from a single global variable, so re-theming it means overriding its
   own --bs-btn-* custom properties here rather than one blanket change. */
.btn-primary {
	--bs-btn-bg: var(--brand-orange);
	--bs-btn-border-color: var(--brand-orange);
	--bs-btn-hover-bg: var(--brand-orange-hover);
	--bs-btn-hover-border-color: var(--brand-orange-hover);
	--bs-btn-active-bg: var(--brand-orange-hover);
	--bs-btn-active-border-color: var(--brand-orange-hover);
	--bs-btn-disabled-bg: var(--brand-orange);
	--bs-btn-disabled-border-color: var(--brand-orange);
	--bs-btn-focus-shadow-rgb: 223, 100, 25;
}

/* Bootstrap 5 colors each table cell via a --bs-table-color* custom property
   chain set ON THE CELLS themselves (see .table-striped in bootstrap.min.css),
   so a plain text-muted class on <tr> has no visible effect - the cells'
   own variables always win over an inherited one. Overriding both variables
   here (same pattern Bootstrap's own .table-warning etc. use) is what
   actually mutes the row, striped or not. */
tr.text-muted {
	--bs-table-color: var(--bs-secondary-color);
	--bs-table-striped-color: var(--bs-secondary-color);
}

/* Strike through just the title, not the whole row - text-decoration drawn
   on a <tr> would also draw through its link cells (Link/claim/Edit/Delete),
   since a line-through set on an ancestor still renders across descendant
   text even where the descendant itself sets text-decoration: none. */
tr.text-muted > td:first-child {
	text-decoration: line-through;
}
