/* Nexi portal login / register */
body.theme-nexi.sheim-nexi-archive:has(.sheim-nexi-auth) {
  background: #f7f5ff;
}
body.theme-nexi #main.sheim-nexi-auth {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box;
  margin: 0 !important;
  padding: 150px 20px 80px !important;
  min-height: calc(100vh - var(--footer-height, 120px));
  background: #f7f5ff;
  overflow: visible;
}
body.theme-nexi .sheim-nexi-auth-wrap {
  display: block;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  float: none;
}
body.theme-nexi .sheim-nexi-auth-card {
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid rgba(4, 1, 28, 0.08);
  border-radius: 20px;
  padding: 36px 32px 30px;
  box-shadow: 0 18px 50px rgba(4, 1, 28, 0.06);
}
body.theme-nexi .sheim-nexi-auth-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
body.theme-nexi .sheim-nexi-auth-kicker {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8980f1;
  margin: 0 0 8px;
}
body.theme-nexi .sheim-nexi-auth-heading {
  font-family: var(--nexi-header-font-family, "Space Grotesk", sans-serif);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #04011c;
  line-height: 1.25;
  margin: 0 0 8px;
}
body.theme-nexi .sheim-nexi-auth-sub {
  margin: 0;
  color: rgba(4, 1, 28, 0.62);
  font-size: 15px;
  line-height: 1.5;
}
body.theme-nexi .sheim-nexi-auth-lang {
  flex-shrink: 0;
}
body.theme-nexi .sheim-nexi-auth-lang .portal-lang-select {
  min-height: 40px;
  border: 1px solid rgba(4, 1, 28, 0.12);
  border-radius: 10px;
  background: #fff;
  color: #04011c;
  padding: 0 12px;
  font-size: 14px;
}
body.theme-nexi .sheim-nexi-auth .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
body.theme-nexi .sheim-nexi-auth-form {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
body.theme-nexi .sheim-nexi-auth-form .portal-form-group {
  margin: 0 0 14px;
}
body.theme-nexi .sheim-nexi-auth-form .portal-form-group > label,
body.theme-nexi .sheim-nexi-auth-form .portal-contact-picker > span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(4, 1, 28, 0.55);
  margin: 0 0 8px;
}
body.theme-nexi .sheim-nexi-auth-form .portal-form-control {
  width: 100%;
  box-sizing: border-box;
  min-height: 56px;
  border: 1px solid rgba(4, 1, 28, 0.12);
  border-radius: 12px;
  background: #fff;
  color: #04011c;
  font-size: 16px;
  line-height: 1.45;
  padding: 16px 18px;
  outline: none;
  font-family: inherit;
}
body.theme-nexi .sheim-nexi-auth-form .portal-form-control:focus {
  border-color: #8980f1;
  box-shadow: 0 0 0 3px rgba(137, 128, 241, 0.15);
}
body.theme-nexi .sheim-nexi-auth-form .portal-form-hint {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(4, 1, 28, 0.55);
}
body.theme-nexi .sheim-nexi-auth-form .portal-pw-strength {
  height: 6px;
  margin-top: 10px;
  border-radius: 99px;
  background: rgba(4, 1, 28, 0.08);
  overflow: hidden;
}
body.theme-nexi .sheim-nexi-auth-form .portal-pw-strength-bar {
  height: 100%;
  width: 0;
  border-radius: inherit;
  transition: width 0.2s ease, background-color 0.2s ease;
}
body.theme-nexi .sheim-nexi-auth-form .portal-pw-strength-bar.level-1 { width: 25%; background: #b42318; }
body.theme-nexi .sheim-nexi-auth-form .portal-pw-strength-bar.level-2 { width: 50%; background: #b54708; }
body.theme-nexi .sheim-nexi-auth-form .portal-pw-strength-bar.level-3 { width: 75%; background: #067647; }
body.theme-nexi .sheim-nexi-auth-form .portal-pw-strength-bar.level-4 { width: 100%; background: #067647; }
body.theme-nexi .sheim-nexi-auth-form .portal-pw-strength-label {
  margin-top: 6px;
  font-size: 12px;
}
body.theme-nexi .sheim-nexi-auth-form .portal-pw-strength-label.level-1 { color: #b42318; }
body.theme-nexi .sheim-nexi-auth-form .portal-pw-strength-label.level-2 { color: #b54708; }
body.theme-nexi .sheim-nexi-auth-form .portal-pw-strength-label.level-3,
body.theme-nexi .sheim-nexi-auth-form .portal-pw-strength-label.level-4 { color: #067647; }
body.theme-nexi .sheim-nexi-auth-submit.wgl-widget__button {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
}
body.theme-nexi .sheim-nexi-auth-submit .button__content {
  justify-content: center;
  width: 100%;
}
body.theme-nexi .sheim-nexi-auth-footer {
  margin: 20px 0 0;
  text-align: center;
  color: rgba(4, 1, 28, 0.62);
  font-size: 14px;
  line-height: 1.6;
}
body.theme-nexi .sheim-nexi-auth-footer a {
  color: #8980f1;
  text-decoration: none;
  font-weight: 600;
}
body.theme-nexi .sheim-nexi-auth-footer a:hover {
  color: #04011c;
}
@media (max-width: 767px) {
  body.theme-nexi #main.sheim-nexi-auth {
    padding: 120px 16px 60px !important;
  }
  body.theme-nexi .sheim-nexi-auth-card {
    padding: 26px 18px 22px;
  }
  body.theme-nexi .sheim-nexi-auth-card__top {
    flex-direction: column;
  }
}
