/* Sign-in page. Deliberately shares nothing with the app's stylesheet: it is
   served before authentication, so it should pull in as little as possible. */
:root { color-scheme: dark; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #131722;
  color: #d1d4dc;
  font: 15px/1.5 "Segoe UI", system-ui, sans-serif;
}

.card {
  width: 300px;
  padding: 28px;
  background: #1a1e2a;
  border: 1px solid #2a2e39;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

h1 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .3px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13px;
  color: #868b98;
}

input {
  padding: 9px 10px;
  background: #131722;
  border: 1px solid #2a2e39;
  border-radius: 6px;
  color: #d1d4dc;
  font-size: 15px;
}

input:focus {
  outline: none;
  border-color: #2962ff;
}

button {
  margin-top: 4px;
  padding: 10px;
  background: #2962ff;
  border: 0;
  border-radius: 6px;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
}

button:hover { background: #1e53e8; }

.msg {
  margin: 0;
  min-height: 18px;
  font-size: 13px;
  color: #ff5252;
}
