/* The pages before sign-in (sign in, create account, forgot, reset): the dashboard's dark look and violet; the name
   and one form, in the middle of the page. */
:root {
  --bg: #0b0e14; --panel: #12161e; --panel-2: #171c26; --line: #262d3a; --line-2: #343d4d;
  --tx: #eef0f5; --tx2: #a9b0bd; --tx3: #6f7787; --acc: #8c7cff; --acc-2: #b0a6ff; --on-acc: #0b0e14;
  --ok: #5fd39a; --no: #ff6b6b; --you: #f0a35e; --r: 12px;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: radial-gradient(900px 600px at 0% 0%, rgba(140, 124, 255, .16), transparent 60%), radial-gradient(700px 500px at 100% 100%, rgba(140, 124, 255, .08), transparent 60%), var(--bg);
  color: var(--tx); font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased;
}
.shell { min-height: 100vh; display: grid; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 650; font-size: 18px; letter-spacing: -.01em; }
.mark { width: 40px; height: 40px; border-radius: 999px; background: var(--acc); display: grid; place-items: center; color: var(--on-acc); flex: none; }
.mark svg { width: 22px; height: 22px; }
.main { display: grid; place-items: center; padding: 48px 24px; }
.card { width: 100%; max-width: 420px; padding: 36px 32px; border: 1px solid var(--line); border-radius: 16px; background: rgba(18, 22, 30, .8); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.card .logo { margin-bottom: 28px; }
h1 { font-size: 26px; margin: 0 0 6px; letter-spacing: -.015em; font-weight: 650; }
.lead { margin: 0 0 28px; color: var(--tx2); }
label { display: block; font-size: 14px; font-weight: 550; margin: 18px 0 8px; }
.field { position: relative; }
input { width: 100%; height: 46px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--tx); font: inherit; transition: border-color .15s, box-shadow .15s; }
input::placeholder { color: var(--tx3); }
input:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px rgba(140, 124, 255, .25); }
.field input { padding-right: 70px; }
.show { position: absolute; right: 6px; top: 6px; height: 34px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: var(--tx2); font: inherit; font-size: 13px; cursor: pointer; }
.show:hover { background: rgba(255, 255, 255, .06); color: var(--tx); }
.hint { color: var(--tx3); font-size: 13px; margin-top: 8px; }
.go { width: 100%; height: 48px; margin-top: 26px; border: 0; border-radius: 10px; background: var(--acc); color: var(--on-acc); font: inherit; font-weight: 650; cursor: pointer; transition: filter .15s; }
.go:hover { filter: brightness(1.08); }
.go:focus-visible, .show:focus-visible, a:focus-visible { outline: 2px solid var(--acc-2); outline-offset: 2px; }
.go[disabled] { opacity: .7; cursor: progress; }
.row { display: flex; justify-content: space-between; align-items: baseline; }
.row label { margin-bottom: 8px; }
.links { margin-top: 24px; color: var(--tx2); font-size: 14px; text-align: center; }
a { color: var(--acc-2); text-decoration: none; }
a:hover { text-decoration: underline; }
.msg { display: none; margin: 0 0 20px; padding: 12px 14px; border-radius: 10px; font-size: 14px; border: 1px solid; }
.msg.no { background: rgba(255, 107, 107, .1); border-color: rgba(255, 107, 107, .35); color: #ffb3b3; }
.msg.ok { background: rgba(95, 211, 154, .1); border-color: rgba(95, 211, 154, .35); color: #a5ecc6; }
@media (max-width: 520px) {
  .main { padding: 24px 16px; }
  .card { padding: 28px 20px; }
}
