:root {
    color-scheme: light;
    font-family: 'Noto Sans KR', 'Noto Sans', Arial, sans-serif;
    color: #111318;
    background: #e4e7eb;
    font-synthesis: none;
    --auth-navy: #001c77;
    --auth-muted: #717785;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
.wafer-auth-shell {
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: 44px 32px;
}
.wafer-auth-card {
    position: relative;
    display: grid;
    grid-template-columns: 48.3% 51.7%;
    width: min(1120px, 100%);
    min-height: 780px;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 22px 48px rgba(22, 37, 74, .16);
}
.wafer-auth-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 48px;
    color: #fff;
    background: #06123c;
}
.wafer-auth-art { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.wafer-auth-art img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.wafer-auth-brand img { display: block; width: 180px; height: auto; filter: brightness(0) invert(1); }
.wafer-auth-brand p { margin: 10px 0 0; font-size: 15px; letter-spacing: .015em; }
.wafer-auth-product { margin-top: 80px; }
.wafer-auth-product p { margin: 0; }
.wafer-auth-product-name { font-size: 38px; font-weight: 500; line-height: 1.25; letter-spacing: .22em; }
.wafer-auth-product-type { margin-top: 5px !important; font-size: 19px; letter-spacing: .16em; }
.wafer-auth-purpose { max-width: 280px; margin: auto 0 0; font-size: 16px; font-weight: 500; line-height: 1.8; text-wrap: pretty; }
.wafer-auth-purpose span { display: block; }
.wafer-auth-panel { display: flex; flex-direction: column; min-width: 0; padding: 42px 60px 38px; }
.wafer-auth-languages { position: absolute; top: 25px; right: 30px; display: flex; align-items: center; gap: 12px; }
.wafer-auth-languages a { min-width: 28px; min-height: 40px; padding: 10px 3px; text-align: center; color: #717785; font-size: 14px; line-height: 20px; text-decoration: none; }
.wafer-auth-languages a[aria-current] { color: var(--auth-navy); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.wafer-auth-languages a:hover { color: var(--auth-navy); }
.wafer-auth-form-area { width: 100%; max-width: 350px; margin: 94px auto 0; }
.wafer-auth-form-area h1 { margin: 0 0 50px; text-align: center; font-size: 34px; font-weight: 600; line-height: 1.3; letter-spacing: -.04em; }
.wafer-auth-form { display: grid; gap: 26px; }
.wafer-auth-field { position: relative; min-width: 0; }
.wafer-auth-field label { position: absolute; top: 16px; left: 0; display: block; color: var(--auth-muted); font-size: 16px; line-height: 22px; cursor: text; pointer-events: none; transition: top .15s, font-size .15s, color .15s; }
.wafer-auth-field input { display: block; width: 100%; height: 52px; padding: 20px 0 6px; border: 0; border-bottom: 1px solid #a5a9b3; border-radius: 0; color: #18202f; background: transparent; outline: 0; font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.wafer-auth-field--password input { padding-right: 42px; }
.wafer-auth-field:focus-within label, .wafer-auth-field:has(input:not(:placeholder-shown)) label { top: -6px; color: var(--auth-navy); font-size: 12px; }
.wafer-auth-field input:focus { border-bottom-color: var(--auth-navy); box-shadow: 0 1px 0 var(--auth-navy); }
.wafer-auth-field input:-webkit-autofill { -webkit-box-shadow: 0 0 0 100px #fff inset; -webkit-text-fill-color: #18202f; }
.wafer-auth-password-toggle { position: absolute; right: -7px; bottom: 1px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 5px; color: #515b71; background: transparent; }
.wafer-auth-password-toggle:hover { color: var(--auth-navy); background: #f4f6fa; }
.wafer-auth-password-toggle svg { width: 19px; height: 19px; stroke-width: 1.7; }
.wafer-auth-options { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 12px 20px; }
.wafer-auth-options label { display: flex; align-items: center; min-height: 28px; gap: 9px; color: #656e7e; font-size: 14px; cursor: pointer; }
.wafer-auth-options input { width: 17px; height: 17px; margin: 0; accent-color: var(--auth-navy); flex-shrink: 0; }
.wafer-auth-submit { width: 100%; min-height: 56px; padding: 13px 20px; border: 0; border-radius: 12px; background: var(--auth-navy); color: #fff; font-size: 18px; font-weight: 500; transition: background .15s, transform .15s; }
.wafer-auth-submit:hover { background: #082b91; }
.wafer-auth-submit:active { transform: translateY(1px); }
.wafer-auth-submit:disabled { cursor: wait; opacity: .7; }
.wafer-auth-footer { margin: auto 0 0; padding-top: 48px; text-align: center; color: #626b7a; font-size: 14px; line-height: 1.9; text-wrap: pretty; }
.wafer-auth-footer a { display: inline-block; padding: 7px 2px; color: var(--auth-navy); font-weight: 600; text-decoration: none; }
.wafer-auth-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.wafer-auth-alert { margin: -22px 0 24px; padding: 12px 14px; border-radius: 6px; color: #a42a2a; background: #fff2f2; font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }
.wafer-auth-alert + .wafer-auth-alert { margin-top: 0; }
.wafer-auth-alert--success { color: #146546; background: #edf8f2; }
.wafer-auth-page--register .wafer-auth-form-area { margin-top: 62px; }
.wafer-auth-page--register h1 { margin-bottom: 34px; }
.wafer-auth-page--register .wafer-auth-form { gap: 20px; }
.wafer-auth-password-hint { margin: -15px 0 0; color: #808795; font-size: 12px; line-height: 18px; }
.wafer-auth-approval { margin: 8px 0 0; color: #808795; text-align: center; font-size: 12px; line-height: 1.7; text-wrap: pretty; }
:focus-visible { outline: 2px solid #00a9a7; outline-offset: 4px; }
@media (min-width: 701px) and (max-width: 1000px) {
    .wafer-auth-shell { padding: 24px; }
    .wafer-auth-card { min-height: 730px; }
    .wafer-auth-hero { padding: 32px; }
    .wafer-auth-panel { padding: 38px 35px 28px; }
    .wafer-auth-brand img { width: 145px; }
    .wafer-auth-purpose { font-size: 14px; }
}
@media (max-width: 700px) {
    :root { background: #fff; }
    .wafer-auth-shell { display: block; padding: 0; }
    .wafer-auth-card { display: flex; flex-direction: column; width: 100%; min-height: 100vh; min-height: 100svh; border-radius: 0; box-shadow: none; overflow: visible; }
    .wafer-auth-hero { flex: 0 0 auto; min-height: 310px; padding: max(22px, env(safe-area-inset-top)) 26px 24px; }
    .wafer-auth-art img { object-position: right center; }
    .wafer-auth-brand img { width: 120px; }
    .wafer-auth-brand p { margin-top: 5px; font-size: 12px; }
    .wafer-auth-product { margin-top: 32px; }
    .wafer-auth-product-name { font-size: 26px; letter-spacing: .2em; }
    .wafer-auth-product-type { margin-top: 3px !important; font-size: 15px; letter-spacing: .16em; }
    .wafer-auth-purpose { max-width: 235px; margin: auto 0 0; font-size: 14px; line-height: 1.7; }
    .wafer-auth-panel { position: static; flex: 1; padding: 30px 28px max(22px, env(safe-area-inset-bottom)); }
    .wafer-auth-languages { top: max(10px, env(safe-area-inset-top)); right: 16px; gap: 5px; }
    .wafer-auth-languages a { color: #c8cfdf; }
    .wafer-auth-languages a[aria-current], .wafer-auth-languages a:hover { color: #fff; }
    .wafer-auth-form-area, .wafer-auth-page--register .wafer-auth-form-area { max-width: 420px; margin: 0 auto; }
    .wafer-auth-form-area h1 { margin-bottom: 34px; font-size: 30px; }
    .wafer-auth-form { gap: 26px; }
    .wafer-auth-field label { font-size: 16px; }
    .wafer-auth-field input { height: 52px; }
    .wafer-auth-options label { min-height: 32px; }
    .wafer-auth-submit { min-height: 56px; }
    .wafer-auth-footer { padding-top: 28px; font-size: 13px; }
    .wafer-auth-page--register .wafer-auth-hero { min-height: 292px; padding-top: max(19px, env(safe-area-inset-top)); padding-bottom: 22px; }
    .wafer-auth-page--register .wafer-auth-product { margin-top: 27px; }
    .wafer-auth-page--register .wafer-auth-panel { padding-top: 24px; }
    .wafer-auth-page--register h1 { margin-bottom: 24px; }
    .wafer-auth-page--register .wafer-auth-form { gap: 18px; }
    .wafer-auth-page--register .wafer-auth-approval { margin-top: 0; }
    .wafer-auth-page--register .wafer-auth-footer { padding-top: 5px; }
    .wafer-auth-alert { margin-top: -12px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
