/* 사내 통합 로그인 — 관리 콘솔(admin/public/style.css)의 색·로그인 카드와 맞춘 최소 스타일 */
:root {
  --bg:#f4f6f8; --card:#fff; --line:#e2e6ea; --tx:#1a1f24; --mut:#6b7480;
  --ac:#2563eb; --ac-d:#1d4ed8; --ok:#15803d; --ok-bg:#dcfce7;
  --bad:#b91c1c; --bad-bg:#fee2e2; --warn:#a16207; --warn-bg:#fef3c7;
  --info:#0369a1; --info-bg:#e0f2fe;
  --radius:10px; --mono:'Consolas','D2Coding','Menlo',monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg:#12161b; --card:#1a2027; --line:#2a323b; --tx:#e6eaee; --mut:#8b95a1;
    --ac:#60a5fa; --ac-d:#3b82f6; --ok:#4ade80; --ok-bg:#14331f;
    --bad:#f87171; --bad-bg:#3a1717; --warn:#fbbf24; --warn-bg:#3a2e10;
    --info:#38bdf8; --info-bg:#0c2c3d;
  }
}
* { box-sizing:border-box; }
body {
  margin:0; background:var(--bg); color:var(--tx); line-height:1.6;
  font-family:system-ui,-apple-system,'Malgun Gothic','Apple SD Gothic Neo',sans-serif; font-size:14px;
}
body.centered { display:flex; align-items:center; justify-content:center; min-height:100vh; padding:20px; }
a { color:var(--ac); text-decoration:none; }
a:hover { text-decoration:underline; }
h3 { font-size:.9rem; margin:18px 0 8px; color:var(--mut); }
p { margin:0 0 12px; }
.muted { color:var(--mut); }
.small { font-size:.8em; }

.auth-card { background:var(--card); border:1px solid var(--line); border-radius:14px;
             padding:32px; width:min(420px,100%); }
.auth-head { text-align:center; margin-bottom:22px; }
.auth-head .logo { font-size:2rem; color:var(--ac); display:block; }
.auth-head h1 { font-size:1.2rem; margin:8px 0 4px; }
.auth-head p { color:var(--mut); font-size:.85rem; margin:0; }
.auth-foot { text-align:center; margin-top:16px; font-size:.85rem; }
.auth-card .note { margin-top:20px; padding-top:16px; border-top:1px solid var(--line);
                   font-size:.8rem; color:var(--mut); line-height:1.7; }

label { display:block; margin:0 0 14px; font-size:.85rem; color:var(--mut); }
label small { font-weight:400; }
input { display:block; width:100%; margin-top:5px; padding:10px 12px; font:inherit; font-size:.95rem;
        border:1px solid var(--line); border-radius:8px; background:var(--card); color:var(--tx); }
input:focus { outline:2px solid var(--ac); outline-offset:-1px; border-color:var(--ac); }

.btn { display:inline-block; padding:9px 16px; border-radius:8px; border:1px solid var(--line);
       background:var(--card); color:var(--tx); font:inherit; font-size:.9rem; cursor:pointer;
       text-decoration:none; white-space:nowrap; text-align:center; }
.btn:hover { border-color:var(--ac); color:var(--ac); text-decoration:none; }
.btn.primary { background:var(--ac); border-color:var(--ac); color:#fff; }
.btn.primary:hover { background:var(--ac-d); color:#fff; }
.btn.wide { width:100%; margin-top:4px; }
.btns { display:flex; gap:8px; justify-content:center; margin-top:18px; flex-wrap:wrap; }

.flash { padding:11px 14px; border-radius:var(--radius); margin-bottom:16px; font-size:.87rem; }
.flash.ok    { background:var(--ok-bg);   color:var(--ok); }
.flash.error { background:var(--bad-bg);  color:var(--bad); }
.flash.warn  { background:var(--warn-bg); color:var(--warn); }
.flash.info  { background:var(--info-bg); color:var(--info); }

dl.kv { display:grid; grid-template-columns:auto 1fr; gap:6px 16px; margin:0 0 16px; font-size:.9rem; }
dl.kv dt { color:var(--mut); }
dl.kv dd { margin:0; }

ul.plist { list-style:none; margin:0; padding:0; }
ul.plist li { padding:8px 0; border-bottom:1px solid var(--line); display:flex; flex-direction:column; }
ul.plist li:last-child { border-bottom:0; }
ul.plist li span { font-size:.78rem; font-family:var(--mono); }
