/*
 * xenocrates.css: what Bootstrap 5.2 does not do. Bootstrap classes everywhere first;
 * this file holds the theme (Bootstrap's own variables), the few Bootstrap rules 5.2
 * cannot theme through variables, and any class of our own, named xe-*.
 */

/* The theme: the old site's palette and type, through Bootstrap 5.2's own variables. */
:root {
  --bs-primary: #c96442;
  --bs-primary-rgb: 201, 100, 66;
  --bs-link-color: #c96442;
  --bs-link-hover-color: #b55636;
  --bs-body-color: #2d2d2d;
  --bs-body-color-rgb: 45, 45, 45;
  --bs-border-color: #e5e2dd;
  --bs-body-font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.btn-primary {
  --bs-btn-bg: #c96442;
  --bs-btn-border-color: #c96442;
  --bs-btn-hover-bg: #b55636;
  --bs-btn-hover-border-color: #b55636;
  --bs-btn-active-bg: #b55636;
  --bs-btn-active-border-color: #b55636;
  --bs-btn-disabled-bg: #c96442;
  --bs-btn-disabled-border-color: #c96442;
  --bs-btn-focus-shadow-rgb: 201, 100, 66;
}

.btn-outline-primary {
  --bs-btn-color: #c96442;
  --bs-btn-border-color: #c96442;
  --bs-btn-hover-bg: #c96442;
  --bs-btn-hover-border-color: #c96442;
  --bs-btn-active-bg: #c96442;
  --bs-btn-active-border-color: #c96442;
  --bs-btn-disabled-color: #c96442;
  --bs-btn-disabled-border-color: #c96442;
  --bs-btn-focus-shadow-rgb: 201, 100, 66;
}

/* Rules Bootstrap 5.2 compiles in, restated in the theme's colours. */
.text-muted {
  color: #8b8680 !important;
}

.form-control:focus,
.form-select:focus {
  border-color: #e4b2a1;
  box-shadow: 0 0 0 0.25rem rgba(201, 100, 66, 0.25);
}

.form-check-input:checked {
  background-color: #c96442;
  border-color: #c96442;
}

.list-group-item-primary {
  color: #7a3a26;
  background-color: #fdf0eb;
}

/* A fixed-bottom bar clears the phone's home indicator. */
.xe-safe-bottom {
  padding-bottom: env(safe-area-inset-bottom);
}
