/* NextBuild authentication pages — scoped shared design */
.nb-auth .auth-shell-refined{
  width:min(100%,1440px);
  max-width:1440px;
  margin:0 auto;
  padding:145px 56px 45px;
}

.nb-auth .auth-hero-compact{
  min-height:360px;
  padding:58px;
  grid-template-columns:minmax(0,1.25fr) minmax(270px,.75fr);
  border-color:rgba(56,189,248,.2);
  border-radius:28px;
  background:radial-gradient(circle at 88% 0,rgba(14,165,233,.14),transparent 38%),linear-gradient(145deg,rgba(8,20,35,.97),rgba(2,6,13,.995));
  box-shadow:0 38px 100px rgba(0,0,0,.43),0 0 48px rgba(34,211,238,.035),inset 0 1px rgba(255,255,255,.045);
}

.nb-auth .auth-hero-compact h1{font-size:clamp(48px,5.5vw,75px)}
.nb-auth .auth-grid-refined,.nb-auth .auth-register-grid{margin-top:26px;grid-template-columns:minmax(0,1.12fr) minmax(330px,.88fr);gap:25px;align-items:start}
.nb-auth .auth-register-grid{grid-template-columns:minmax(0,1.55fr) minmax(315px,.65fr)}

.nb-auth .auth-form-card,.nb-auth .auth-panel-summary,.nb-auth .auth-register-grid > .auth-side{
  padding:40px;
  border:1px solid rgba(56,189,248,.14);
  border-radius:25px;
  background:radial-gradient(circle at 100% 0,rgba(14,165,233,.055),transparent 35%),linear-gradient(150deg,rgba(8,19,33,.92),rgba(3,7,15,.99));
  box-shadow:inset 0 1px rgba(255,255,255,.03),0 25px 68px rgba(0,0,0,.24);
}

.nb-auth .auth-panel-summary,.nb-auth .auth-register-grid > .auth-side{position:sticky;top:105px}
.nb-auth .auth-card-heading > span{display:block;margin-bottom:10px;color:#67e8f9;font-size:10px;font-weight:850;letter-spacing:.16em;text-transform:uppercase}
.nb-auth .auth-card-heading h2{margin:0;color:#f7fbfe;font-size:clamp(30px,3vw,40px);letter-spacing:-.04em}
.nb-auth .auth-card-heading p{margin:13px 0 0!important;color:#94a4b3!important;line-height:1.7}
.nb-auth .auth-form-card form{margin-top:32px}

.nb-auth .auth-fieldset{min-width:0;margin:0 0 31px;padding:0 0 12px;border:0;border-bottom:1px solid rgba(56,189,248,.09)}
.nb-auth .auth-fieldset legend{width:100%;margin:0 0 21px;padding:0;color:#e8f3f7;font-size:15px;font-weight:800;letter-spacing:.01em}
.nb-auth .form-row{gap:16px}
.nb-auth .auth-address-row{grid-template-columns:minmax(0,1fr) 150px}
.nb-auth .form-group{margin-bottom:18px}
.nb-auth .form-group label{margin-bottom:9px;color:#cbd7e1;font-size:13px;font-weight:750}
.nb-auth .input-wrap{position:relative}
.nb-auth .input-wrap > i:first-child{left:15px;top:25px;z-index:2;color:#3bdbff!important;font-size:14px!important;pointer-events:none;transition:color .22s ease,text-shadow .22s ease}
.nb-auth .form-group :is(input,select){min-height:50px;padding:13px 46px 13px 43px;border:1px solid rgba(56,189,248,.16);border-radius:13px;color:#edf7fb;background:rgba(3,10,18,.88);font-family:inherit;font-size:14px;box-shadow:inset 0 1px rgba(255,255,255,.02);transition:border-color .22s ease,background .22s ease,box-shadow .22s ease}
.nb-auth .form-group select{padding-right:40px;color-scheme:dark}
.nb-auth .form-group :is(input,select)::placeholder{color:#657889}
.nb-auth .form-group :is(input,select):hover{border-color:rgba(56,189,248,.27);background:rgba(5,16,27,.94)}
.nb-auth .form-group :is(input,select):focus{border-color:rgba(56,189,248,.6);background:#05111d;box-shadow:0 0 0 3px rgba(34,211,238,.095),0 12px 28px rgba(0,0,0,.18)}
.nb-auth .input-wrap:focus-within > i:first-child{color:#67e8f9!important;text-shadow:0 0 12px rgba(34,211,238,.25)}
.nb-auth .form-group :is(input,select).is-invalid{border-color:rgba(248,113,113,.65);box-shadow:0 0 0 3px rgba(248,113,113,.08)}

.nb-auth .password-toggle{position:absolute;z-index:3;right:7px;top:7px;width:36px;height:36px;padding:0;display:grid;place-items:center;border:0;border-radius:9px;color:#8193a4;background:transparent;cursor:pointer;transition:color .2s ease,background .2s ease,transform .2s ease}
.nb-auth .password-toggle:hover,.nb-auth .password-toggle:focus-visible{color:#67e8f9;background:rgba(14,116,144,.12);outline:none;transform:none}
.nb-auth .password-toggle i{position:static!important;transform:none!important;color:inherit!important;font-size:13px!important}
.nb-auth .field-error{display:block;min-height:0;margin-top:7px;color:#fca5a5;font-size:12px;line-height:1.45}
.nb-auth .field-error:empty{display:none}

.nb-auth .row-between{margin:15px 0 23px}
.nb-auth .inline-check{margin:0;display:flex;align-items:flex-start;gap:10px;color:#a7b5c3;font-size:13px;line-height:1.55;cursor:pointer}
.nb-auth .inline-check input{width:17px;height:17px;margin:2px 0 0;flex:0 0 17px;accent-color:#22d3ee}
.nb-auth .inline-check a,.nb-auth .row-between a,.nb-auth .auth-note a{color:#67e8f9;text-decoration:none;transition:color .2s ease,text-shadow .2s ease}
.nb-auth :is(.inline-check a,.row-between a,.auth-note a):hover{color:#fff;text-shadow:0 0 14px rgba(34,211,238,.18)}
.nb-auth .auth-btn{width:100%;min-height:52px;margin-top:4px}
.nb-auth .auth-note{margin:22px 0 0;padding-top:20px;border-top:1px solid rgba(56,189,248,.08);color:#91a1b0;text-align:center}

.nb-auth .auth-alert{display:none;margin:0 0 17px;padding:13px 15px;border:1px solid rgba(248,113,113,.28);border-radius:12px;color:#fecaca;background:rgba(127,29,29,.13);font-size:13px;line-height:1.55}
.nb-auth .auth-alert.is-visible{display:flex;align-items:flex-start;gap:9px}
.nb-auth .auth-alert.is-success{border-color:rgba(56,189,248,.28);color:#dff9ff;background:rgba(14,116,144,.11)}

.nb-auth .auth-compact-features{margin:26px 0!important;display:grid!important;grid-template-columns:1fr 1fr;gap:10px!important}
.nb-auth .auth-compact-features li{min-height:84px!important;margin:0!important;padding:15px!important;display:flex!important;flex-direction:column;align-items:flex-start!important;justify-content:center;gap:11px!important;border:1px solid rgba(56,189,248,.1)!important;border-radius:14px;color:#c8d5de!important;background:rgba(5,15,25,.48);font-size:13px;transition:transform .24s ease,border-color .24s ease,background .24s ease,box-shadow .24s ease}
.nb-auth .auth-compact-features li:hover{transform:translateY(-3px);border-color:rgba(56,189,248,.27)!important;background:rgba(8,27,43,.72);box-shadow:0 17px 38px rgba(0,0,0,.2)}
.nb-auth .auth-compact-features li i{width:auto!important;height:auto!important;border:0!important;color:#3bdbff!important;background:transparent!important;font-size:17px!important}
.nb-auth .auth-security-note{margin-top:auto;padding:17px;display:flex;align-items:center;gap:14px;border:1px solid rgba(56,189,248,.12);border-radius:15px;background:rgba(14,165,233,.045)}
.nb-auth .auth-security-note > i{width:40px;height:40px;display:grid;place-items:center;flex:0 0 40px;border:1px solid rgba(56,189,248,.18);border-radius:12px;color:#3bdbff!important;background:rgba(14,165,233,.07)}
.nb-auth .auth-security-note strong,.nb-auth .auth-security-note small{display:block}.nb-auth .auth-security-note strong{color:#e7f2f7;font-size:13px}.nb-auth .auth-security-note small{margin-top:5px;color:#7f91a1;font-size:11px;line-height:1.45}

.nb-auth .account-type-switch{margin-bottom:20px;display:grid;grid-template-columns:1fr 1fr;gap:11px}
.nb-auth .account-type-switch label{cursor:pointer}.nb-auth .account-type-switch input{position:absolute;opacity:0;pointer-events:none}.nb-auth .account-type-switch label > span{min-height:58px;padding:12px 15px;display:flex;align-items:center;gap:11px;border:1px solid rgba(56,189,248,.13);border-radius:13px;color:#9fadb9;background:rgba(3,10,18,.72);transition:border-color .22s ease,color .22s ease,background .22s ease,box-shadow .22s ease}.nb-auth .account-type-switch i{color:#3bdbff!important}.nb-auth .account-type-switch input:checked + span{border-color:rgba(56,189,248,.45);color:#eff9fc;background:rgba(14,116,144,.13);box-shadow:0 0 0 3px rgba(34,211,238,.06)}.nb-auth .account-type-switch input:focus-visible + span{outline:2px solid #67e8f9;outline-offset:2px}
.nb-auth .conditional-fields[hidden]{display:none!important}

.nb-auth .progress-wrap{margin:2px 0 11px}.nb-auth .progress-label{display:flex;justify-content:space-between;gap:15px;color:#94a3b8;font-size:12px}.nb-auth .progress-label strong{color:#9fb2c0;font-weight:750}.nb-auth .progress-bar{height:7px;border:1px solid rgba(56,189,248,.1);background:#07131e}.nb-auth .progress-fill{background:linear-gradient(90deg,#0891b2,#22d3ee,#67e8f9);box-shadow:0 0 13px rgba(34,211,238,.2)}
.nb-auth .password-hint{margin:9px 0 0;color:#718393;font-size:11px;line-height:1.5}.nb-auth .password-match{min-height:19px;margin:8px 0 0;color:#fca5a5;font-size:12px}.nb-auth .password-match.is-match{color:#67e8f9}
.nb-auth .auth-consents{margin:22px 0;display:grid;gap:12px}.nb-auth .auth-consents .inline-check:last-child{color:#8495a5}

@media(max-width:1080px){
  .nb-auth .auth-shell-refined{padding-right:38px;padding-left:38px}
  .nb-auth .auth-grid-refined,.nb-auth .auth-register-grid{grid-template-columns:1fr}
  .nb-auth .auth-panel-summary,.nb-auth .auth-register-grid > .auth-side{position:relative;top:auto}
}

@media(max-width:700px){
  .nb-auth .auth-shell-refined{padding:118px 21px 25px}
  .nb-auth .auth-hero-compact{min-height:0;padding:34px 25px;border-radius:23px;grid-template-columns:1fr}
  .nb-auth .auth-hero-visual{min-height:195px}
  .nb-auth .auth-form-card,.nb-auth .auth-panel-summary,.nb-auth .auth-register-grid > .auth-side{padding:27px 22px;border-radius:21px}
  .nb-auth .form-row,.nb-auth .auth-address-row{grid-template-columns:1fr}
  .nb-auth .auth-compact-features{grid-template-columns:1fr 1fr}
}

@media(max-width:440px){
  .nb-auth .account-type-switch,.nb-auth .auth-compact-features{grid-template-columns:1fr}
  .nb-auth .row-between{align-items:flex-start;flex-direction:column}
}

@media(prefers-reduced-motion:reduce){
  .nb-auth :is(.auth-compact-features li,.account-type-switch span,.password-toggle){transition-duration:.01ms!important}
}
