/* Xensec authentication screens — acp-v2.0.21 */
.customer-auth-v221-body,
.acp-auth-v221-body {
  min-height: 100dvh;
}

.customer-auth-v221-body .customer-auth-shell {
  width: 100%;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 44px);
}

.xensec-login-v221 {
  position: relative;
  z-index: 3;
  width: 100%;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 44px);
  color: #f6f8ff;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.customer-auth-v221-body .xensec-login-v221 {
  padding: 0;
}

.acp-auth-v221-body .xensec-login-v221 {
  min-height: 100dvh;
}

.xensec-login-panel-v221 {
  position: relative;
  width: min(700px, 100%);
  overflow: hidden;
  border: 1px solid rgba(105, 129, 207, .28);
  border-radius: 30px;
  padding: clamp(24px, 4.2vw, 42px);
  background:
    radial-gradient(circle at 82% -8%, rgba(123, 81, 255, .16), transparent 34%),
    radial-gradient(circle at 0% 100%, rgba(27, 216, 255, .10), transparent 34%),
    linear-gradient(155deg, rgba(10, 20, 45, .96), rgba(4, 12, 29, .96));
  box-shadow:
    0 36px 100px rgba(0, 0, 0, .48),
    inset 0 1px 0 rgba(255, 255, 255, .045);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  animation: xensecAuthRiseV221 .38s ease both;
}

.xensec-login-panel-v221::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, #22d9ff, #625dff 55%, #d92be8);
  box-shadow: 0 0 26px rgba(79, 123, 255, .42);
}

.xensec-login-panel-v221::after {
  content: "";
  position: absolute;
  width: 290px;
  height: 290px;
  right: -160px;
  top: -150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(104, 71, 255, .16), transparent 67%);
  pointer-events: none;
}

.xensec-login-panel-v221 > * {
  position: relative;
  z-index: 1;
}

.xensec-login-heading-v221 {
  text-align: center;
}

.xensec-login-logo-v221 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  text-decoration: none;
}

.xensec-login-logo-v221 img {
  display: block;
  width: min(286px, 76vw);
  height: auto;
  filter: drop-shadow(0 0 24px rgba(43, 182, 255, .20));
}

.xensec-login-kicker-v221 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 31px;
  padding: 0 13px;
  border: 1px solid rgba(70, 211, 255, .28);
  border-radius: 999px;
  color: #8ceeff;
  background: rgba(12, 105, 144, .13);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.xensec-login-kicker-v221 i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #40e6a2;
  box-shadow: 0 0 13px rgba(64, 230, 162, .82);
}

.xensec-login-kicker-v221.is-acp {
  color: #c6bcff;
  border-color: rgba(147, 111, 255, .32);
  background: rgba(87, 56, 168, .15);
}

.xensec-login-kicker-v221.is-acp i {
  background: #9a7cff;
  box-shadow: 0 0 13px rgba(154, 124, 255, .76);
}

.xensec-login-heading-v221 h1 {
  margin: 17px 0 10px;
  color: #fff;
  font-size: clamp(36px, 6vw, 50px);
  line-height: 1.02;
  letter-spacing: -.055em;
}

.xensec-login-heading-v221 p {
  width: min(530px, 100%);
  margin: 0 auto;
  color: rgba(213, 224, 252, .72);
  font-size: 15px;
  line-height: 1.65;
}

.xensec-login-notice-v221 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 0;
  padding: 13px 15px;
  border: 1px solid rgba(63, 224, 165, .20);
  border-radius: 16px;
  background: rgba(20, 111, 77, .12);
}

.xensec-login-notice-v221 > span {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #55ecad;
  background: rgba(38, 178, 119, .16);
  font-weight: 900;
}

.xensec-login-notice-v221 strong,
.xensec-login-notice-v221 small {
  display: block;
}

.xensec-login-notice-v221 strong {
  color: #f5fbff;
  font-size: 14px;
}

.xensec-login-notice-v221 small {
  margin-top: 3px;
  color: rgba(211, 226, 248, .66);
  line-height: 1.45;
}

.xensec-login-notice-v221.is-acp {
  border-color: rgba(144, 113, 255, .22);
  background: rgba(77, 50, 148, .13);
}

.xensec-login-notice-v221.is-acp > span {
  color: #c7b9ff;
  background: rgba(125, 91, 255, .17);
}

.xensec-login-method-v221 {
  margin-top: 24px;
  padding: clamp(19px, 3vw, 26px);
  border: 1px solid rgba(103, 127, 196, .23);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(8, 18, 42, .86), rgba(5, 14, 34, .76));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.xensec-login-method-title-v221 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 19px;
}

.xensec-login-method-title-v221 > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(102, 112, 255, .24);
  border-radius: 14px;
  color: #a695ff;
  background: rgba(83, 64, 180, .17);
  box-shadow: 0 10px 28px rgba(39, 31, 115, .18);
}

.xensec-login-method-title-v221 small,
.xensec-login-method-title-v221 h2 {
  display: block;
}

.xensec-login-method-title-v221 small {
  color: #8394c1;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.xensec-login-method-title-v221 h2 {
  margin: 3px 0 0;
  color: #f8faff;
  font-size: 18px;
  letter-spacing: -.02em;
}

.xensec-login-form-v221 {
  display: grid;
  gap: 10px;
}

.xensec-login-form-v221 label {
  margin-top: 5px;
  color: #d9e3fb;
  font-size: 12px;
  font-weight: 750;
}

.xensec-login-input-v221 {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 14px;
  border: 1px solid rgba(116, 137, 199, .25);
  border-radius: 15px;
  background: rgba(2, 9, 24, .72);
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.xensec-login-input-v221:focus-within {
  border-color: rgba(90, 104, 255, .68);
  background: rgba(4, 11, 30, .88);
  box-shadow: 0 0 0 4px rgba(87, 93, 255, .10), 0 0 24px rgba(59, 124, 255, .08);
}

.xensec-login-input-v221 > span {
  width: 20px;
  color: #7082bd;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

.xensec-login-input-v221 input {
  width: 100%;
  min-width: 0;
  height: 54px;
  margin: 0;
  padding: 0;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  color: #fff !important;
  box-shadow: none !important;
  font: inherit;
}

.xensec-login-input-v221 input::placeholder {
  color: rgba(156, 172, 213, .48);
}

.xensec-login-primary-v221 {
  width: 100%;
  min-height: 56px;
  margin-top: 10px;
  border: 0;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(105deg, #315ff6, #694df7 58%, #8e43e8);
  box-shadow: 0 16px 42px rgba(63, 75, 224, .25);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.xensec-login-primary-v221:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 20px 48px rgba(72, 74, 232, .31);
}

.xensec-login-primary-v221:active {
  transform: translateY(0);
}

.xensec-login-switch-v221 {
  margin: 18px 0 0;
  color: rgba(205, 217, 247, .68);
  text-align: center;
  font-size: 13px;
}

.xensec-login-switch-v221 a {
  color: #9f9aff;
  font-weight: 800;
  text-decoration: none;
}

.xensec-login-switch-v221 a:hover,
.xensec-login-security-v221 > a:hover {
  color: #d4d2ff;
}

.xensec-login-security-v221 {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 22px;
  padding-top: 19px;
  border-top: 1px solid rgba(94, 116, 180, .18);
}

.xensec-login-security-v221 > div {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.xensec-login-security-v221 > div > span {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  color: #6ce4b0;
  background: rgba(23, 126, 89, .14);
  font-size: 12px;
  font-weight: 900;
}

.xensec-login-security-v221 p {
  min-width: 0;
  margin: 0;
}

.xensec-login-security-v221 small,
.xensec-login-security-v221 strong {
  display: block;
}

.xensec-login-security-v221 small {
  color: #7384ae;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.xensec-login-security-v221 strong {
  margin-top: 2px;
  overflow: hidden;
  color: rgba(226, 234, 255, .78);
  font-size: 11px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xensec-login-security-v221 > a {
  color: #8295d3;
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.xensec-login-security-v221.is-acp > div > span {
  color: #bdaeff;
  background: rgba(93, 63, 171, .16);
}

.customer-auth-v221-body .customer-flashes.auth {
  width: min(700px, 100%);
  margin: 0 auto 14px;
}

.acp-auth-v221-body .acp-flash.floating {
  z-index: 10;
}

@keyframes xensecAuthRiseV221 {
  from { opacity: 0; transform: translateY(14px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 680px) {
  .xensec-login-v221,
  .customer-auth-v221-body .customer-auth-shell {
    padding: 14px;
  }

  .customer-auth-v221-body .xensec-login-v221 {
    padding: 0;
  }

  .xensec-login-panel-v221 {
    border-radius: 24px;
    padding: 22px 18px;
  }

  .xensec-login-logo-v221 img {
    width: min(240px, 74vw);
  }

  .xensec-login-heading-v221 h1 {
    font-size: 36px;
  }

  .xensec-login-method-v221 {
    padding: 18px 15px;
    border-radius: 18px;
  }

  .xensec-login-security-v221 {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .xensec-login-security-v221 > a {
    padding-top: 3px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .xensec-login-panel-v221,
  .xensec-login-primary-v221 {
    animation: none !important;
    transition: none !important;
  }
}

/* Xensec compact authentication refinement — acp-v2.0.22 */
.customer-auth-v222-body,
.acp-auth-v222-body {
  min-height: 100dvh;
  overflow-x: hidden;
}

.xensec-auth-stage-v222 {
  position: relative;
  z-index: 4;
  width: 100%;
  min-height: 100dvh;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: clamp(18px, 3vw, 30px) !important;
}

.customer-auth-v222-body .customer-auth-shell {
  place-items: initial;
}

.customer-auth-v222-body .xensec-login-v221,
.acp-auth-v222-body .xensec-login-v221 {
  width: 100%;
  min-height: 0;
  padding: 0;
}

.customer-auth-v222-body .xensec-login-panel-v221,
.acp-auth-v222-body .xensec-login-panel-v221 {
  width: min(560px, 100%);
  border-radius: 24px;
  padding: clamp(22px, 3vw, 30px);
}

.customer-auth-v222-body .xensec-login-heading-v221,
.acp-auth-v222-body .xensec-login-heading-v221 {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.customer-auth-v222-body .xensec-login-logo-v221,
.acp-auth-v222-body .xensec-login-logo-v221 {
  display: flex;
  width: 100%;
  justify-content: center;
  margin: 0 auto 10px;
}

.customer-auth-v222-body .xensec-login-logo-v221 img,
.acp-auth-v222-body .xensec-login-logo-v221 img {
  width: min(224px, 62vw);
  margin-inline: auto;
}

.customer-auth-v222-body .xensec-login-heading-v221 h1,
.acp-auth-v222-body .xensec-login-heading-v221 h1 {
  margin: 8px 0 7px;
  font-size: clamp(30px, 4vw, 38px);
  line-height: 1.04;
}

.customer-auth-v222-body .xensec-login-heading-v221 p,
.acp-auth-v222-body .xensec-login-heading-v221 p {
  max-width: 450px;
  font-size: 13.5px;
  line-height: 1.55;
}

.customer-auth-v222-body .xensec-login-notice-v221,
.acp-auth-v222-body .xensec-login-notice-v221 {
  margin-top: 16px;
  padding: 10px 12px;
  border-radius: 13px;
}

.customer-auth-v222-body .xensec-login-notice-v221 > span,
.acp-auth-v222-body .xensec-login-notice-v221 > span {
  width: 29px;
  height: 29px;
  border-radius: 9px;
}

.customer-auth-v222-body .xensec-login-method-v221,
.acp-auth-v222-body .xensec-login-method-v221 {
  margin-top: 16px;
  padding: 17px 18px;
  border-radius: 18px;
}

.customer-auth-v222-body .xensec-login-method-title-v221,
.acp-auth-v222-body .xensec-login-method-title-v221 {
  margin-bottom: 13px;
}

.customer-auth-v222-body .xensec-login-method-title-v221 > span,
.acp-auth-v222-body .xensec-login-method-title-v221 > span {
  width: 36px;
  height: 36px;
  border-radius: 11px;
}

.customer-auth-v222-body .xensec-login-method-title-v221 h2,
.acp-auth-v222-body .xensec-login-method-title-v221 h2 {
  font-size: 16px;
}

.customer-auth-v222-body .xensec-login-input-v221,
.acp-auth-v222-body .xensec-login-input-v221 {
  min-height: 48px;
  border-radius: 13px;
}

.customer-auth-v222-body .xensec-login-input-v221 input,
.acp-auth-v222-body .xensec-login-input-v221 input {
  height: 46px;
}

.customer-auth-v222-body .xensec-login-primary-v221,
.acp-auth-v222-body .xensec-login-primary-v221 {
  min-height: 49px;
  margin-top: 7px;
  border-radius: 13px;
}

.customer-auth-v222-body .xensec-login-switch-v221 {
  margin-top: 13px;
}

.customer-auth-v222-body .xensec-login-security-v221,
.acp-auth-v222-body .xensec-login-security-v221 {
  gap: 9px;
  margin-top: 16px;
  padding-top: 14px;
}

.customer-auth-v222-body .xensec-login-security-v221 > div > span,
.acp-auth-v222-body .xensec-login-security-v221 > div > span {
  width: 28px;
  height: 28px;
  border-radius: 9px;
}

.customer-auth-v222-body .xensec-auth-flash-v222,
.acp-auth-v222-body .xensec-auth-flash-v222 {
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  z-index: 8 !important;
  width: min(560px, 100%) !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  pointer-events: auto !important;
}

.customer-auth-v222-body .xensec-auth-flash-v222 .customer-flash,
.acp-auth-v222-body .xensec-auth-flash-v222 .flash {
  width: 100%;
  margin: 0;
  border-radius: 14px;
  padding: 11px 14px !important;
  line-height: 1.4;
}

@media (max-width: 620px) {
  .xensec-auth-stage-v222 {
    justify-content: flex-start;
    padding: 14px !important;
  }

  .customer-auth-v222-body .xensec-login-panel-v221,
  .acp-auth-v222-body .xensec-login-panel-v221 {
    border-radius: 21px;
    padding: 20px 16px;
  }

  .customer-auth-v222-body .xensec-login-logo-v221 img,
  .acp-auth-v222-body .xensec-login-logo-v221 img {
    width: min(205px, 66vw);
  }

  .customer-auth-v222-body .xensec-login-heading-v221 h1,
  .acp-auth-v222-body .xensec-login-heading-v221 h1 {
    font-size: 31px;
  }

  .customer-auth-v222-body .xensec-login-security-v221,
  .acp-auth-v222-body .xensec-login-security-v221 {
    grid-template-columns: 1fr;
  }
}


/* Xensec authentication flash alignment — acp-v2.0.23 */
.customer-auth-v223-body .xensec-auth-stage-v223,
.acp-auth-v223-body .xensec-auth-stage-v223 {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.customer-auth-v223-body .xensec-auth-stack-v223,
.acp-auth-v223-body .xensec-auth-stack-v223 {
  position: relative;
  z-index: 4;
  width: min(560px, 100%);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin-inline: auto;
}

.customer-auth-v223-body .xensec-auth-stack-v223 > .xensec-login-v221,
.acp-auth-v223-body .xensec-auth-stack-v223 > .xensec-login-v221 {
  width: 100% !important;
  max-width: none !important;
}

.customer-auth-v223-body .xensec-auth-stack-v223 .xensec-login-panel-v221,
.acp-auth-v223-body .xensec-auth-stack-v223 .xensec-login-panel-v221 {
  width: 100% !important;
}

.customer-auth-v223-body .xensec-auth-flash-v223,
.acp-auth-v223-body .xensec-auth-flash-v223 {
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  align-self: stretch !important;
}

@media (max-width: 620px) {
  .customer-auth-v223-body .xensec-auth-stack-v223,
  .acp-auth-v223-body .xensec-auth-stack-v223 {
    width: 100%;
    gap: 10px;
  }
}

/* Xensec compact registration experience — acp-v2.0.24 */
.customer-auth-route-register .xensec-auth-stack-v223 {
  width: min(560px, 100%);
}

.xensec-register-v224 {
  width: 100%;
  padding: 0;
}

.xensec-register-panel-v224 {
  width: 100%;
}

.xensec-register-heading-v224 .xensec-login-logo-v221 {
  margin-bottom: 8px;
}

.xensec-register-heading-v224 h1 {
  margin-top: 6px !important;
}

.xensec-register-method-v224 {
  margin-top: 16px;
}

.xensec-register-form-v224 {
  gap: 8px;
}

.xensec-register-form-v224 label {
  margin-top: 4px;
}

.xensec-register-password-hint-v224 {
  display: block;
  margin: -1px 2px 2px;
  color: rgba(186, 201, 235, .58);
  font-size: 10px;
  line-height: 1.45;
}

.xensec-register-security-v224 {
  grid-template-columns: 1fr 1fr auto;
}

.customer-auth-route-register .customer-kicker,
.customer-auth-route-register .customer-auth-footer {
  display: none !important;
}

@media (max-width: 620px) {
  .customer-auth-route-register .xensec-auth-stage-v223 {
    justify-content: flex-start !important;
  }

  .xensec-register-security-v224 {
    grid-template-columns: 1fr;
  }
}
