/* These styles are generated from project.scss. */

.alert-debug {
  color: black;
  background-color: white;
  border-color: #d6e9c6;
}

.alert-error {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #eed3d7;
}

/* Back-to-home link for standalone pages. base.html loads this stylesheet on
   every page, so it lives here rather than being copied into each catalog's
   own CSS — the company-message stylesheets drifted exactly that way. */
.page-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  padding: 9px 15px;
  border: 1px solid #d9e6da;
  border-radius: 10px;
  background: #fff;
  color: #2e7d32;
  font-weight: 650;
  font-size: 0.95rem;
  text-decoration: none;
  transition: 0.15s;
}

.page-back:hover,
.page-back:focus {
  background: #f4fbf5;
  color: #1b5e20;
}

.withdrawal-notice {
  color: #9a3412;
  font-weight: 600;
}

/* Shown under a number field where a decimal comma was typed; see
   static/js/decimal_comma_guard.js. */
.decimal-comma-warning {
  color: #b71c1c;
  font-size: 14px;
  font-weight: 600;
  margin-top: 4px;
}

/* The label's per-ha maximum under a dose box (sprayings edit pages). */
.dose-max-hint {
  display: block;
  margin-top: 2px;
  font-size: 0.85em;
  color: #6c757d;
}
