/* ==========================================================================
   Sign-in page.

   Deliberately self-contained and generic. This is the only stylesheet served
   without a session, so it must not name the company, the product, or reveal
   anything about what sits behind the login. No logo, no brand colors keyed to
   a recognizable palette, no class names that give the game away.
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  display: grid;
  place-items: center;
  min-height: 100vh;
  background: radial-gradient(circle at 50% 0%, #1d3550 0, #101922 60%) #101922;
  color: #fff;
  font-family: -apple-system, system-ui, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.login-shell {
  width: min(380px, calc(100% - 32px));
  padding: 24px 0;
}

.login-card {
  display: grid;
  justify-items: center;
  gap: 20px;
  padding: 40px 28px;
  border: 1px solid #2f4459;
  border-radius: 16px;
  background: #182631;
  text-align: center;
}

.login-card h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
}

.login-button {
  min-height: 44px;
}

.login-error {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgb(226 96 60 / 16%);
  color: #ffb4a0;
  font-size: 12px;
}

.login-error[hidden] {
  display: none;
}
