/* Sign-in page. Deliberately always dark and independent of the app theme: the card
   sits on the animated dot grid adapted from 21st.dev (components/21st-source/dot-login). */
*, *::before, *::after { box-sizing: border-box; }
:root { color-scheme: dark; }
body {
  margin: 0;
  min-height: 100vh;
  background: #000;
  color: #fff;
  font-family: Geist, -apple-system, system-ui, sans-serif;
  font-size: 14px;
}
#login-dots {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}
.login-vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0) 100%);
}
.login-page {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.login-card {
  width: min(400px, 100%);
  padding: 32px;
  border: 1px solid #222;
  border-radius: 12px;
  background: #121212;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
}
.login-mark {
  width: 44px;
  height: 44px;
  border: 1px solid #333;
  border-radius: 50%;
  background: #111;
  color: #6f93f7;
  display: grid;
  place-items: center;
  align-self: center;
  margin-bottom: 14px;
}
.login-mark svg { width: 22px; height: 22px; }
.login-card h1 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 0 6px;
  text-align: center;
}
.login-subtitle {
  font-size: 13px;
  line-height: 1.5;
  color: #888;
  margin: 0 0 22px;
  text-align: center;
}
.login-label {
  font-size: 12px;
  color: #aaa;
  margin-bottom: 6px;
}
.login-input {
  width: 100%;
  padding: 11px 13px;
  margin-bottom: 16px;
  border: 1px solid #333;
  border-radius: 6px;
  background: #000;
  color: #fff;
  font: inherit;
  outline: none;
}
.login-input:focus {
  border-color: #6f93f7;
  box-shadow: 0 0 0 3px rgba(111, 147, 247, 0.22);
}
.login-button {
  width: 100%;
  padding: 11px;
  border: none;
  border-radius: 6px;
  background: #ededed;
  color: #000;
  font: inherit;
  font-weight: 550;
  cursor: pointer;
}
.login-button:hover:enabled { background: #fff; }
.login-button:disabled { opacity: 0.6; cursor: default; }
.login-button:focus-visible, .login-input:focus-visible {
  outline: 2px solid #6f93f7;
  outline-offset: 2px;
}
.login-error {
  font-size: 12px;
  line-height: 1.5;
  color: #f87171;
  margin: 0 0 12px;
  min-height: 1em;
}
.login-error:empty { margin: 0; }
@media (max-width: 480px) {
  .login-card { padding: 24px 20px; }
}
