:root {
    --auth-navy: #142241;
    --auth-blue: #315ee9;
    --auth-border: #e4e9f1;
    --auth-muted: #8290a5;
    font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", sans-serif;
    color: var(--auth-navy);
    background: #f8faff;
    -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 12px; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #86a8ff; outline-offset: 2px; }
.auth-skip { position: absolute; top: -80px; left: 16px; padding: 10px 14px; background: white; z-index: 50; }
.auth-skip:focus { top: 10px; }
.auth-shell { display: grid; grid-template-columns: minmax(450px, .95fr) minmax(500px, 1.05fr); max-width: 1720px; min-height: 100vh; margin: 0 auto; background: white; }
/* showcase */
.auth-showcase { position: relative; isolation: isolate; overflow: hidden; min-height: 760px; padding: 42px clamp(38px, 5.5vw, 90px) 30px; background: radial-gradient(circle at 90% 13%, #426ff1 0, transparent 35%), linear-gradient(145deg, #1f4ec8 0%, #244cbb 46%, #152c7b 100%); color: white; display: flex; flex-direction: column; }
.auth-showcase::before { content: ""; position: absolute; left: -170px; bottom: -200px; width: 470px; height: 470px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 90px rgba(255,255,255,.025),0 0 0 190px rgba(255,255,255,.022); z-index: -1; }
.auth-showcase::after { content: ""; position: absolute; top: 130px; right: -105px; height: 340px; width: 340px; border-radius: 50%; background: rgba(100,147,255,.19); filter: blur(22px); z-index: -1; }
.auth-brand { display: inline-flex; align-items: center; gap: 12px; width: fit-content; }
.auth-brand-symbol { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 10px; background: white; color: #2456d7; font-size: 23px; font-weight: 900; font-style: italic; letter-spacing: -3px; padding-right: 3px; }
.auth-brand-text { display: flex; flex-direction: column; gap: 1px; }
.auth-brand-text strong { font-size: 19px; font-weight: 800; letter-spacing: -.7px; line-height: 1.1; }
.auth-brand-text small { color: #cbd8ff; font-size: 8px; font-weight: 750; letter-spacing: 1.5px; }
.showcase-main { width: 100%; margin: auto 0; padding-top: 56px; }
.showcase-eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 9px 13px; border: 1px solid rgba(255,255,255,.2); border-radius: 50px; background: rgba(255,255,255,.09); color: #e7edff; font-size: 10px; letter-spacing: 1.8px; font-weight: 800; }
.showcase-dot { display: block; width: 6px; height: 6px; border-radius: 50%; background: #a6fac7; box-shadow: 0 0 0 3px rgba(166,250,199,.13); }
.showcase-main h1 { margin: 25px 0 18px; font-size: clamp(31px,3.4vw,47px); font-weight: 850; line-height: 1.38; letter-spacing: -2.2px; }
.showcase-main h1 em { color: #bcd1ff; font-style: normal; }
.showcase-main > p { color: #d3e0ff; line-height: 1.95; font-size: 14px; margin: 0; }
.showcase-illustration { position: relative; width: min(440px,100%); height: 300px; margin: 35px auto 0; display: flex; align-items: center; justify-content: center; }
.showcase-glow { width: 310px; height: 245px; border-radius: 50%; background: #5281ff; filter: blur(58px); opacity: .34; position: absolute; }
.mockup-panel { position: relative; transform: rotate(-4deg); width: 330px; height: 238px; border: 1px solid #e7edff; border-radius: 15px; padding: 13px; background: #fff; color: #25334b; box-shadow: 0 24px 60px rgba(11,28,85,.37); }
.mockup-heading { display: flex; align-items: center; gap: 8px; height: 22px; }
.mockup-mark { display: grid; place-items:center; width: 24px;height:24px;background:#315ee9; color:#fff;border-radius:7px;font-size:13px;font-style:italic;font-weight:900; }
.mockup-lines { display: flex; flex-direction: column; gap: 4px; }
.mockup-lines i { width: 62px; height: 5px; background: #dbe4f4; border-radius: 5px; }
.mockup-lines i:nth-child(2) { width: 37px; background: #eef1f7; }
.mockup-options { margin-left: auto; color: #afb9cb; letter-spacing: 2px; }
.mockup-content { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin-top: 17px; }
.mockup-tile { height: 135px; border-radius: 9px; display: grid; place-items: center; }
.mockup-tile--one { background: #f8eedd; }
.mockup-tile--two { background: #e9eefa; }
.mockup-tile--three { background: #faeae4; }
.tile-object { display: block; position: relative; }
.tile-object--box { width: 56px;height:50px; background:#d5a875; border-radius:2px 2px 5px 5px; transform:skewY(-6deg); box-shadow: 10px 8px 0 #bf8f59; }
.tile-object--box::after { content:""; position:absolute;left:0;top:11px;width:56px;height:5px;background:#efc9a1; }
.tile-object--lamp { width:48px;height:49px; border-radius:26px 26px 9px 9px; background:#acc1ed; box-shadow: 0 7px 0 #819ec9; }
.tile-object--lamp::after { content:"";position:absolute;width:7px;height:22px;background:#6b88bd;left:21px;bottom:-27px;box-shadow:0 25px 0 7px #6b88bd; }
.tile-object--mug { width:43px;height:45px;border-radius:5px 5px 14px 14px;background:#d8a69c;box-shadow: inset 0 5px 0 #f8d2c9; }
.tile-object--mug::after { content:"";position:absolute;right:-18px;top:8px;width:18px;height:24px;border:7px solid #d8a69c;border-radius:50%; }
.mockup-footer { display:flex;gap:7px;margin-top:15px; }
.mockup-footer span {height:6px;background:#e9eef6;border-radius:4px;width:50px;}
.mockup-footer span:nth-child(2){width:74px}
.mockup-footer span:nth-child(3){width:41px}
.floating-chip { position:absolute; display:flex;align-items:center;gap:8px;background:#fff;color:#273a56; font-weight:800;font-size:11px;padding:12px 15px;border-radius:10px;box-shadow:0 12px 25px rgba(9,27,85,.2); }
.floating-chip span {display:grid;place-items:center;background:#e6f8ef;color:#16a065;border-radius:6px;width:21px;height:21px;font-size:14px}
.chip-left {left:0;bottom:33px;transform:rotate(2deg)}
.chip-right {right:-6px;top:24px;transform:rotate(4deg)}
.chip-right span {background:#ecf2ff;color:#3565ed}
.showcase-bottom { display:flex;justify-content:space-between;gap:12px;color:#c6d5ff;font-size:9px;font-weight:700;letter-spacing:1px;opacity:.95; }
/* right panel */
.auth-main { min-width:0;display:flex;flex-direction:column;padding: 40px clamp(28px,4vw,66px) 28px;background:#fff; }
.auth-top-nav {display:flex;align-items:center;justify-content:space-between;gap:12px;color:#9aa5b6;font-size:11px;font-weight:700;}
.auth-top-nav a {display:inline-flex;align-items:center;gap:8px;color:#5a6b84;transition:color .2s}
.auth-top-nav a:hover{color:var(--auth-blue)}
.auth-top-nav a svg {width:16px;height:16px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7}
.auth-form-wrap { width:100%;max-width:420px;margin:auto; padding: 35px 0 27px; }
.auth-form-heading {margin-bottom:31px}
.auth-welcome-symbol{display:none}
.auth-overline {color:var(--auth-blue);font-weight:850;font-size:10px;letter-spacing:2px;margin:0 0 13px}
.auth-form-heading h2 {margin:0;font-size:31px;font-weight:850;letter-spacing:-1.25px;line-height:1.35}
.auth-description {color:#8793a5;font-size:13px;line-height:1.85;margin:14px 0 0}
.auth-form {display:flex;flex-direction:column;gap:21px}
.form-field>label,.form-label-row label {display:block;font-size:12px;font-weight:780;color:#344359;margin-bottom:10px}
.auth-input-wrap {position:relative;display:flex;align-items:center;}
.auth-input-wrap>svg{position:absolute;left:16px;width:19px;height:19px;stroke:#9caac0;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;fill:none;pointer-events:none;}
.auth-input-wrap input {width:100%;height:55px;border:1px solid #dce3ed;border-radius:11px;background:#fbfcff;padding:0 46px;color:#223149;outline:none;transition:border-color .15s,box-shadow .15s,background .15s;font-size:13px;}
.auth-input-wrap input::placeholder{color:#a5afc0}
.auth-input-wrap input:focus {border-color:var(--auth-blue);box-shadow:0 0 0 4px rgba(49,94,233,.10);background:#fff}
.password-toggle{position:absolute;right:11px;width:35px;height:35px;display:grid;place-items:center;border:0;border-radius:8px;background:transparent;color:#96a3b7;}
.password-toggle:hover{background:#eef3ff;color:#315ee9}
.password-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6}
.auth-form-options{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-2px 0 0}
.remember-label{display:inline-flex;align-items:center;gap:8px;color:#596a81;font-size:11px;cursor:pointer;}
.remember-label input{appearance:none;width:16px;height:16px;border:1px solid #ced7e6;border-radius:5px;margin:0;background:white;position:relative;cursor:pointer}
.remember-label input:checked{background:var(--auth-blue);border-color:var(--auth-blue)}
.remember-label input:checked::after{content:'✓';position:absolute;left:3px;top:-2px;color:white;font-size:12px;font-weight:800}
.muted-inline{color:#8492a5;font-size:11px}
.soon-label{color:#9ea9b9;font-size:9px;margin-left:3px}
.auth-submit{margin-top:4px;display:flex;align-items:center;justify-content:center;gap:9px;width:100%;height:56px;border:0;border-radius:11px;background:linear-gradient(105deg,#315ee9,#3f73f5);font-size:14px;color:#fff;font-weight:800;box-shadow:0 12px 22px rgba(49,94,233,.2);transition:transform .2s,box-shadow .2s}
.auth-submit:hover{transform:translateY(-1px);box-shadow:0 15px 24px rgba(49,94,233,.28)}
.auth-submit span{font-size:19px;font-weight:400}
.auth-demo-notice{margin:0;padding:12px 14px;border:1px solid #dce7ff;background:#f4f7ff;color:#3661b9;border-radius:8px;font-size:11px;line-height:1.7}
.auth-divider{position:relative;text-align:center;margin:29px 0 22px;color:#a5afbd;font-size:11px}
.auth-divider::before{content:'';height:1px;position:absolute;top:50%;left:0;right:0;background:#edf0f5}
.auth-divider span{position:relative;background:#fff;padding:0 14px}
.auth-signup{display:flex;justify-content:center;align-items:center;gap:11px;color:#728096;font-size:12px;}
.auth-signup-soon{color:#3c64d9;font-weight:800}
.auth-signup-soon small{color:#9aa8c0;font-size:10px;font-weight:500;margin-left:4px}
.auth-help{display:flex;align-items:start;gap:11px;margin-top:33px;padding:19px 18px;background:#f7f9fd;border:1px solid #edf1f7;border-radius:12px}
.auth-help-icon{flex:0 0 23px;width:23px;height:23px;display:grid;place-items:center;border-radius:50%;background:#e8effd;color:#4f75d6;font-size:13px;font-weight:800}
.auth-help p{margin:0;color:#8592a6;font-size:11px;line-height:1.85}
.auth-help p strong{display:inline-block;color:#4b5d77;font-weight:780;margin-bottom:2px}
.auth-bottom-nav{display:flex;justify-content:space-between;gap:12px;color:#a2adbc;font-size:10px;}
.auth-bottom-nav small{font-size:9px}
@media (max-width: 1040px) { .auth-shell{grid-template-columns:minmax(350px, .9fr) minmax(430px, 1.1fr)} .auth-showcase{padding:36px} .showcase-main h1{font-size:36px} .auth-main{padding:35px 32px 25px} .auth-bottom-nav{flex-direction:column;gap:7px} }
@media (max-width: 760px) { .auth-shell{grid-template-columns:1fr;min-height:100dvh} .auth-showcase{display:none} .auth-main{min-height:100dvh;padding:25px 24px 23px} .auth-top-nav>span{display:none} .auth-top-nav::before{content:'도매마켓';font-weight:850;font-size:16px;color:#214fb4} .auth-form-wrap{max-width:430px;padding:54px 0 42px} .auth-welcome-symbol{display:grid;place-items:center;margin-bottom:25px;width:46px;height:46px;background:#315ee9;color:white;border-radius:13px;font-weight:900;font-size:25px;font-style:italic} .auth-form-heading h2{font-size:28px} .auth-bottom-nav{align-items:center;text-align:center} }
@media (max-width:380px) { .auth-main{padding:22px 17px} .auth-top-nav{font-size:10px} .auth-form-wrap{padding:45px 0 32px} .auth-form-heading h2{font-size:26px} .auth-form-options{align-items:flex-start;flex-direction:column;gap:10px} }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after{transition:none!important;animation:none!important} }

/* =========================================================
   회원가입 바로가기 링크
========================================================= */

.auth-signup a.auth-signup-soon {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    color: #315ee9;
    font-size: 12px;
    font-weight: 800;

    text-decoration: none;
    cursor: pointer;

    transition: color 0.2s ease;
}

.auth-signup a.auth-signup-soon:hover {
    color: #244bc3;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.auth-signup a.auth-signup-soon:focus-visible {
    outline: 2px solid #86a8ff;
    outline-offset: 4px;
    border-radius: 3px;
}
