/* 종목찾기 로그인 화면 — 공개 첫 화면(kdash/public/style.css)과 같은 색 */
:root { --primary:#2962FF; --bg:#FFFFFF; --bg2:#F3F5F8; --text:#131722; --muted:#6B7280;
        --border:#E0E3EB; --err:#E03131; color-scheme: light; }
@media (prefers-color-scheme: dark) {
  :root { --bg:#131722; --bg2:#1E222D; --text:#D1D4DC; --muted:#8A8F9C; --border:#2A2E39;
          --err:#F23645; color-scheme: dark; }
}
* { box-sizing: border-box; }
body { margin:0; min-height:100vh; display:flex; align-items:flex-start; justify-content:center;
       background:var(--bg); color:var(--text); line-height:1.55;
       font-family:'IBM Plex Sans KR',system-ui,-apple-system,'Malgun Gothic',sans-serif; font-size:15px; }
.box { width:100%; max-width:420px; margin:64px 16px; padding:28px 28px 20px;
       border:1px solid var(--border); border-radius:10px; }
.brand { display:inline-flex; align-items:center; gap:6px; font-weight:700; color:var(--text);
         text-decoration:none; margin-bottom:18px; }
.brand svg { width:20px; height:20px; fill:var(--primary); }
h1 { font-size:22px; margin:0 0 6px; }
.sub { color:var(--muted); font-size:13.5px; margin:0 0 18px; }
.sub b { color:var(--text); font-weight:600; }
.err { color:var(--err); font-size:13.5px; margin:0 0 12px; }
label { display:block; font-size:13px; color:var(--muted); margin-bottom:6px; }
input[type=email], input[inputmode=numeric] {
  width:100%; height:44px; padding:0 12px; border:1px solid var(--border); border-radius:6px;
  background:var(--bg2); color:var(--text); font:inherit; font-size:16px; }
input[inputmode=numeric] { letter-spacing:6px; font-size:20px; text-align:center; }
input:focus { outline:none; border-color:var(--primary); background:var(--bg); }
button { width:100%; height:44px; margin-top:14px; border:0; border-radius:6px;
         background:var(--primary); color:#fff; font:inherit; font-weight:600; cursor:pointer; }
button:hover { filter:brightness(1.08); }
.again { margin-top:14px; font-size:13px; color:var(--muted); text-align:center; }
.again button.link { width:auto; height:auto; margin:0; padding:0; background:none; color:var(--primary);
                     font-weight:500; font-size:13px; }
a { color:var(--primary); text-decoration:none; }
.foot { margin:18px 0 0; text-align:center; font-size:13px; }

/* 로그인·회원가입 탭 */
.tabs { display:flex; gap:4px; margin:0 0 18px; border-bottom:1px solid var(--border); }
.tabs a { padding:8px 14px; color:var(--muted); font-size:14px; border-bottom:2px solid transparent; margin-bottom:-1px; }
.tabs a.on { color:var(--text); font-weight:600; border-bottom-color:var(--primary); }
.alt { margin:16px 0 0; text-align:center; font-size:13.5px; color:var(--muted); }
.hint { margin:6px 0 14px; font-size:12.5px; color:var(--muted); }
input[name=name] { width:100%; height:44px; padding:0 12px; border:1px solid var(--border); border-radius:6px;
                   background:var(--bg2); color:var(--text); font:inherit; font-size:16px; }
form label[for=email] { margin-top:4px; }
.box { max-width:480px; }
button:disabled { opacity:.45; cursor:not-allowed; filter:none; }
.btnlink { display:block; text-align:center; margin-top:16px; padding:11px; border-radius:6px;
           background:var(--primary); color:#fff; font-weight:600; }

/* 약관 동의 */
.consents { margin:18px 0 4px; border:1px solid var(--border); border-radius:8px; padding:6px 12px; }
.chk { display:flex; align-items:flex-start; gap:8px; font-size:14px; color:var(--text); margin:0; cursor:pointer; }
.chk input { width:18px; height:18px; margin-top:2px; flex-shrink:0; accent-color:var(--primary); }
.chk.all { font-weight:600; padding:10px 0; border-bottom:1px solid var(--border); }
.consent { padding:10px 0 4px; }
.consent + .consent { border-top:1px dashed var(--border); }
.req { color:var(--primary); font-weight:600; }
.opt { color:var(--muted); }
details { margin:4px 0 4px 26px; font-size:12.5px; color:var(--muted); }
details summary { cursor:pointer; }
.doc { max-height:220px; overflow-y:auto; margin:6px 0; padding:10px 12px; border:1px solid var(--border);
       border-radius:6px; background:var(--bg2); color:var(--text); font-size:12.5px; line-height:1.6; }
.doc h2 { font-size:14px; margin:0 0 6px; } .doc h3 { font-size:13px; margin:10px 0 4px; }
.doc ol, .doc ul { padding-left:18px; margin:4px 0; } .doc p { margin:4px 0; }
.doc table { border-collapse:collapse; width:100%; } .doc th, .doc td { border:1px solid var(--border); padding:4px 6px; text-align:left; vertical-align:top; }
.doc .meta { color:var(--muted); }
