/* 로그인 화면(원래 main_00_login): 왼쪽 버전 · 프로그램 이름, 오른쪽 로그인 상자(칸 7개 · 단추 3개 · 저장 체크 2개).
   자동 입력 방지 상자는 seoul_web과 같은 동작, 밝은 색. */
body { background: var(--surface); }
.lg { display: grid; grid-template-columns: minmax(420px, 1.25fr) minmax(420px, 1fr); min-height: 100vh; }
.lg-show { position: relative; background: radial-gradient(900px 520px at 85% 110%, rgba(0, 173, 181, .20), transparent 60%),
  linear-gradient(160deg, #2c323a 0%, #1f242a 100%); color: #e8ecef; padding: 48px 56px; display: flex; flex-direction: column;
  justify-content: center; overflow: hidden; }
.lg-show::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: linear-gradient(30deg, rgba(255,255,255,.04) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.04) 87.5%),
    linear-gradient(150deg, rgba(255,255,255,.04) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.04) 87.5%),
    linear-gradient(90deg, rgba(255,255,255,.025) 2px, transparent 2px);
  background-size: 64px 112px; }
.lg-copy { position: relative; z-index: 1; }
.lg-ver { color: #dfe5ea; font-weight: 600; font-size: 18px; letter-spacing: .01em; }
.lg-copy h1 { font-size: 46px; line-height: 1.18; font-weight: 760; letter-spacing: -.025em; color: #fff; margin-top: 8px; }
.lg-side { display: flex; align-items: center; justify-content: center; padding: 32px; background: var(--surface-2); }
.lg-box { width: min(400px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-pop);
  padding: 24px 22px 18px; display: flex; flex-direction: column; gap: 8px; }
.lg-box h2 { font-size: 20px; font-weight: 750; letter-spacing: -.01em; margin: 0 0 6px 2px; }
.lg-alert { white-space: pre-line; }
.lg-inp { height: 38px; font-size: 14px; padding: 0 11px; border-radius: 8px; background: #f3f4f5; border-color: transparent; }
.lg-inp:hover { background: #ebedef; border-color: transparent; }
.lg-inp:focus { background: var(--surface); border-color: var(--teal); }
.lg-inp:disabled { background: #eef0f2; color: var(--muted); }
.lg-state { min-height: 18px; font-size: 12px; color: var(--teal-deep); margin: 0 2px; }
.lg-state:empty { min-height: 0; }
.pw-wrap { position: relative; }
.pw-wrap .lg-inp { padding-right: 42px; }
.pw-eye { position: absolute; right: 3px; top: 3px; width: 32px; height: 32px; border: 0; background: none; border-radius: 7px; color: var(--muted); cursor: pointer;
  display: grid; place-items: center; }
.pw-eye:hover { background: var(--surface-3); color: var(--text); }
.pw-eye .off { display: none; } .pw-eye[aria-pressed="true"] .on { display: none; } .pw-eye[aria-pressed="true"] .off { display: block; }
.lg-acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 6px; }
.lg-acts .btn { height: 38px; border-radius: 8px; }
.lg-acts .btn:disabled { opacity: .38; }
.lg-checks { display: flex; align-items: center; gap: 22px; margin: 4px 2px 0; }
.lg-checks .check { font-size: 13px; color: var(--text-2); }
.lg-relic { margin-left: auto; color: var(--muted); }
.lg-prog { width: min(400px, 100%); }
.lg-prog .msgbox-ico .spin { width: 20px; height: 20px; }
.lg-prog-bar { margin-top: 16px; }
.lg-prog-bar > i { transition: width .09s linear; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.captcha { position: relative; display: flex; align-items: stretch; width: 100%; height: 58px; margin-top: 4px; padding: 0; border-radius: 10px; border: 1px solid var(--line-strong);
  background: var(--surface-2); cursor: pointer; text-align: left; transition: border-color .15s, background .15s; }
.captcha:hover { border-color: #aab3bb; }
.cap-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 13px; padding: 0 14px; }
.cap-box { position: relative; width: 24px; height: 24px; flex: none; display: grid; place-items: center; border-radius: 7px; background: #fff; border: 1.5px solid #9aa4ad;
  transition: background .15s, border-color .15s; }
.captcha:hover .cap-box { border-color: var(--teal); }
.cap-box svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.6);
  transition: opacity .15s, transform .2s; }
.cap-box .spin { position: absolute; inset: -1.5px; width: auto; height: auto; opacity: 0; animation-play-state: paused; }
.cap-text { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.cap-label { font-size: 14px; font-weight: 600; color: var(--text); }
.cap-sub { max-height: 0; overflow: hidden; opacity: 0; font-size: 12px; color: var(--muted); transition: max-height .2s, opacity .2s; white-space: nowrap; }
.cap-meta { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; flex: none; width: 92px; border-left: 1px solid var(--line);
  font-size: 11px; color: var(--muted); }
.cap-meta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.captcha[data-state="checking"] .cap-sub, .captcha[data-state="verified"] .cap-sub, .captcha[data-state="expired"] .cap-sub { max-height: 18px; opacity: 1; margin-top: 1px; }
.captcha[data-state="checking"] { cursor: progress; }
.captcha[data-state="checking"] .cap-box { border-color: transparent; background: transparent; }
.captcha[data-state="checking"] .cap-box .spin { opacity: 1; animation-play-state: running; }
.captcha[data-state="verified"] { cursor: default; border-color: var(--teal-line); background: var(--teal-soft); }
.captcha[data-state="verified"] .cap-box { background: var(--teal-strong); border-color: var(--teal-strong); }
.captcha[data-state="verified"] .cap-box svg { opacity: 1; transform: scale(1); }
.captcha[data-state="verified"] .cap-sub, .captcha[data-state="verified"] .cap-meta { color: var(--teal-deep); }
.captcha[data-state="error"] { border-color: #e7a3a3; background: #fffafa; }
.captcha[data-state="expired"] { border-color: #e8c27e; }
.captcha[data-state="expired"] .cap-sub { color: var(--warn); }
.form-error { display: none; align-items: center; gap: 6px; font-size: 12.5px; color: var(--danger); margin-top: -6px; }
.captcha[data-state="error"] + .form-error { display: flex; }

@media (max-width: 900px) {
  .lg { grid-template-columns: 1fr; }
  .lg-show { padding: 28px 24px; }
  .lg-copy h1 { font-size: 30px; }
}
