/* SourceWorx360 shared identity surfaces — rendering atlas board 02. */
:root{
  --auth-ink:#081520;
  --auth-deep:#0b1a28;
  --auth-blue:#0066ff;
  --auth-cyan:#00b3ff;
  --auth-green:#32c539;
  --auth-orange:#ff8a00;
  --auth-canvas:#f4f8ff;
  --auth-surface:#fff;
  --auth-border:#dce4ee;
  --auth-muted:#66758b;
  --auth-shadow:0 28px 80px rgba(8,21,32,.16);
}

body{
  font-family:'Manrope','Inter','Segoe UI',sans-serif!important;
  color:var(--auth-ink)!important;
  background:
    radial-gradient(circle at 84% 12%,rgba(0,179,255,.12),transparent 26%),
    linear-gradient(180deg,#f8fbff 0%,#edf4ff 100%)!important;
}

.auth-wordmark{
  position:relative;z-index:2;display:block;width:min(100%,320px);height:auto;
  object-fit:contain;object-position:left center;filter:drop-shadow(0 12px 24px rgba(0,0,0,.2));
}
.auth-wordmark.is-dark{width:min(100%,270px);filter:none}

.left,.recovery-panel,.security-panel{
  background:
    radial-gradient(circle at 72% 25%,rgba(0,179,255,.22),transparent 28%),
    radial-gradient(circle at 12% 88%,rgba(50,197,57,.10),transparent 27%),
    linear-gradient(145deg,#06111d 0%,#09243a 56%,#081520 100%)!important;
  animation:none!important;
}
.left::before,.recovery-panel::before,.security-panel::before{
  inset:0!important;width:auto!important;height:auto!important;
  background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px)!important;
  background-size:42px 42px!important;
  opacity:.8;
}

.right,.recovery-main,.password-main{background:transparent!important}
.right .form-card,.recovery-main .form-card,.password-main .form-card{
  max-width:440px!important;padding:2rem 2.1rem;border:1px solid rgba(220,228,238,.92);
  border-radius:20px;background:rgba(255,255,255,.94);box-shadow:var(--auth-shadow);
  backdrop-filter:blur(18px);
}
.form-title,h1{font-family:'Manrope','Inter',sans-serif!important;letter-spacing:-.035em!important}
.form-title{font-size:1.55rem!important}
.form-sub,.sub{color:var(--auth-muted)!important}
.field label,.form-group label{color:#526176!important;font-weight:750!important}
.field input,.password-control input{
  min-height:46px;background:#fff!important;border-color:var(--auth-border)!important;border-radius:8px!important;
}
.field input:focus,.password-control input:focus,.code-input:focus{
  border-color:var(--auth-blue)!important;box-shadow:0 0 0 4px rgba(0,102,255,.12)!important;
}
.btn,.accept-btn{
  min-height:46px;background:linear-gradient(135deg,var(--auth-blue),#0054d6)!important;
  color:#fff!important;border-radius:8px!important;box-shadow:0 12px 26px rgba(0,102,255,.22)!important;
  font-family:'Manrope','Inter',sans-serif!important;letter-spacing:.055em!important;
}
.btn:hover,.accept-btn:hover{background:linear-gradient(135deg,#005bea,#0048bd)!important}
.website-link,.form-link a,.access-link,.accept-back,.back,.backup-link a{color:var(--auth-blue)!important}
.context-pill,.accept-context{background:#eaf3ff!important;color:#005bd8!important;border:1px solid #c9ddff!important}

.auth-story{position:relative;z-index:2;max-width:680px}
.auth-story h2{
  margin:2.5rem 0 1rem;color:#fff;font-family:'Manrope','Inter',sans-serif;
  font-size:clamp(2.5rem,4.2vw,4.8rem);line-height:.98;letter-spacing:-.055em;
}
.auth-story h2 span{color:var(--auth-cyan)}
.auth-story>p{max-width:580px;color:rgba(235,245,255,.74);font-size:1rem;line-height:1.7}
.auth-route{position:relative;z-index:2;width:min(100%,720px);height:220px;margin:2rem 0 1.2rem}
.auth-route svg{width:100%;height:100%;display:block;filter:drop-shadow(0 20px 38px rgba(0,0,0,.22))}
.auth-route .land{fill:url(#authDots);opacity:.7}.auth-route .line{fill:none;stroke:var(--auth-blue);stroke-width:4;stroke-linecap:round;stroke-dasharray:7 9}
.auth-route .node{fill:var(--auth-cyan);stroke:#fff;stroke-width:4}
.auth-trust{position:relative;z-index:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem;max-width:720px}
.auth-trust article{min-width:0;padding:1rem;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:rgba(255,255,255,.055)}
.auth-trust strong{display:block;color:#fff;font-size:.8rem;margin-bottom:.25rem}.auth-trust span{display:block;color:rgba(235,245,255,.62);font-size:.7rem;line-height:1.45}
.auth-screen-footer{position:absolute;left:4rem;right:4rem;bottom:1.5rem;z-index:2;display:flex;justify-content:space-between;gap:1rem;color:rgba(235,245,255,.48);font-size:.68rem}
.auth-screen-footer nav{display:flex;gap:1.2rem}.auth-screen-footer a{color:inherit;text-decoration:none}
.auth-screen-footer a:hover{color:#fff}

.form-utility{display:flex;justify-content:flex-end;align-items:center;margin:-.35rem 0 .9rem;font-size:.75rem}
.invitation-note{margin-top:1rem;padding:.75rem .85rem;border:1px solid var(--auth-border);border-radius:9px;background:#f8fbff;color:var(--auth-muted);font-size:.72rem;line-height:1.5}
.invitation-note a{color:var(--auth-blue);font-weight:800;text-decoration:none}

.accept-card{
  width:min(100%,520px)!important;padding:1.65rem!important;border-color:var(--auth-border)!important;
  border-radius:18px!important;box-shadow:var(--auth-shadow)!important;
}
.accept-card::before{content:'';display:block;height:5px;margin:-1.65rem -1.65rem 1.35rem;border-radius:18px 18px 0 0;background:linear-gradient(90deg,var(--auth-blue),var(--auth-cyan))}
.accept-logo{display:none!important}
.accept-security{border-radius:9px!important;background:#eefaf4!important}
.requirements{color:var(--auth-muted)!important}

body>.card{
  max-width:410px!important;padding:2rem!important;border:1px solid var(--auth-border);
  border-radius:18px!important;box-shadow:var(--auth-shadow);background:rgba(255,255,255,.97)!important;
}
body>.card .logo{font-family:'Manrope','Inter',sans-serif!important;color:var(--auth-ink)!important}
body>.card .icon{background:#eaf3ff!important;color:var(--auth-blue)!important}
.code-input{border-color:var(--auth-border)!important;border-radius:9px!important;color:var(--auth-ink)}

@media(min-width:769px){
  body:has(>.left){grid-template-columns:minmax(0,1.18fr) minmax(390px,.82fr)!important}
  body:has(>.recovery-panel),body:has(>.security-panel){grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr)!important}
}
@media(max-width:900px){
  .left{padding:2.4rem!important}.auth-trust{grid-template-columns:1fr}.auth-story h2{font-size:2.5rem}.auth-route{height:160px}.auth-screen-footer{left:2.4rem;right:2.4rem}
}
@media(max-width:768px){
  .right,.recovery-main,.password-main{padding:1.1rem!important;align-items:center!important}
  .right .form-card,.recovery-main .form-card,.password-main .form-card{padding:1.4rem!important;border-radius:16px}
  body{background:radial-gradient(circle at 90% 2%,rgba(0,179,255,.16),transparent 28%),linear-gradient(180deg,#f8fbff,#edf4ff)!important}
}
@media(max-width:430px){
  .right .form-card,.recovery-main .form-card,.password-main .form-card{padding:1.2rem!important}
  .form-title{font-size:1.4rem!important}.choice-grid{grid-template-columns:1fr!important}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media(prefers-reduced-transparency:reduce){.right .form-card,.recovery-main .form-card,.password-main .form-card{backdrop-filter:none;background:#fff}}
