/* Sign-in page, in TradingView's dark palette. */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: #0f0f0f radial-gradient(ellipse at 50% -10%, #1c2440 0%, #131722 45%, #0f0f0f 100%);
  color: #d1d4dc;
  font: 14px/1.45 -apple-system, BlinkMacSystemFont, "Trebuchet MS", Roboto, Ubuntu, sans-serif;
}
.card {
  width: min(400px, calc(100vw - 32px));
  background: #1e222d;
  border: 1px solid #2a2e39;
  border-radius: 12px;
  padding: 28px 28px 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: #fff; }
h1 { margin: 22px 0 4px; font-size: 22px; color: #fff; font-weight: 600; }
.lead { margin: 0 0 18px; color: #868993; min-height: 1em; }
form { display: grid; gap: 12px; }
label { display: grid; gap: 5px; }
label span { font-size: 12px; color: #b2b5be; }
input {
  height: 38px;
  padding: 0 12px;
  border-radius: 6px;
  border: 1px solid #363a45;
  background: #131722;
  color: #d1d4dc;
  font: inherit;
  outline: none;
}
input:focus { border-color: #2962ff; box-shadow: 0 0 0 2px rgba(41, 98, 255, 0.25); }
button {
  height: 40px;
  margin-top: 6px;
  border: 0;
  border-radius: 6px;
  background: #2962ff;
  color: #fff;
  font: 600 14px/1 inherit;
  font-family: inherit;
  cursor: pointer;
}
button:hover { background: #1e53e5; }
button:disabled { opacity: 0.6; cursor: default; }
.error { margin: 0; min-height: 1.2em; color: #f23645; font-size: 13px; }
.switch { margin: 14px 0 0; text-align: center; }
a { color: #2962ff; text-decoration: none; }
a:hover { text-decoration: underline; }
footer { color: #5d606b; font-size: 12px; }
footer a { color: #787b86; }
.hidden { display: none !important; }
