:root{
  --ua-purple:#6b32ea;
  --ua-purple-2:#8b52ff;
  --ua-dark:#15142f;
  --ua-text:#5d6075;
  --ua-border:#e8e5ef;
  --ua-soft:#f8f5ff;
  --ua-container:1420px;
}

*{
  box-sizing:border-box;
}

html{
  min-height:100%;
}

body{
  margin:0;
  min-height:100vh;
  color:var(--ua-dark);
  background:#fff;
  font-family:
    "Segoe UI",
    "Helvetica Neue",
    Arial,
    sans-serif;
  -webkit-font-smoothing:antialiased;
}

.nuaa-icons{
  position:absolute;
  left:-9999px;
}

.nuaa-container{
  width:min(calc(100% - 48px),var(--ua-container));
  margin-inline:auto;
}


/* ================================================================
   HEADER
   ================================================================ */

.nuaa-header{
  height:96px;
  display:flex;
  align-items:center;
  background:#fff;
  border-bottom:1px solid #edeaf4;
}

.nuaa-header-inner{
  display:flex;
  align-items:center;
}

.nuaa-brand{
  display:flex;
  align-items:center;
  gap:11px;
  text-decoration:none;
  color:#15152f;
}

.nuaa-brand img{
  width:56px;
  height:56px;
  object-fit:contain;
}

.nuaa-brand strong{
  font-size:2rem;
  font-weight:700;
  letter-spacing:-.04em;
}


/* ================================================================
   PAGE
   ================================================================ */

.nuaa-shell{
  position:relative;
  overflow:hidden;
  padding:0 0 28px;
  background:
    radial-gradient(
      circle at 83% 12%,
      rgba(150,91,255,.11),
      transparent 27%
    ),
    #fff;
}

.nuaa-decoration{
  position:absolute;
  pointer-events:none;
  border-radius:50%;
}

.nuaa-decoration-one{
  width:600px;
  height:240px;
  right:-80px;
  top:-105px;
  border:2px solid rgba(132,73,242,.08);
  transform:rotate(-10deg);
}

.nuaa-decoration-two{
  width:420px;
  height:210px;
  right:60px;
  top:-120px;
  border:2px solid rgba(235,121,217,.06);
  transform:rotate(8deg);
}


/* ================================================================
   MAIN CARD
   ================================================================ */

.nuaa-main-card{
  min-height:760px;
  display:grid;
  grid-template-columns:1fr 1fr;
  border:1px solid #e8e5ef;
  border-radius:12px;
  background:rgba(255,255,255,.88);
  overflow:hidden;
  box-shadow:0 6px 22px rgba(45,25,90,.025);
}

.nuaa-login-panel{
  padding:78px 74px;
  border-right:1px solid #e8e5ef;
  background:rgba(255,255,255,.91);
}

.nuaa-login-content{
  width:min(100%,520px);
  margin-inline:auto;
}

.nuaa-welcome{
  color:#6a32e9;
  font-size:1.04rem;
  font-weight:600;
  margin-bottom:28px;
}

.nuaa-login-panel h1{
  margin:0;
  font-size:2.65rem;
  line-height:1.08;
  letter-spacing:-.045em;
  font-weight:650;
}

.nuaa-intro{
  max-width:470px;
  margin:23px 0 44px;
  color:#5d6075;
  font-size:1.08rem;
  line-height:1.7;
}


/* ================================================================
   FORM
   ================================================================ */

.nuaa-form{
  display:grid;
  gap:25px;
}

.nuaa-field label{
  display:block;
  margin-bottom:10px;
  color:#55586d;
  font-size:.93rem;
  font-weight:500;
}

.nuaa-label-row{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:center;
}

.nuaa-label-row a{
  color:#682de9;
  text-decoration:none;
  font-size:.84rem;
  font-weight:600;
}

.nuaa-input-wrap{
  min-height:58px;
  display:grid;
  grid-template-columns:45px 1fr auto;
  align-items:center;
  border:1px solid #dcd7e9;
  border-radius:9px;
  background:#fff;
  overflow:hidden;
  transition:
    border-color .18s ease,
    box-shadow .18s ease;
}

.nuaa-input-wrap:focus-within{
  border-color:#a47df5;
  box-shadow:0 0 0 3px rgba(105,49,233,.08);
}

.nuaa-input-wrap > svg{
  width:21px;
  height:21px;
  justify-self:center;
  color:#87899a;
}

.nuaa-input-wrap input{
  width:100%;
  min-width:0;
  height:56px;
  padding:0 8px 0 0;
  border:0;
  outline:0;
  background:transparent;
  color:#222439;
  font:inherit;
  font-size:1rem;
}

.nuaa-eye{
  width:50px;
  height:56px;
  border:0;
  background:transparent;
  display:grid;
  place-items:center;
  cursor:pointer;
  color:#8a8c9d;
}

.nuaa-eye svg{
  width:20px;
  height:20px;
}

.nuaa-remember{
  display:flex;
  align-items:center;
  gap:9px;
  color:#626578;
  font-size:.88rem;
  cursor:pointer;
}

.nuaa-remember input{
  accent-color:#6b31ea;
  width:16px;
  height:16px;
}

.nuaa-submit{
  width:100%;
  min-height:58px;
  border:0;
  border-radius:9px;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  color:#fff;
  background:linear-gradient(
    100deg,
    #702ee7,
    #8b32f2,
    #6a25df
  );
  box-shadow:0 12px 24px rgba(103,43,224,.18);
  font:inherit;
  font-size:1rem;
  font-weight:600;
  cursor:pointer;
}

.nuaa-submit i{
  position:absolute;
  right:21px;
  width:27px;
  height:27px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.8);
  border-radius:50%;
}

.nuaa-submit svg{
  width:16px;
  height:16px;
}

.nuaa-form-message{
  display:none;
  padding:10px 12px;
  border-radius:7px;
  font-size:.86rem;
}

.nuaa-form-message.show{
  display:block;
}

.nuaa-form-message.info{
  color:#5230a8;
  background:#f2edff;
}

.nuaa-form-message.error{
  color:#9d2540;
  background:#fff0f3;
}

.nuaa-divider{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  gap:16px;
  align-items:center;
  color:#696c7c;
}

.nuaa-divider span{
  height:1px;
  background:#dedbe6;
}

.nuaa-divider small{
  font-size:.85rem;
}

.nuaa-google{
  min-height:57px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  border:1px solid #ddd9e7;
  border-radius:9px;
  background:#fff;
  color:#24263a;
  font:inherit;
  font-size:.95rem;
  font-weight:500;
  cursor:pointer;
}

.nuaa-google-mark{
  font-size:1.3rem;
  font-weight:700;
  color:#4285f4;
}

.nuaa-create-account{
  margin:4px 0 0;
  text-align:center;
  color:#696c7d;
  font-size:.88rem;
}

.nuaa-create-account a{
  color:#6a31e9;
  text-decoration:none;
  font-weight:600;
}


/* ================================================================
   INFO PANEL
   ================================================================ */

.nuaa-info-panel{
  padding:60px 66px 52px;
  background:
    radial-gradient(
      circle at 82% 12%,
      rgba(137,76,255,.10),
      transparent 32%
    ),
    rgba(255,255,255,.8);
}

.nuaa-info-inner{
  width:min(100%,560px);
  margin-inline:auto;
}

.nuaa-info-heading h2{
  margin:0;
  font-size:2.75rem;
  line-height:1.04;
  letter-spacing:-.05em;
  font-weight:650;
}

.nuaa-info-heading h2 span{
  color:#692fe8;
}

.nuaa-info-heading p{
  max-width:520px;
  margin:23px 0 28px;
  color:#5d6173;
  font-size:1rem;
  line-height:1.7;
}


/* ================================================================
   BENEFITS
   ================================================================ */

.nuaa-benefit-box{
  padding:24px 26px;
  border:1px solid #e5e1ed;
  border-radius:12px;
  background:rgba(255,255,255,.92);
  box-shadow:0 7px 24px rgba(50,28,100,.035);
}

.nuaa-benefit-box h3{
  margin:0 0 11px;
  color:#692fe8;
  font-size:1.1rem;
  font-weight:650;
}

.nuaa-benefit-box article{
  min-height:74px;
  display:flex;
  align-items:center;
  gap:16px;
  border-bottom:1px solid #eeeaf3;
}

.nuaa-benefit-box article:last-child{
  border-bottom:0;
}

.nuaa-benefit-box article > span{
  width:43px;
  height:43px;
  flex:0 0 43px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#6c33e8;
  background:#f1eaff;
}

.nuaa-benefit-box svg{
  width:21px;
  height:21px;
}

.nuaa-benefit-box strong{
  display:block;
  font-size:.89rem;
}

.nuaa-benefit-box p{
  margin:5px 0 0;
  color:#6d6f7f;
  font-size:.78rem;
}


/* ================================================================
   CONNECTED SERVICES
   ================================================================ */

.nuaa-connected{
  margin-top:28px;
}

.nuaa-connected-title{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:12px;
}

.nuaa-connected-title h3{
  margin:0;
  font-size:1.05rem;
}

.nuaa-connected-title span{
  padding:4px 8px;
  border-radius:6px;
  color:#6c32e9;
  background:#f0e9ff;
  font-size:.64rem;
  font-weight:600;
}

.nuaa-connected > article{
  min-height:76px;
  margin-top:10px;
  padding:12px 16px;
  display:grid;
  grid-template-columns:48px 1fr auto 22px;
  align-items:center;
  gap:12px;
  border:1px solid #e5e1ed;
  border-radius:10px;
  background:#fff;
}

.service-icon{
  width:43px;
  height:43px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#6d35e8;
  background:#f1eaff;
}

.service-icon svg{
  width:22px;
  height:22px;
}

.nuaa-connected strong,
.nuaa-connected small{
  display:block;
}

.nuaa-connected strong{
  font-size:.9rem;
}

.nuaa-connected small{
  margin-top:5px;
  color:#737686;
  font-size:.73rem;
}

.nuaa-connected em{
  padding:4px 8px;
  border-radius:999px;
  color:#16885b;
  background:#dcf8e8;
  font-size:.64rem;
  font-style:normal;
  font-weight:600;
}

.service-arrow{
  width:18px;
  height:18px;
  color:#777a8c;
}

.nuaa-connect-more{
  min-height:76px;
  margin-top:13px;
  padding:12px 17px;
  display:grid;
  grid-template-columns:48px 1fr 22px;
  align-items:center;
  gap:12px;
  border:1px dashed #9c75ed;
  border-radius:10px;
  color:#6b32e8;
  text-decoration:none;
  background:linear-gradient(
    90deg,
    rgba(249,246,255,.7),
    rgba(255,255,255,.9)
  );
}

.nuaa-connect-more > span{
  width:43px;
  height:43px;
  display:grid;
  place-items:center;
  border:1.5px solid #7138ec;
  border-radius:50%;
}

.nuaa-connect-more span svg{
  width:23px;
  height:23px;
}

.nuaa-connect-more strong,
.nuaa-connect-more small{
  display:block;
}

.nuaa-connect-more strong{
  font-size:.87rem;
}

.nuaa-connect-more small{
  margin-top:5px;
  color:#737686;
  font-size:.72rem;
}

.nuaa-connect-more > svg{
  width:18px;
  height:18px;
}


/* ================================================================
   POPULAR SERVICES
   ================================================================ */

.nuaa-popular{
  margin-top:34px;
  padding:32px 36px 28px;
  border-radius:14px;
  background:
    linear-gradient(
      90deg,
      rgba(245,239,255,.9),
      rgba(255,255,255,.95),
      rgba(246,239,255,.9)
    );
}

.nuaa-popular h2{
  margin:0 0 27px;
  text-align:center;
  color:#6b30e7;
  font-size:1.25rem;
  font-weight:650;
}

.nuaa-popular-grid{
  display:grid;
  grid-template-columns:repeat(9,1fr);
  gap:18px;
}

.nuaa-popular-grid a{
  min-width:0;
  color:#191a31;
  text-align:center;
  text-decoration:none;
}

.nuaa-popular-grid span{
  width:56px;
  height:56px;
  margin:0 auto 11px;
  display:grid;
  place-items:center;
  border-radius:11px;
  color:#6a31e7;
  background:#efe6ff;
  transition:
    transform .18s ease,
    background .18s ease;
}

.nuaa-popular-grid a:hover span{
  transform:translateY(-3px);
  background:#e5d8ff;
}

.nuaa-popular-grid svg{
  width:28px;
  height:28px;
}

.nuaa-popular-grid strong{
  display:block;
  font-size:.73rem;
  line-height:1.35;
}


/* ================================================================
   FOOTER
   ================================================================ */

.nuaa-footer{
  min-height:75px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:30px;
  color:#6d7080;
  font-size:.78rem;
}

.nuaa-footer i{
  width:1px;
  height:17px;
  background:#cac6d3;
}


/* ================================================================
   RESPONSIVE
   ================================================================ */

@media(max-width:1100px){

  .nuaa-main-card{
    grid-template-columns:1fr;
  }

  .nuaa-login-panel{
    border-right:0;
    border-bottom:1px solid #e8e5ef;
  }

  .nuaa-popular-grid{
    grid-template-columns:repeat(5,1fr);
  }

}


@media(max-width:720px){

  .nuaa-container{
    width:min(calc(100% - 24px),var(--ua-container));
  }

  .nuaa-header{
    height:78px;
  }

  .nuaa-brand img{
    width:45px;
    height:45px;
  }

  .nuaa-brand strong{
    font-size:1.55rem;
  }

  .nuaa-login-panel,
  .nuaa-info-panel{
    padding:40px 24px;
  }

  .nuaa-login-panel h1{
    font-size:2.1rem;
  }

  .nuaa-info-heading h2{
    font-size:2.2rem;
  }

  .nuaa-popular{
    padding:27px 20px;
  }

  .nuaa-popular-grid{
    grid-template-columns:repeat(3,1fr);
  }

}


@media(max-width:460px){

  .nuaa-connected > article{
    grid-template-columns:44px 1fr auto;
  }

  .service-arrow{
    display:none;
  }

  .nuaa-popular-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .nuaa-footer{
    flex-direction:column;
    gap:6px;
    padding:18px 0;
  }

  .nuaa-footer i{
    display:none;
  }

}

/* ======================================================================
   NEXUS UNIFIED ACCOUNT REAL AUTH V1
   ====================================================================== */

.nuaa-form-message.success{
  color:#126d4c;
  background:#e8f8f0;
  border:1px solid #c7eddc;
}

.nuaa-submit:disabled{
  opacity:.7;
  cursor:wait;
}

