/* Login page alerts (dark-only page).
   The page forces -webkit-text-fill-color on <body>, which overrides `color`
   and made text on light alert boxes nearly invisible. Use dark tinted boxes
   with explicit light text instead. */
.login-alert {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #e2e8f0;
  -webkit-text-fill-color: #e2e8f0;
}
.login-alert p,
.login-alert div {
  color: inherit;
  -webkit-text-fill-color: inherit;
}
.login-alert--info {
  background: rgba(59, 130, 246, 0.16);
  border-color: rgba(96, 165, 250, 0.55);
  color: #dbeafe;
  -webkit-text-fill-color: #dbeafe;
}
.login-alert--success {
  background: rgba(16, 185, 129, 0.16);
  border-color: rgba(52, 211, 153, 0.55);
  color: #d1fae5;
  -webkit-text-fill-color: #d1fae5;
}
.login-alert--warning {
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(251, 191, 36, 0.55);
  color: #fef3c7;
  -webkit-text-fill-color: #fef3c7;
}
.login-alert--error {
  background: rgba(239, 68, 68, 0.16);
  border-color: rgba(248, 113, 113, 0.6);
  color: #fee2e2;
  -webkit-text-fill-color: #fee2e2;
}

/* Coloured Tailwind text on the light info boxes further down the page
   (plan calculator) must also escape the body-level text-fill override. */
[class*="text-green-"],
[class*="text-blue-"],
[class*="text-yellow-"],
[class*="text-red-"] {
  -webkit-text-fill-color: currentColor;
}
