/* Nabayon — split-screen sign in / register (matches the BRTL ERP login look) */
.auth-page{background:#f1f4f6;min-height:100vh}
.auth-split{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);min-height:100vh}

.auth-hero{position:relative;overflow:hidden;isolation:isolate;color:#fff;background:var(--hero-grad);
  padding:48px 64px;display:flex;flex-direction:column;gap:40px}
.auth-hero::after{content:'';position:absolute;z-index:-1;width:620px;height:620px;border-radius:50%;
  right:-200px;bottom:-300px;background:rgba(255,255,255,.08);box-shadow:0 0 0 80px rgba(255,255,255,.04)}
.auth-brand{display:flex;align-items:center;gap:14px;color:#fff}
.auth-brand .nb-mark{width:52px;height:52px;color:#fff;--nb-mark-vein:#0a8f63}
.auth-brand .ab-name{font-size:32px;font-weight:800;letter-spacing:-.02em;line-height:1;display:flex;flex-direction:column;gap:6px;
  padding-right:18px}
.auth-brand .ab-name small{font-size:14px;font-weight:600;color:#d3f2e2;letter-spacing:0}
.auth-copy{margin:auto 0}
.auth-copy h1{font-size:clamp(34px,4.2vw,56px);font-weight:800;line-height:1.08;letter-spacing:-.025em;margin-bottom:22px}
.auth-copy h1 span{display:block}
.auth-copy h1 .soft{color:#b9f0cf}
.auth-copy p{font-size:18px;max-width:46ch;color:#e6f7ee;margin-bottom:22px}
.auth-points{list-style:none;display:grid;gap:12px}
.auth-points li{position:relative;padding-left:34px;font-size:17px;font-weight:600}
.auth-points li::before{content:'';position:absolute;left:0;top:2px;width:22px;height:22px;border-radius:50%;
  background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2300a65a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat}
.auth-foot{display:flex;flex-direction:column;gap:6px;font-size:14px;color:#d3f2e2}
.auth-foot .af-label{font-weight:700;color:#fff}
.auth-foot a{color:#fff;text-decoration:underline;text-underline-offset:2px}

.auth-main{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 24px;gap:18px}
.auth-card{width:100%;max-width:520px;background:#fff;border-radius:22px;padding:40px 48px;box-shadow:0 18px 50px rgba(12,48,40,.08)}
.auth-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}
.auth-back{display:inline-flex;align-items:center;gap:4px;color:var(--muted);font-weight:600;font-size:15px}
.auth-back:hover{color:var(--brand-700)}
.auth-back svg{width:16px;height:16px}
.auth-lang{border-color:var(--line)}
.auth-lang a{color:var(--muted)}
.auth-lang a.active{background:var(--brand);color:#fff}
.auth-badge{display:inline-flex;align-items:center;gap:8px;background:var(--brand-50);color:var(--brand-700);
  font-weight:700;font-size:15px;padding:7px 16px;border-radius:999px;margin-bottom:16px}
.auth-badge svg{width:15px;height:15px}
.auth-title{font-size:34px;font-weight:800;letter-spacing:-.02em;margin-bottom:8px}
.auth-lead{color:var(--muted);font-size:17px;margin-bottom:24px}
.auth-form label,.auth-form .lbl{display:block;font-weight:700;font-size:15px;margin:16px 0 7px;color:#2a3640}
.auth-form input[type=text],.auth-form input[type=email],.auth-form input[type=password],.auth-form input[type=tel]{
  padding:15px 16px;font-size:16px;border-radius:12px;border:1.5px solid var(--line);background:#fff}
.field-ic{position:relative;display:flex;align-items:center}
.field-ic > svg{position:absolute;left:16px;width:20px;height:20px;color:#8a97a0;pointer-events:none}
.field-ic input{padding-left:50px!important;background:#edf3fb!important}
.field-ic.no-ic input{padding-left:16px!important;background:#fff!important}
.field-ic input{padding-right:52px!important}
.pw-eye{position:absolute;right:8px;width:38px;height:38px;border:none;background:none;border-radius:8px;cursor:pointer;color:#6b7781;
  display:flex;align-items:center;justify-content:center}
.pw-eye:hover{background:var(--mist)}
.pw-eye[aria-pressed=true]{color:var(--brand-700)}
.pw-eye svg{width:22px;height:22px}
.auth-check{display:flex!important;align-items:center;gap:10px;font-weight:600!important;color:#3b4852!important;cursor:pointer;margin:18px 0 4px!important}
.auth-check input{width:18px;height:18px;margin:0;accent-color:var(--brand)}
.auth-submit{width:100%;margin-top:22px;border:none;border-radius:12px;padding:16px;font-family:inherit;font-size:18px;font-weight:700;
  color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;
  background:linear-gradient(90deg,#00a65a,#078c74);box-shadow:0 10px 22px rgba(0,140,90,.25);transition:filter .15s}
.auth-submit:hover{filter:brightness(1.06)}
.auth-submit svg{width:20px;height:20px}
.auth-alt{text-align:center;margin-top:18px;color:var(--muted)}
.auth-alt a{color:var(--brand-700);font-weight:700}
.auth-copyright{color:var(--muted);font-size:14px;text-align:center}
.auth-copyright a{color:var(--brand-700)}
.field-err,.auth-form .errorlist{color:#a8321f;font-size:13.5px;margin-top:5px;list-style:none}
.auth-form .helptext{display:none}
.role-pick{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.role-opt{display:flex!important;align-items:center;gap:10px;margin:0!important;border:1.5px solid var(--line);border-radius:12px;
  padding:12px 14px;cursor:pointer;font-weight:600!important;font-size:14.5px!important;line-height:1.3}
.role-opt input{width:18px;height:18px;margin:0;accent-color:var(--brand);flex-shrink:0}
.role-opt:has(input:checked){border-color:var(--brand);background:var(--brand-50)}
.auth-card .alert{margin:0 0 14px}

@media(max-width:960px){
  .auth-split{grid-template-columns:1fr}
  .auth-hero{padding:28px 22px;gap:18px}
  .auth-copy h1{font-size:30px;margin-bottom:10px}
  .auth-copy p{font-size:15.5px;margin-bottom:0}
  .auth-points,.auth-foot{display:none}
  .auth-brand .nb-mark{width:40px;height:40px}
  .auth-brand .ab-name{font-size:25px}
  .auth-main{padding:24px 14px 30px}
  .auth-card{padding:26px 20px;border-radius:18px}
  .auth-title{font-size:27px}
  .role-pick{grid-template-columns:1fr}
}
