/* Minimal overrides — Tailwind utilities handle the majority of styling */
html, body {
  height: 100%;
  margin: 0;
}
body {
  background-color: #0f141a;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Small friendly reset for images inside the form */
form img {
  display: block;
}

/* Keep legacy class compatibility if JavaScript toggles show/hide */
.success {
  display: none;
}

/* Toast placement + animation fallback for browsers without Tailwind utilities */
#toast { transition: transform .22s ease, opacity .18s ease; }
#toast.show { display: block; opacity: 1; transform: translateY(0); }
#toast.hide { opacity: 0; transform: translateY(12px); }

/* Generic small helper for visually hidden text */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
