@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

body.sj-auth-body{
  min-height:100vh;
  margin:0;
  background:#082887;
  font-family:'Plus Jakarta Sans',sans-serif;
}

.sj-auth-shell{
  min-height:100vh;
  padding:0;
}

.sj-auth-grid{
  width:100%;
  min-height:100vh;
  display:grid;
  grid-template-columns:3fr 2fr;
  gap:0;
  align-items:stretch;
}

.sj-auth-hero,
.sj-auth-panel{
  position:relative;
  overflow:hidden;
}

.sj-auth-hero{
  min-height:100vh;
  background:#091c5f;
}

.sj-auth-hero__photo{
  position:absolute;
  inset:0;
}

.sj-auth-hero__photo{
  background-size:cover;
  background-position:center center;
}

.sj-auth-hero__veil{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(6,18,48,.06) 0%,rgba(6,18,48,.03) 38%,rgba(6,18,48,.14) 100%);
}

.sj-auth-panel{
  min-height:100vh;
  background:linear-gradient(180deg,#07277d 0%,#062161 100%);
}

.sj-auth-panel__inner{
  height:100%;
  padding:44px 38px 34px;
  display:flex;
  flex-direction:column;
  gap:22px;
  align-items:center;
}

.sj-auth-brandline{
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
  justify-content:center;
}

.sj-auth-brandline img{
  width:170px;
  max-width:100%;
  display:block;
}

.sj-auth-panel__header{
  display:flex;
  flex-direction:column;
  gap:6px;
  width:80%;
  max-width:100%;
  align-items:center;
  text-align:center;
}

.sj-auth-muted{
  margin:0;
  color:#d3e1ff;
  font-size:15px;
  line-height:1.65;
}

.sj-auth-form,
.sj-auth-signup-form{
  display:grid;
  gap:20px;
}

.sj-auth-autofill-guard{
  position:absolute;
  left:-9999px;
  width:1px;
  height:1px;
  opacity:0;
  pointer-events:none;
}

.sj-auth-signup-form{
  width:80%;
  max-width:100%;
  gap:16px;
}

.sj-auth-form,
.sj-auth-divider,
.sj-google-login,
.sj-access-card,
.sj-auth-links,
.sj-inline-form{
  width:80%;
  max-width:100%;
}

.sj-auth-view{
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:24px;
}

.sj-auth-cluster{
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:24px;
}

.sj-signup-section-title{
  margin:4px 0 0;
  color:#fff;
  font-size:12px;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
  text-align:center;
}

.sj-signup-section-title--spaced{
  margin-top:6px;
}

.sj-signup-step{
  width:100%;
  display:grid;
  gap:16px;
}

.sj-signup-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
}

.sj-signup-grid--stacked{
  grid-template-columns:1fr;
}

.sj-signup-grid > div{
  display:grid;
  gap:10px;
}

.sj-signup-col-span-2{
  grid-column:1 / -1;
}

.sj-signup-check-field{
  position:relative;
}

.sj-signup-check{
  position:absolute;
  top:40px;
  right:16px;
  width:22px;
  height:22px;
  border-radius:999px;
  background:#19c37d;
  color:#fff;
  font-size:12px;
  font-weight:900;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  transform:scale(.8);
  transition:opacity .18s ease, transform .18s ease;
  pointer-events:none;
}

.sj-signup-check-field.is-complete .sj-signup-check{
  opacity:1;
  transform:scale(1);
}

.sj-signup-check-field .form-control,
.sj-signup-check-field .form-select{
  padding-right:48px;
}

.sj-signup-hint{
  margin-top:-6px;
  color:#d7e3ff;
  font-size:12px;
  line-height:1.6;
}

.sj-signup-document-status{
  min-height:18px;
  margin-top:-2px;
  color:#aac3f8;
  font-size:12px;
  line-height:1.4;
  display:flex;
  align-items:center;
  gap:6px;
}

.sj-signup-document-status.is-valid{
  color:#cbffe0;
}

.sj-signup-document-status.is-valid strong{
  color:#19c37d;
  font-size:13px;
  font-weight:900;
}

.sj-signup-document-status.is-invalid{
  color:#ffd1d1;
}

.sj-password-field{
  position:relative;
}

.sj-password-field .form-control{
  padding-right:54px;
}

.sj-password-field__toggle{
  position:absolute;
  top:50%;
  right:12px;
  transform:translateY(-50%);
  width:34px;
  height:34px;
  border:0;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}

.sj-password-field__toggle svg{
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.sj-auth-field{
  display:grid;
  gap:10px;
}

.sj-auth-panel .form-label{
  margin:0;
  color:#fff;
  font-size:13px;
  font-weight:700;
}

.sj-auth-panel__header h2{
  color:#fff;
}

.sj-auth-panel .form-control,
.sj-auth-panel .form-select{
  min-height:56px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:18px;
  background:rgba(255,255,255,.10);
  color:#fff;
  padding:0 18px;
  font-size:15px;
  box-shadow:none;
}

.sj-auth-primary--signup-step{
  width:100%;
  margin-top:4px;
}

.sj-auth-primary--signup-step:disabled{
  opacity:.58;
  cursor:not-allowed;
  transform:none;
  box-shadow:none;
}

.sj-signup-actions{
  display:grid;
  gap:12px;
  justify-items:center;
}

.sj-signup-actions__links{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  flex-wrap:wrap;
}

.sj-signup-actions .sj-auth-primary{
  width:100%;
}

.sj-signup-step-link{
  color:#d7e6ff;
  font-size:13px;
  font-weight:700;
}

.sj-signup-step-link:hover{
  color:#fff;
}

.sj-signup-login-link{
  color:#d7e6ff;
  font-size:13px;
}

.sj-auth-panel .form-control::placeholder{
  color:#aac3f8;
}

.sj-auth-panel .form-control:focus,
.sj-auth-panel .form-select:focus{
  border-color:#9fc0ff;
  background:rgba(255,255,255,.14);
  color:#fff;
  box-shadow:0 0 0 4px rgba(138,179,255,.18);
}

.sj-auth-panel .form-control:-webkit-autofill,
.sj-auth-panel .form-control:-webkit-autofill:hover,
.sj-auth-panel .form-control:-webkit-autofill:focus,
.sj-auth-panel .form-control:-webkit-autofill:active{
  -webkit-text-fill-color:#fff;
  box-shadow:0 0 0 1000px rgba(255,255,255,.10) inset, 0 0 0 1px rgba(255,255,255,.16) inset;
  transition:background-color 99999s ease-in-out 0s;
  caret-color:#fff;
}

.sj-auth-panel .form-select option{
  color:#102947;
}

.sj-token-status{
  display:block;
  color:#c6d8ff;
  font-size:12px;
  line-height:1.5;
  text-align:left;
}

.sj-auth-primary,
.sj-auth-secondary,
.sj-auth-tertiary,
.sj-auth-outline,
.sj-auth-google-btn{
  min-height:56px;
  border-radius:18px;
  font-size:16px;
  font-weight:800;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease,opacity .18s ease;
}

.sj-auth-primary{
  border:0;
  color:#fff;
  background:linear-gradient(135deg,#2f7bff 0%,#59a3ff 100%);
  box-shadow:0 18px 30px rgba(18,87,234,.32);
}

.sj-auth-primary:hover,
.sj-auth-outline:hover,
.sj-auth-google-btn:hover:not(:disabled),
.sj-auth-secondary:hover,
.sj-auth-tertiary:hover{
  transform:translateY(-1px);
}

.sj-auth-primary--signup{
  margin-top:6px;
}

.sj-auth-secondary,
.sj-auth-tertiary,
.sj-auth-outline{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  cursor:pointer;
}

.sj-auth-secondary{
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.10);
  color:#fff;
}

.sj-auth-tertiary{
  border:1px solid rgba(255,255,255,.18);
  background:transparent;
  color:#cfe0ff;
}

.sj-auth-outline{
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.06);
  color:#fff;
  padding:0 20px;
}

.sj-auth-outline--compact{
  min-height:46px;
  font-size:14px;
}

.sj-auth-divider{
  position:relative;
  text-align:center;
}

.sj-auth-divider::before{
  content:'';
  position:absolute;
  inset:50% 0 auto;
  border-top:1px solid rgba(255,255,255,.14);
}

.sj-auth-divider span{
  position:relative;
  z-index:1;
  display:inline-block;
  padding:0 14px;
  background:#06256e;
  color:#aac3f8;
  font-size:12px;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
}

.sj-auth-google-btn{
  width:100%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  border:1px solid rgba(255,255,255,.18);
  background:#fff;
  color:#0f3ca1;
  cursor:pointer;
}

.sj-auth-google-btn:disabled{
  opacity:.62;
  cursor:not-allowed;
}

.sj-auth-google-btn__mark{
  width:28px;
  height:28px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#ea4335 0%,#fbbc05 45%,#34a853 72%,#4285f4 100%);
  color:#fff;
  font-weight:800;
}

.sj-google-login{
  display:grid;
  gap:10px;
  justify-items:stretch;
}

.sj-google-remembered{
  width:80%;
  max-width:100%;
}

.sj-google-remembered__card{
  display:flex;
  align-items:center;
  gap:14px;
  padding:18px 20px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.11);
  box-shadow:0 16px 28px rgba(7,25,78,.2);
}

.sj-google-remembered__avatar{
  width:46px;
  height:46px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.18);
  color:#fff;
  font-size:18px;
  font-weight:800;
  flex:0 0 auto;
}

.sj-google-remembered__content{
  display:grid;
  gap:4px;
  min-width:0;
}

.sj-google-remembered__content strong{
  color:#fff;
  font-size:17px;
  font-weight:800;
  line-height:1.2;
}

.sj-google-remembered__content span{
  color:#cfe0ff;
  font-size:13px;
  line-height:1.4;
  overflow:hidden;
  text-overflow:ellipsis;
}

.sj-auth-google-btn--remembered{
  box-shadow:0 14px 28px rgba(9,30,92,.24);
}

.sj-google-login.is-disabled{
  opacity:.95;
}

.sj-google-hint{
  margin:0;
  color:#cfe0ff;
  font-size:12px;
  line-height:1.65;
}

.sj-access-card{
  padding:16px 18px;
  border-radius:20px;
  background:linear-gradient(135deg,rgba(255,255,255,.16) 0%,rgba(255,227,165,.22) 100%);
  border:1px solid rgba(255,255,255,.16);
  color:#fff;
}

.sj-access-card__title{
  font-size:13px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:#fff2c7;
}

.sj-access-card__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:10px;
  font-size:14px;
}

.sj-access-card__row span{
  color:#e8f0ff;
}

.sj-auth-links{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  justify-content:center;
}

.sj-link-btn{
  background:none;
  border:0;
  padding:0;
  color:#fff;
  font-size:14px;
  font-weight:700;
  text-decoration:none;
}

.sj-link-btn:hover{
  color:#bcd1ff;
}

.sj-link-btn--center{
  width:80%;
  max-width:100%;
  display:flex;
  justify-content:center;
}

.sj-inline-form{
  display:grid;
  gap:14px;
  padding:18px;
  border-radius:22px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
}

.sj-inline-form__intro{
  color:#d2e0ff;
  font-size:13px;
  line-height:1.7;
}

.sj-auth-footer-cta{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  width:80%;
  max-width:100%;
  gap:10px;
  padding-top:8px;
  color:#d8e4ff;
  font-size:14px;
  text-align:center;
}

.sj-auth-footer-cta .sj-auth-outline{
  width:100%;
  border-color:rgba(156,194,255,.38);
  background:rgba(255,255,255,.12);
  box-shadow:0 14px 26px rgba(7,31,78,.22);
}

.sj-pass-rules{
  margin:0;
  padding:12px 14px;
  border-radius:18px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
}

.sj-pass-rule{
  display:flex;
  align-items:center;
  gap:8px;
  color:#d4e2ff;
  font-size:12px;
  line-height:1.5;
}

.sj-pass-rule + .sj-pass-rule{
  margin-top:4px;
}

.sj-pass-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background:rgba(255,255,255,.34);
  flex:0 0 auto;
}

.sj-pass-rule.is-ok{
  color:#d8ffe5;
}

.sj-pass-rule.is-ok .sj-pass-dot{
  background:#4ed17f;
  box-shadow:0 0 0 4px rgba(78,209,127,.16);
}

.sj-legal-acceptance{
  margin:0;
  padding:14px 16px;
  border-radius:20px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
}

.sj-legal-acceptance__check{
  display:flex;
  align-items:flex-start;
  gap:10px;
  color:#d3e1ff;
  font-size:12px;
  line-height:1.55;
  cursor:pointer;
}

.sj-legal-acceptance__check input{
  margin-top:4px;
  flex:0 0 auto;
}

.sj-legal-acceptance__check a{
  color:#fff;
  font-weight:800;
  text-decoration:none;
}

.sj-legal-acceptance__check a:hover{
  text-decoration:underline;
}

.sj-auth-view.d-none{
  display:none !important;
}

.sj-token-field{
  position:relative;
}

.sj-token-field .form-control{
  padding-right:48px;
}

.sj-token-field__toggle{
  position:absolute;
  top:50%;
  right:10px;
  transform:translateY(-50%);
  width:32px;
  height:32px;
  border:0;
  border-radius:999px;
  background:rgba(255,255,255,.14);
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}

.sj-token-field__toggle svg{
  width:16px;
  height:16px;
  stroke:currentColor;
  fill:none;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.sj-token-field.is-open .sj-token-field__toggle{
  background:#fff;
  color:#0f3ca1;
}

.sj-token-dropdown{
  position:absolute;
  top:calc(100% + 8px);
  left:0;
  right:0;
  z-index:30;
  padding:8px;
  border-radius:16px;
  background:#fff;
  border:1px solid #dbe7fb;
  box-shadow:0 18px 38px rgba(6,20,74,.22);
  display:flex;
  flex-direction:column;
  gap:6px;
}

.sj-token-dropdown__item{
  display:flex;
  align-items:center;
  gap:8px;
  padding:4px;
  border-radius:12px;
  background:#f6f9ff;
  border:1px solid #deebff;
}

.sj-token-dropdown__pick{
  flex:1 1 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-height:34px;
  padding:0 10px;
  border:0;
  border-radius:10px;
  background:transparent;
  color:#103267;
  font-size:13px;
  font-weight:800;
  text-align:left;
}

.sj-token-dropdown__pick strong{
  font-size:11px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#6f86a5;
}

.sj-token-dropdown__remove{
  width:26px;
  height:26px;
  border:0;
  border-radius:999px;
  background:#e3ecff;
  color:#365ea9;
  font-size:18px;
  line-height:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}

@media (max-width: 1279.98px){
  .sj-auth-grid{
    grid-template-columns:1fr;
  }

  .sj-auth-hero{
    min-height:46vh;
  }
}

@media (max-width: 991.98px){
  .sj-auth-shell{
    padding:16px;
  }

  .sj-auth-grid{
    min-height:auto;
  }

  .sj-auth-hero{
    min-height:38vh;
  }

  .sj-auth-panel__inner{
    padding:26px 22px 24px;
  }

  .sj-auth-panel h2{
    font-size:24px;
  }

  .sj-auth-form,
  .sj-auth-signup-form,
  .sj-auth-panel__header,
  .sj-auth-divider,
  .sj-google-login,
  .sj-access-card,
  .sj-auth-links,
  .sj-inline-form{
    width:100%;
  }

  .sj-signup-grid{
    grid-template-columns:1fr;
  }

  .sj-signup-col-span-2{
    grid-column:auto;
  }

  .sj-signup-actions{
    grid-template-columns:1fr;
  }
}

@media (max-width: 575.98px){
  .sj-auth-shell{
    padding:0;
  }

  .sj-auth-grid{
    width:100%;
    gap:0;
  }

  .sj-auth-hero,
  .sj-auth-panel{
    border-radius:0;
  }

  .sj-auth-hero{
    min-height:30vh;
  }

  .sj-auth-panel__inner{
    padding:22px 18px 28px;
  }

  .sj-auth-panel h2{
    font-size:22px;
  }

  .sj-auth-links{
    flex-direction:column;
    gap:10px;
    align-items:center;
  }

  .sj-signup-check{
    right:14px;
  }
}
