/* ClonoWITCH login — the stage colours of css/app.css, one card. */

:root {
  --stage: #14171c;
  --stage-line: #2b313b;
  --stage-text: #c9d1dc;
  --ink: #121826;
  --ink-2: #4a5466;
  --ink-3: #7a8494;
  --line: #d5dae2;
  --navy: #102c6a;
  --navy-2: #1b3f8f;
  --reticle: #3e9bd8;
  --danger: #b3261e;
  --sans: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic",
    "Noto Sans KR", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  font: 14px/1.5 var(--sans);
  color: var(--ink);
  background: var(--stage);
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
:focus-visible { outline: 2px solid var(--reticle); outline-offset: 2px; }

.card {
  width: 100%;
  max-width: 360px;
  padding: 28px 24px 20px;
  background: #fff;
  border: 1px solid var(--stage-line);
  border-radius: 8px;
}
.brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.brand img { border-radius: 4px; }
.wordmark { font-size: 19px; letter-spacing: 0.02em; }
.wordmark b { font-weight: 800; letter-spacing: 0.08em; }
.lead { margin: 0 0 18px; color: var(--ink-2); }

form { display: grid; gap: 8px; }
label { font-weight: 600; font-size: 13px; }
input {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
button {
  margin-top: 4px;
  padding: 9px 12px;
  border: 1px solid var(--navy);
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
button:hover { background: var(--navy-2); }
button:disabled { opacity: 0.6; cursor: progress; }
.message { min-height: 1.5em; margin: 0; color: var(--danger); font-size: 13px; }
.note { margin: 12px 0 0; color: var(--ink-3); font-size: 12px; }
