/* Authentication pages have their own responsive layout and controls. */
.auth-page{--text:#082657;--muted:#647692;--line:#d3ddeb;--primary:#1474f5;margin:0;position:relative;isolation:isolate;min-height:100svh;display:block;color:var(--text);font-family:"Noto Sans KR","Malgun Gothic",sans-serif;background:#f4f8fc;overflow-x:hidden}
.auth-page *{box-sizing:border-box}
.auth-page a,.auth-page button,.auth-page input,.auth-page select{font:inherit}
.auth-page a{color:inherit}
.auth-page button,.auth-page a,.auth-page input{ -webkit-tap-highlight-color:transparent }
.auth-page :is(a,button,input,select):focus-visible{outline:3px solid #6aa5fc;outline-offset:4px}
.auth-page::before{content:"";position:absolute;inset:0;width:100%;min-height:100%;background:linear-gradient(90deg,transparent 40%,rgba(244,248,252,.38) 65%,rgba(244,248,252,.88) 100%),linear-gradient(180deg,rgba(228,242,255,.78) 0%,rgba(235,245,255,.8) 38%,rgba(243,248,252,.12) 72%,transparent 100%),url('/assets/img/safeyo-auth-construction-desktop.webp') center bottom/cover no-repeat;border-radius:0;pointer-events:none;z-index:-1}
.auth-page::after{content:"";position:fixed;z-index:-2;inset:0;background:radial-gradient(ellipse at 32% 12%,#c9e1f8 0,transparent 55%),#f4f8fc;pointer-events:none}
.auth-shell{width:min(1260px,calc(100% - 120px));min-height:100svh;margin:auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(420px,540px);align-items:center;gap:100px;padding:clamp(24px,5svh,60px) 0;position:relative}
.auth-intro{align-self:start;padding-top:26px}
.auth-intro-logo{display:inline-block;margin-bottom:28px}
.auth-intro-logo img{display:block;width:310px;max-width:100%;height:auto}
.auth-eyebrow{margin:0 0 14px;color:#5f7493;font-size:23px;font-weight:600;letter-spacing:-.7px}
.auth-intro h1{font-size:clamp(34px,3.55vw,54px);font-weight:800;line-height:1.36;letter-spacing:-2.5px;margin:0 0 20px;white-space:nowrap}
.auth-intro h1 em{color:#0cb335;font-style:normal}
.auth-description{margin:0;color:#647a97;font-size:19px;line-height:1.8;font-weight:500;letter-spacing:-.6px}
.auth-features{display:flex;gap:20px;margin-top:28px;max-width:510px}
.auth-features>div{flex:1;padding:18px 8px 16px;background:rgba(255,255,255,.74);border:1px solid rgba(255,255,255,.5);border-radius:17px;text-align:center;color:#193554;font-size:15px;font-weight:600;line-height:1.55;box-shadow:0 5px 24px rgba(62,97,130,.02)}
.auth-features svg{width:32px;height:32px;display:block;margin:0 auto 11px}
.auth-page .wrap{width:100%;max-width:none;background:rgba(255,255,255,.97);border:1px solid rgba(255,255,255,.8);border-radius:24px;padding:78px 42px 74px;box-shadow:0 24px 50px rgba(37,73,108,.08)}
.auth-page .brand{text-align:center;margin:0 0 22px}
.auth-page .brand img{width:250px;max-width:80%;height:auto;display:block;margin:auto}
.auth-card-description{text-align:center;font-size:18px;color:#6a7c96;line-height:1.7;font-weight:500;margin:0 0 32px;letter-spacing:-.4px}
.auth-page .field{margin-bottom:14px}
.auth-page .label{display:block;font-size:14px;color:#526580}
.auth-login .label,.auth-register label[for="login_id"],.auth-register label[for="password"],.auth-register label[for="password_confirm"],.auth-register label[for="name"],.auth-register label[for="mobile_phone"]{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.auth-page .input,.auth-page .select{width:100%;height:60px;border:1px solid var(--line);border-radius:11px;background-color:#f8fafc;color:#213956;font-size:16px;padding:0 18px;box-shadow:none;transition:border-color .15s,box-shadow .15s}
.auth-page .input::placeholder{color:#8593a9;opacity:1}
.auth-page .input:focus,.auth-page .select:focus{outline:none;border-color:#4389fa;box-shadow:0 0 0 3px #1875ff12}
.auth-page input:is([name="login_id"],[name="name"]){padding-left:56px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23778ba5' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3Cpath d='M3 22v-2a9 9 0 0 1 18 0v2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:20px center;background-size:22px}
.auth-page input:is([name="password"],[name="password_confirm"]){padding-left:56px;padding-right:52px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23778ba5' stroke-width='2'%3E%3Crect x='4' y='10' width='16' height='12' rx='2' fill='%23778ba5' stroke='none'/%3E%3Cpath d='M7 10V6a5 5 0 0 1 10 0v4'/%3E%3Cpath d='M12 14v4' stroke='white' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:20px center;background-size:22px}
.auth-page input[name="mobile_phone"]{padding-left:56px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='%23778ba5' viewBox='0 0 24 24'%3E%3Cpath d='m6 2 4 5-3 3a18 18 0 0 0 7 7l3-3 5 4-1 4C9 23 1 15 2 3Z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:20px center;background-size:22px}
.auth-password{position:relative;min-width:0;flex:1}
.auth-input-icon{position:relative}
.auth-input-icon>svg{position:absolute;left:20px;top:50%;transform:translateY(-50%);width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;color:#778ba5;pointer-events:none;z-index:1}
.auth-page .auth-input-icon input{background-image:none}
.auth-password-toggle{position:absolute;right:8px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:44px;height:44px;border:0;background:transparent;color:#7a8da6;cursor:pointer;border-radius:8px}
.auth-password-toggle svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.auth-password-toggle[aria-pressed="true"] .eye-slash{display:none}
.auth-login-options{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:18px 0 26px;font-size:15px;color:#435977}
.auth-remember{display:inline-flex;align-items:center;gap:8px;cursor:pointer;white-space:nowrap}
.auth-remember input{width:20px;height:20px;margin:0;accent-color:#1474f5}
.auth-recovery-open{border:0;padding:4px 0;background:none;color:#435977;text-decoration:underline;text-underline-offset:4px;cursor:pointer;font-size:15px}
.auth-page .btn{display:flex;align-items:center;justify-content:center;gap:20px;width:100%;height:62px;padding:0 18px;background:#1474f5;border:1px solid #1474f5;border-radius:11px;color:#fff;font-weight:700;font-size:18px;letter-spacing:-.3px;text-decoration:none;cursor:pointer;box-shadow:0 7px 18px rgba(19,85,165,.1);transition:background .15s,transform .15s}
.auth-page .btn:hover{background:#0865df;transform:translateY(-1px)}
.auth-arrow::after{content:none}
.auth-page .btn-outline{background:#f8fbff;border:1px solid #247eff;color:#1474f5;box-shadow:none}
.auth-page .btn-outline:hover{background:#edf5ff}
.auth-divider{display:flex;align-items:center;gap:20px;color:#546983;font-size:16px;margin:28px 0 20px;white-space:nowrap}
.auth-divider::before,.auth-divider::after{content:"";height:1px;background:var(--line);flex:1}
.auth-page .msg{line-height:1.6;border-radius:10px}
.auth-browse{display:none}
.auth-mobile-header{display:none}
.auth-recovery{border:1px solid #e1e9f2;border-radius:20px;padding:30px;width:min(420px,calc(100% - 40px));color:#213956;box-shadow:0 25px 80px #17365b33}
.auth-recovery::backdrop{background:#132d4c66;backdrop-filter:blur(4px)}
.auth-recovery h2{font-size:21px;margin:0 0 14px}
.auth-recovery p{font-size:15px;line-height:1.8;color:#647692;margin:0 0 24px}
.auth-page.auth-register{background:#f5f8fc}
.auth-register::before{opacity:.35}
.auth-register .auth-shell{align-items:start;padding-top:64px;padding-bottom:64px}
.auth-register .auth-intro{position:sticky;top:85px}
.auth-register .wrap{padding:36px 30px;border-radius:24px}
.auth-register .auth-card-description{margin-bottom:28px;font-size:19px;color:#526580}
.auth-register .row{display:grid;grid-template-columns:1fr;gap:0}
.auth-register .row.worker-only{display:none}
.auth-register.is-worker .row.worker-only{display:grid}
.auth-register .section{border:0;padding-top:0;margin-top:20px}
.auth-register .section-title{font-size:13px;font-weight:500;color:#7e8ea5;margin:0 0 12px}
.auth-register .inline-check{display:flex;gap:8px}
.auth-register .inline-check .input{min-width:0;flex:1}
.auth-register .btn-check-id{height:60px;border-radius:11px;border:1px solid #4a8aff;background:#fff;color:#1474f5;padding:0 12px;font-size:14px;font-weight:600;cursor:pointer}
.auth-register .btn-check-id:disabled{opacity:.6;cursor:wait}
.auth-register .radio-group{gap:10px;padding:0;min-height:48px}
.auth-register .radio-item{flex:1;justify-content:center;min-height:46px;padding:8px;border:1px solid #d5dfeb;border-radius:10px;font-size:14px;cursor:pointer;background:#f8fafc}
.auth-register .radio-item:has(input:checked){border-color:#458afa;background:#edf5ff;color:#1267df}
.auth-register input[type="radio"]{accent-color:#1474f5}
.auth-register .actions{display:flex;flex-direction:column-reverse;margin-top:24px;gap:16px}
.auth-register .actions .btn-secondary{height:30px;background:none;box-shadow:none;border:0;color:#1474f5;font-size:15px}
.auth-register .actions .btn-primary::after{content:none}
.auth-register .auth-register-features{display:none}
.auth-register .birth-select-row{gap:6px}
.auth-register .birth-mode-btn{border-radius:8px}
@media(min-width:1600px){.auth-shell{gap:150px}.auth-intro{padding-top:36px}}
@media(min-width:901px) and (max-height:850px){.auth-shell{padding-top:38px;padding-bottom:38px}.auth-page .wrap{padding-top:42px;padding-bottom:42px}.auth-intro{padding-top:4px}.auth-intro-logo{margin-bottom:20px}.auth-features{margin-top:24px}.auth-card-description{margin-bottom:24px}}
@media(max-width:1150px) and (min-width:901px){.auth-shell{width:calc(100% - 72px);gap:48px;grid-template-columns:minmax(0,1fr) minmax(360px,440px)}.auth-page .wrap{padding-left:28px;padding-right:28px}.auth-intro h1{font-size:36px;letter-spacing:-1.8px}.auth-eyebrow{font-size:19px}.auth-description{font-size:15px}.auth-features{gap:10px}.auth-features>div{font-size:13px}.auth-intro-logo img{width:265px}.auth-login-options,.auth-recovery-open{font-size:13px}}
@media(max-width:900px){
  .auth-page{position:relative;background:#dcecf9;isolation:isolate}
  .auth-page::before{position:absolute;width:100%;inset:0;min-height:100%;border-radius:0;background:linear-gradient(180deg,rgba(213,235,254,.2) 0%,rgba(232,243,253,.4) 38%,rgba(245,247,249,.24) 68%,transparent 84%),url('/assets/img/safeyo-auth-construction.webp') center bottom/cover no-repeat;mask-image:none}
  .auth-page::after{display:none}
  .auth-shell{width:100%;min-height:100svh;display:flex;flex-direction:column;gap:0;padding:70px 24px 24px}
  .auth-browse{display:flex;position:absolute;right:26px;top:25px;align-items:center;gap:10px;text-decoration:none;color:#4e637d!important;font-size:13px}
  .auth-browse::after{content:"›";font:24px Arial,sans-serif}
  .auth-intro{align-self:auto;text-align:center;padding:0;width:100%}
  .auth-intro-logo{margin-bottom:20px}
  .auth-intro-logo img{width:230px}
  .auth-eyebrow{font-size:16px;margin-bottom:10px;letter-spacing:-.5px}
  .auth-intro h1{font-size:32px;line-height:1.4;letter-spacing:-1.5px;margin-bottom:14px}
  .auth-description{font-size:14px;line-height:1.8;letter-spacing:-.5px}
  .auth-intro>.auth-features{display:none}
  .auth-page .wrap{width:min(100%,470px);margin-top:24px;padding:22px 20px 24px;border-radius:20px;box-shadow:0 16px 44px #264c6c0a}
  .auth-login .wrap>.brand,.auth-login .auth-card-description{display:none}
  .auth-page .input,.auth-page .select{height:54px;font-size:16px;border-radius:10px}
  .auth-page input:is([name="login_id"],[name="name"],[name="password"],[name="password_confirm"],[name="mobile_phone"]){padding-left:48px;background-position:16px center;background-size:20px}
  .auth-input-icon>svg{left:16px;width:20px;height:20px}
  .auth-login-options{margin:16px 0 22px;font-size:13px;gap:8px}
  .auth-recovery-open{font-size:13px}
  .auth-remember{gap:6px}
  .auth-remember input{width:19px;height:19px}
  .auth-page .btn{height:56px;font-size:17px;gap:20px}
  .auth-divider{margin:22px 0 18px;font-size:14px;gap:14px}
  .auth-page.auth-register{background:#f7f9fc}
  .auth-register::before{opacity:.12;background:linear-gradient(#fff8,#fff),url('/assets/img/landing-construction-bg.png') center top/auto 620px no-repeat;mask-image:none}
  .auth-register::after{display:none}
  .auth-register .auth-shell{padding:80px 20px 32px;align-items:center}
  .auth-register .auth-intro{display:none}
  .auth-mobile-header{display:flex;position:absolute;top:24px;left:24px;right:24px;justify-content:center;align-items:center;font-size:21px;font-weight:700}
  .auth-mobile-header a{position:absolute;left:0;text-decoration:none;font-size:30px;font-weight:400;line-height:1}
  .auth-register .wrap{margin-top:0;background:transparent;border:0;padding:0;box-shadow:none;width:min(100%,470px)}
  .auth-register .brand{margin:14px 0 20px}
  .auth-register .brand img{width:220px}
  .auth-register .auth-card-description{font-size:18px;line-height:1.65;margin-bottom:24px}
  .auth-register .auth-register-fields{padding:20px 18px;background:#fff;border:1px solid #fff;border-radius:20px;box-shadow:0 10px 40px #24466e03}
  .auth-register .btn-check-id{height:54px;font-size:13px;padding:0 10px}
  .auth-register .section{margin-top:16px}
  .auth-register .field{margin-bottom:12px}
  .auth-register .auth-register-features{display:block;width:min(100%,470px);margin-top:20px}
  .auth-register-features .auth-features{max-width:none;margin:0;padding:10px 0;background:#edf3f9;border-radius:20px;gap:0}
  .auth-register-features .auth-features>div{background:none;border:0;border-radius:0;box-shadow:none;font-size:12px;margin:14px 0;padding:0 6px}
  .auth-register-features .auth-features>div+div{border-left:1px solid #d7e2ee}
  .auth-register-features .auth-features>div:last-child{display:none}
  .auth-register-features .auth-features svg{width:28px;height:28px;margin-bottom:10px}
}
@media(max-width:360px){.auth-shell{padding-left:16px;padding-right:16px;padding-top:64px}.auth-intro h1{font-size:28px}.auth-intro-logo img{width:210px}.auth-description{font-size:12px}.auth-page .wrap{padding-left:16px;padding-right:16px}.auth-login-options,.auth-recovery-open{font-size:11px}.auth-register .wrap{padding:0}.auth-register .auth-register-fields{padding:18px 14px}}
@media(min-width:901px) and (max-height:740px){
  .auth-login .auth-shell{padding-top:20px;padding-bottom:20px}
  .auth-login .wrap{padding-top:24px;padding-bottom:24px}
  .auth-login .brand{margin-bottom:14px}
  .auth-login .brand img{width:210px}
  .auth-login .auth-card-description{font-size:16px;margin-bottom:20px}
  .auth-login .input{height:52px}
  .auth-login .btn{height:54px}
  .auth-login .auth-login-options{margin:14px 0 18px}
  .auth-login .auth-divider{margin:20px 0 16px}
  .auth-login .auth-intro-logo img{width:250px}
  .auth-login .auth-intro h1{font-size:38px}
  .auth-login .auth-eyebrow{font-size:19px}
  .auth-login .auth-description{font-size:16px}
}
@media(max-width:900px) and (max-height:800px){
  .auth-login .auth-shell{padding-top:50px;padding-bottom:18px}
  .auth-login .auth-intro-logo{margin-bottom:14px}
  .auth-login .auth-intro-logo img{width:190px}
  .auth-login .auth-eyebrow{font-size:14px;margin-bottom:8px}
  .auth-login .auth-intro h1{font-size:28px;margin-bottom:10px}
  .auth-login .auth-description{font-size:12px;line-height:1.7}
  .auth-login .wrap{margin-top:18px;padding-top:18px;padding-bottom:18px}
  .auth-login .input{height:50px}
  .auth-login .btn{height:50px}
  .auth-login .auth-login-options{margin:12px 0 16px}
  .auth-login .auth-divider{margin:16px 0 14px}
}
.auth-register .auth-shell-notice{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;padding:72px 20px 28px;width:100%}
@media(max-width:900px) and (max-height:700px){
  .auth-login .auth-shell{padding-top:42px}
  .auth-login .wrap{margin-top:12px;padding-top:16px;padding-bottom:16px}
}
@media(max-width:900px) and (max-height:650px){
  .auth-login .auth-shell{padding-top:34px}
  .auth-login .auth-intro-logo{margin-bottom:10px}
  .auth-login .auth-intro-logo img{width:150px}
  .auth-login .auth-eyebrow{font-size:13px;margin-bottom:6px}
  .auth-login .auth-intro h1{font-size:24px}
  .auth-login .auth-description{display:none}
  .auth-login .wrap{padding-top:14px;padding-bottom:14px}
  .auth-login .field{margin-bottom:10px}
  .auth-login .auth-divider{margin:12px 0 10px}
}
.auth-shell-notice>.auth-intro,.auth-shell-notice>.auth-register-features{display:none}
.auth-register .auth-shell-notice .wrap{width:min(100%,540px);margin:0;text-align:center}
.auth-shell-notice .auth-register-fields .msg{text-align:center}
@media(prefers-reduced-motion:reduce){.auth-page *{transition:none!important;scroll-behavior:auto!important}}

/* Login actions share a quiet label and a distinct registration accent. */
.auth-login .auth-arrow::after{content:none}
body.auth-page.auth-login .btn.btn-outline{--sf-button-bg:#e11d48;--sf-button-text:#fff;--sf-button-hover:#be123c;--sf-button-hover-text:#fff;box-shadow:none}
.auth-login .btn.btn-outline:hover{background:#be123c;border-color:#be123c;color:#fff}
.auth-login .btn.btn-outline:active{background:#9f1239;border-color:#9f1239;color:#fff}