/* NBS Automatic — customer auth brand layer.
   Scoped to body.ob--access so onboarding components in app/account remain untouched. */

body.ob.ob--access{
  --auth-bg:#06070c;
  --auth-panel:#121019;
  --auth-panel-2:#171221;
  --auth-text:#fff9f7;
  --auth-muted:#aaa2b8;
  --auth-line:rgba(255,255,255,.11);
  --auth-violet:#8c57ff;
  --auth-violet-2:#c253ff;
  --auth-pink:#f33d9b;
  --auth-coral:#ff7847;
  --auth-green:#67dfb1;
  --auth-error:#ff8c80;
  min-width:0;
  overflow-x:clip;
  background:
    radial-gradient(circle at 78% 12%,rgba(243,61,155,.16),transparent 30%),
    radial-gradient(circle at 17% 72%,rgba(140,87,255,.16),transparent 34%),
    linear-gradient(155deg,#09070e 0%,#06070c 52%,#0b0710 100%);
  color:var(--auth-text);
  font-family:Inter,system-ui,-apple-system,sans-serif;
}

.ob--access::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background-image:linear-gradient(rgba(255,255,255,.016) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.016) 1px,transparent 1px);
  background-size:72px 72px;
  -webkit-mask-image:linear-gradient(to bottom,rgba(0,0,0,.7),transparent 84%);
  mask-image:linear-gradient(to bottom,rgba(0,0,0,.7),transparent 84%);
}

.ob--access ::selection{background:var(--auth-pink);color:#fff}
.ob--access :focus-visible{outline:2px solid var(--auth-violet-2);outline-offset:3px;border-radius:5px}

.ob--access .ob-shell{
  position:relative;
  isolation:isolate;
  width:100%;
  min-height:100svh;
  justify-content:center;
  padding:clamp(28px,5vh,52px) 24px 34px;
}

.ob--access .ob-shell::before{
  content:"W2";
  position:fixed;
  z-index:-1;
  right:clamp(-68px,-3vw,-24px);
  bottom:clamp(-52px,-3vw,-24px);
  color:transparent;
  -webkit-text-stroke:1px rgba(194,83,255,.1);
  font-size:clamp(190px,24vw,390px);
  font-weight:900;
  line-height:.8;
  letter-spacing:-.13em;
  transform:rotate(-9deg);
  pointer-events:none;
  user-select:none;
}

.ob--access .ob-shell::after{
  content:"";
  position:fixed;
  z-index:-1;
  width:min(76vw,820px);
  aspect-ratio:1;
  left:50%;
  top:44%;
  transform:translate(-50%,-50%);
  border:1px solid rgba(255,255,255,.035);
  border-radius:50%;
  box-shadow:0 0 0 110px rgba(255,255,255,.01),0 0 0 220px rgba(255,255,255,.007);
  pointer-events:none;
}

.ob--access .ob-brand{
  position:relative;
  z-index:2;
  gap:13px;
  margin-bottom:clamp(22px,4vh,34px);
  color:var(--auth-text);
}

.ob--access .ob-brand__logo{
  width:58px;
  height:58px;
  filter:drop-shadow(0 0 22px rgba(194,83,255,.2));
}

.ob--access .ob-brand__copy{display:block;line-height:1}
.ob--access .ob-brand__copy strong{display:block;font-size:17px;letter-spacing:.065em}
.ob--access .ob-brand__copy span{display:block;margin-top:7px;color:#bc79ff;font-size:7px;font-weight:850;letter-spacing:.25em}

.ob--access .ob-card{
  position:relative;
  z-index:1;
  width:100%;
  max-width:500px;
  overflow:hidden;
  border:1px solid var(--auth-line);
  border-radius:26px;
  background:linear-gradient(155deg,rgba(24,18,33,.97),rgba(12,10,17,.98));
  box-shadow:0 38px 100px rgba(0,0,0,.46),0 0 0 1px rgba(194,83,255,.035) inset;
  padding:clamp(30px,4vw,42px);
  color:var(--auth-text);
}

.ob--access .ob-card::before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:2px;
  background:linear-gradient(90deg,var(--auth-violet),var(--auth-pink),var(--auth-coral));
  opacity:.9;
}

.ob--access .ob-card::after{
  content:"";
  position:absolute;
  width:190px;
  height:190px;
  top:-115px;
  right:-90px;
  border-radius:50%;
  background:rgba(243,61,155,.1);
  filter:blur(18px);
  pointer-events:none;
}

.ob--access .ob-card > *{position:relative;z-index:1}
.ob--access .ob-kicker{margin-bottom:12px;color:#c68aff;font-size:10px;font-weight:800;letter-spacing:.18em}
.ob--access .ob-kicker::before{content:"";display:inline-block;width:6px;height:6px;margin-right:9px;border-radius:50%;background:linear-gradient(135deg,var(--auth-violet-2),var(--auth-coral));box-shadow:0 0 14px var(--auth-violet-2);vertical-align:1px}
.ob--access .ob-h1{max-width:12ch;color:var(--auth-text);font-family:Inter,system-ui,-apple-system,sans-serif;font-size:clamp(30px,4vw,38px);font-weight:820;line-height:1.06;letter-spacing:-.045em;text-wrap:balance}
.ob--access .ob-sub{max-width:43ch;margin-top:14px;color:#b8afc1;font-size:14.5px;line-height:1.58}
.ob--access .ob-form{margin-top:26px;gap:16px}
.ob--access .ob-field{gap:7px}
.ob--access .ob-field label{color:#e7dfe9;font-size:12.5px;font-weight:700}
.ob--access .ob-opcional{color:#8f8798}

.ob--access .ob-field input:not([type="checkbox"]){
  width:100%;
  min-width:0;
  min-height:52px;
  padding:13px 15px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:12px;
  background:rgba(255,255,255,.035);
  color:var(--auth-text);
  caret-color:var(--auth-pink);
  box-shadow:0 1px 0 rgba(255,255,255,.02) inset;
}

.ob--access .ob-field input::placeholder{color:#716a79;opacity:1}
.ob--access .ob-field input:not([type="checkbox"]):hover{border-color:rgba(255,255,255,.23)}
.ob--access .ob-field input:not([type="checkbox"]):focus{border-color:var(--auth-violet-2);background:rgba(255,255,255,.055);outline:none;box-shadow:0 0 0 3px rgba(194,83,255,.12)}
.ob--access .ob-field input[aria-invalid="true"]{border-color:var(--auth-error);box-shadow:0 0 0 3px rgba(255,140,128,.1)}
.ob--access .ob-field__pwrap{min-width:0}
.ob--access .ob-field__pwrap input{padding-right:54px}
.ob--access .ob-pwtoggle{right:5px;width:42px;height:42px;color:#a69dac}
.ob--access .ob-pwtoggle:hover{color:#fff;background:rgba(255,255,255,.07)}
.ob--access .ob-pwtoggle:focus-visible{outline-color:var(--auth-violet-2)}

.ob--access .ob-field__hint{color:#817989;font-size:11.5px;line-height:1.4}
.ob--access .ob-field__error{min-height:0;color:var(--auth-error);font-size:12.5px;line-height:1.45}
.ob--access .ob-field__error:empty{display:none}
.ob--access .ob-field__error:not(:empty){padding:9px 11px;border:1px solid rgba(255,140,128,.2);border-radius:9px;background:rgba(255,112,100,.075)}
.ob--access .ob-field__error--success:not(:empty){color:var(--auth-green);border-color:rgba(103,223,177,.23);background:rgba(87,230,176,.075)}

.ob--access .ob-check{gap:11px;color:#b8afc1;font-size:12.5px;line-height:1.5}
.ob--access .ob-check input{width:18px;height:18px;margin-top:1px;accent-color:var(--auth-pink)}
.ob--access .ob-check a,.ob--access .ob-note a,.ob--access .ob-access-footer a{color:#d6adff;text-decoration:none;text-underline-offset:3px}
.ob--access .ob-check a:hover,.ob--access .ob-note a:hover,.ob--access .ob-access-footer a:hover{color:#fff;text-decoration:underline}

.ob--access .ob-btn{
  min-height:52px;
  border-radius:13px;
  font-size:14px;
  font-weight:820;
}
.ob--access .ob-btn--sun{background:linear-gradient(105deg,#ed47b0,#ff7650);color:#150a14;box-shadow:0 18px 42px rgba(241,59,156,.23)}
.ob--access .ob-btn--sun:hover:not(:disabled){background:linear-gradient(105deg,#f35abd,#ff895f);transform:translateY(-1px)}
.ob--access .ob-btn--sun:disabled{opacity:.62}
.ob--access .ob-btn--ghost{width:100%;min-height:44px;margin-top:7px;padding:9px 12px;border:1px solid rgba(255,255,255,.11);background:rgba(255,255,255,.025);color:#cf9cff}
.ob--access .ob-btn--ghost:hover:not(:disabled){border-color:rgba(194,83,255,.35);background:rgba(194,83,255,.07);color:#fff}

.ob--access .ob-note{margin-top:10px;color:#8e8696;font-size:12.5px;line-height:1.45}
.ob--access .ob-note a{display:inline-flex;align-items:center;justify-content:center;min-height:34px}
.ob--access .ob-icon{width:54px;height:54px;margin-bottom:20px;background:linear-gradient(135deg,rgba(140,87,255,.14),rgba(243,61,155,.12));border:1px solid rgba(194,83,255,.24);color:#d39cff}
.ob--access .ob-masked{color:#fff;font-family:Inter,system-ui,-apple-system,sans-serif;font-size:inherit;font-weight:750}

.ob--access .ob-message{display:none;margin-top:16px;padding:11px 13px;border:1px solid rgba(194,83,255,.22);border-radius:10px;background:rgba(194,83,255,.07);color:#d7c8e4;font-size:12.5px;line-height:1.5}
.ob--access .ob-message:not(:empty){display:block}
.ob--access .ob-message--ok:not(:empty){border-color:rgba(103,223,177,.22);background:rgba(103,223,177,.07);color:#92ebc9}
.ob--access #cooldown-nota{position:relative;z-index:1;min-height:0;color:#9f96a7}

.ob--access .ob-access-footer{
  position:relative;
  z-index:2;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:8px 12px;
  max-width:500px;
  margin-top:20px;
  color:#777080;
  font-size:10.5px;
  line-height:1.5;
  text-align:center;
}

@media (max-width:520px){
  .ob--access .ob-shell{justify-content:flex-start;padding:18px 14px 26px}
  .ob--access .ob-shell::before{right:-30px;bottom:-16px;font-size:150px}
  .ob--access .ob-shell::after{width:112vw;top:36%;box-shadow:0 0 0 70px rgba(255,255,255,.008)}
  .ob--access .ob-brand{align-self:flex-start;margin:0 0 18px 4px;gap:10px}
  .ob--access .ob-brand__logo{width:46px;height:46px}
  .ob--access .ob-brand__copy strong{font-size:13px}
  .ob--access .ob-brand__copy span{margin-top:5px;font-size:5.5px;letter-spacing:.19em}
  .ob--access .ob-card{max-width:none;padding:26px 20px;border-radius:22px}
  .ob--access .ob-card::after{width:150px;height:150px;top:-100px;right:-75px}
  .ob--access .ob-h1{font-size:31px}
  .ob--access .ob-sub{font-size:14px}
  .ob--access .ob-form{margin-top:24px;gap:15px}
  .ob--access .ob-btn{min-height:52px}
  .ob--access .ob-note a{min-height:38px}
  .ob--access .ob-access-footer{margin-top:17px;padding:0 8px}
}

@media (max-width:360px){
  .ob--access .ob-shell{padding-left:10px;padding-right:10px}
  .ob--access .ob-card{padding-left:17px;padding-right:17px}
}

@media (prefers-reduced-motion:reduce){
  .ob--access *{scroll-behavior:auto!important;transition:none!important}
}
