/* Authentication pages — brand red.
   Kept as a separate, auth-scoped file because the auth layout uses its own
   page CSS (assets/vendor/css/pages/page-auth.css). Colours match the
   project palette used by tools/recolor-theme.py and assets/css/red-white.css. */

.authentication-wrapper {
  --bs-primary: #c1272d;
  --bs-primary-rgb: 193, 39, 45;
  --bs-link-color: #c1272d;
  --bs-link-hover-color: #a31f24;
}

.authentication-wrapper .btn-primary,
.authentication-wrapper .btn-primary:focus,
.authentication-wrapper .btn-primary:active {
  color: #fff !important;
  border-color: #c1272d !important;
  background-color: #c1272d !important;
}

.authentication-wrapper .btn-primary:hover {
  color: #fff !important;
  border-color: #a31f24 !important;
  background-color: #a31f24 !important;
}

.authentication-wrapper .text-primary,
.authentication-wrapper a:not(.btn) {
  color: #c1272d !important;
}

.authentication-wrapper a:not(.btn):hover {
  color: #a31f24 !important;
}

.authentication-wrapper .form-check-input:checked {
  border-color: #c1272d !important;
  background-color: #c1272d !important;
}

.authentication-wrapper .form-control:focus,
.authentication-wrapper .form-select:focus,
.authentication-wrapper .form-check-input:focus {
  border-color: #c1272d !important;
  box-shadow: 0 0 0 0.2rem rgba(193, 39, 45, 0.2) !important;
}

.authentication-wrapper .card {
  border-radius: 16px;
  border: 1px solid #efe9e9;
  box-shadow: 0 10px 34px rgba(26, 16, 16, 0.1);
}

.authentication-wrapper .form-control,
.authentication-wrapper .form-select {
  border-radius: 8px;
  border-color: #efe9e9;
}

.authentication-wrapper .btn {
  border-radius: 8px;
}

/* The illustration side of the auth screen becomes the deep red block */
.authentication-wrapper .auth-cover-bg-color {
  background: linear-gradient(150deg, #a9232a 0%, #8e1b24 60%, #75141c 100%);
}
