/* Страница входа: те же цвета и шрифты, что у основного сайта (app.css). */
:root {
  --bg: #081722; --card: #0F2233; --line: #1E3A52; --ink: #EAF4FB; --muted: #8FB0C8;
  --brand: #009EE2; --brand-ink: #04263B; --bad: #FF8A80;
  --display: "Montserrat", "Onest", system-ui, sans-serif;
  --body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}
html, body { min-height: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 15px; line-height: 1.5;
  background-size: 1100px auto; background-repeat: repeat; /* узор — brand.js */
  display: grid; place-items: center; min-height: 100vh; padding: 16px; box-sizing: border-box; }
.box { width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: 10px; }
.logo-text { font-family: var(--display); font-weight: 900; font-size: 22px; letter-spacing: .04em; color: #FFFFFF; line-height: 50px; }
.logo { height: 50px; width: auto; display: block; align-self: flex-start; }
h1 { font-family: var(--display); font-weight: 800; font-size: 30px; margin: 0; line-height: 1.15; }
.muted { color: var(--muted); margin: 0 0 6px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
label { font-size: 13px; font-weight: 600; color: var(--muted); }
input { font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; width: 100%; box-sizing: border-box; }
.btn { font: inherit; font-weight: 700; font-family: var(--display); padding: 10px 14px; border-radius: 10px; border: 1px solid var(--brand); background: var(--brand); color: var(--brand-ink); cursor: pointer; }
.btn:disabled { opacity: .6; cursor: wait; }
input:focus-visible, .btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.err { color: var(--bad); min-height: 1.5em; margin: 0; font-size: 14px; }
