* { box-sizing: border-box; }
:root { color-scheme: light; --bg: #f7f8f5; --ink: #1e302b; --muted: #63736b; --line: #d8e1da; --input: #fff; --green: #236b50; --button-ink: #fff; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Noto Sans KR", "Malgun Gothic", sans-serif; }
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
.login-layout { display: grid; grid-template-columns: 58% 42%; min-height: 100vh; min-height: 100svh; padding: 18px; }
.login-hero { position: relative; overflow: hidden; min-height: 700px; border-radius: 22px; background-color: #294c39; color: #fff; isolation: isolate; }
.login-hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgb(11 35 24 / 48%) 0%, rgb(13 39 26 / 6%) 49%, rgb(9 32 22 / 79%) 100%); }
.hero-top, .hero-bottom { position: absolute; left: 8%; right: 8%; }
.hero-top { top: 7.5%; }
.hero-kicker { display: flex; gap: 10px; align-items: center; margin: 0; font-size: 11px; font-weight: 700; letter-spacing: 2px; color: #e0efdf; }
.hero-kicker::before { content: ""; width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: #bcdd9d; box-shadow: 0 0 0 5px #d4f3c115; }
.hero-top h1 { font-size: clamp(30px, 3.05vw, 51px); font-weight: 700; line-height: 1.4; letter-spacing: -2px; margin: 27px 0 16px; word-break: keep-all; }
.hero-description { font-size: 14px; line-height: 1.9; color: #e1ebdf; margin: 0; word-break: keep-all; }
.hero-bottom { bottom: 6.5%; }
.hero-rule { width: 36px; height: 2px; background: #c3dda9; margin-bottom: 21px; }
.hero-bottom h2 { font-size: 19px; font-weight: 700; letter-spacing: -.5px; margin: 0 0 12px; }
.hero-bottom p { font-size: 12px; line-height: 1.9; color: #d2dfd4; margin: 0; }
.hero-meta { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #ffffff35; margin-top: 32px; padding-top: 20px; font-size: 10px; letter-spacing: 1.8px; color: #d0e0d2; }
.hero-north { display: flex; align-items: center; gap: 9px; }
.hero-north svg { height: 19px; width: 19px; }
.login-auth { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 100px 44px 80px; min-width: 0; }
.login-card { width: 100%; max-width: 356px; }
.login-brand { height: 48px; width: 218px; overflow: hidden; position: relative; margin-bottom: 52px; }
.login-brand img { position: absolute; width: 330px; height: auto; max-width: none; left: -56px; top: -12px; }
.login-eyebrow { font-size: 10px; letter-spacing: 2.5px; color: var(--green); font-weight: 700; margin: 0 0 12px; }
.login-card h2 { font-size: 29px; font-weight: 700; letter-spacing: -1.1px; margin: 0 0 14px; }
.login-description { color: var(--muted); font-size: 12px; line-height: 1.85; margin: 0 0 30px; word-break: keep-all; }
.login-field { margin-bottom: 21px; }
.login-field label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 10px; }
.login-field input { width: 100%; height: 51px; border: 1px solid var(--line); background: var(--input); border-radius: 8px; color: var(--ink); padding: 0 15px; font-size: 13px; outline: none; transition: border-color .15s, box-shadow .15s; }
.login-field input::placeholder { color: var(--muted); }
.login-field input:focus { border-color: var(--green); box-shadow: 0 0 0 3px #6f9f7c30; }
.password-field { position: relative; }
.password-field input { padding-right: 52px; }
.password-reveal { position: absolute; right: 4px; top: 4px; display: grid; place-items: center; width: 43px; height: 43px; background: transparent; color: var(--muted); border: 0; border-radius: 5px; }
.password-reveal svg { width: 18px; height: 18px; }
.eye-slash { display: none; }
.password-reveal[aria-pressed="true"] .eye-slash { display: block; }
.login-remember { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; margin: 0 0 22px; min-height: 24px; width: fit-content; cursor: pointer; }
.login-remember input { accent-color: var(--green); width: 16px; height: 16px; margin: 0; }
.login-submit { display: flex; align-items: center; justify-content: center; position: relative; width: 100%; height: 51px; border: 0; border-radius: 8px; background: var(--green); color: var(--button-ink); font-size: 14px; font-weight: 700; }
.login-submit:hover { filter: brightness(1.08); }
.login-submit svg { position: absolute; right: 17px; width: 17px; height: 17px; }
.login-footnote { display: flex; gap: 7px; justify-content: center; align-items: center; margin: 21px 0 0; color: var(--muted); font-size: 11px; }
.login-footnote svg { width: 13px; height: 13px; flex-shrink: 0; }
.login-error { padding: 12px 14px; border: 1px solid #e4b9b1; border-radius: 8px; background: #fff1ed; color: #90392d; font-size: 12px; line-height: 1.7; margin: 0 0 22px; word-break: keep-all; }
.login-footer { position: absolute; bottom: 22px; left: 20px; right: 20px; text-align: center; font-size: 10px; color: var(--muted); }
@media (min-width: 721px) { .login-hero { background-image: url('/img/login/winter-fields-af2cd07aabcc380a1008bc301e1dc823.webp'); background-size: cover; background-position: 48% center; } }
@media (min-width: 1700px) { .login-card { max-width: 380px; } .hero-top { top: 10%; } .login-brand { margin-bottom: 64px; } }
@media (max-width: 1050px) { .login-layout { grid-template-columns: 51% 49%; padding: 12px; } .login-auth { padding: 100px 30px 70px; } .hero-top h1 { font-size: 34px; letter-spacing: -1px; } .hero-description { font-size: 12px; } .hero-meta { letter-spacing: 1px; font-size: 8px; } }
@media (min-width: 721px) and (max-height: 800px) { .login-auth { padding-top: 70px; padding-bottom: 60px; } .login-brand { margin-bottom: 32px; } }
@media (max-width: 720px) { .login-layout { display: block; padding: 0; } .login-hero { display: none; } .login-auth { min-height: 100vh; min-height: 100svh; padding: 100px 30px 76px; } .login-card { max-width: 380px; } .login-brand { margin-bottom: 40px; } .login-field input { font-size: 16px; } }
@media (max-width: 360px) { .login-auth { padding-left: 22px; padding-right: 22px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
