:root {
  --auth-v11-bg: #07040f;
  --auth-v11-panel: rgba(17, 10, 34, 0.92);
  --auth-v11-panel-strong: rgba(22, 13, 43, 0.98);
  --auth-v11-border: rgba(207, 157, 255, 0.16);
  --auth-v11-border-strong: rgba(207, 133, 255, 0.36);
  --auth-v11-text: #fcfaff;
  --auth-v11-soft: #ded5e7;
  --auth-v11-muted: #a79caf;
  --auth-v11-muted-2: #776c82;
  --auth-v11-purple: #9e4fff;
  --auth-v11-purple-bright: #ce76ff;
  --auth-v11-indigo: #5d43ff;
  --auth-v11-cyan: #69d8ff;
  --auth-v11-green: #59eea0;
  --auth-v11-red: #ff7396;
  --auth-v11-yellow: #f0c46b;
  --auth-v11-shadow: 0 32px 110px rgba(0, 0, 0, 0.55);
}

/* ===============================================================
   PUBLIC AUTHENTICATION SHELL
================================================================ */

body.auth-v11-public {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(
      circle at 15% 15%,
      rgba(125, 53, 255, 0.18),
      transparent 27%
    ),
    radial-gradient(
      circle at 86% 80%,
      rgba(188, 83, 255, 0.09),
      transparent 25%
    ),
    var(--auth-v11-bg);
}

body.auth-v11-public::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.32;
  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.016) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.016) 1px,
      transparent 1px
    );
  background-size: 48px 48px;
  mask-image:
    radial-gradient(
      circle at 45% 45%,
      black,
      transparent 78%
    );
}

.auth-v11-public-shell {
  width: min(1440px, 100%);
  min-height: 100vh;
  display: grid;
  grid-template-columns:
    minmax(430px, 1.1fr)
    minmax(440px, 0.9fr);
  margin: 0 auto;
}

.auth-v11-brand-panel,
.auth-v11-form-panel {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.auth-v11-brand-panel {
  justify-content: space-between;
  overflow: hidden;
  padding: 42px clamp(34px, 5vw, 78px);
  border-right:
    1px solid rgba(
      207,
      157,
      255,
      0.1
    );
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(157, 72, 255, 0.17),
      transparent 28%
    ),
    linear-gradient(
      145deg,
      rgba(18, 10, 38, 0.94),
      rgba(6, 4, 14, 0.82)
    );
}

.auth-v11-brand-panel::after {
  content: "";
  position: absolute;
  width: 550px;
  height: 550px;
  left: -210px;
  bottom: -290px;
  border:
    1px solid rgba(
      207,
      157,
      255,
      0.1
    );
  border-radius: 50%;
  box-shadow:
    0 0 0 65px rgba(156, 77, 255, 0.018),
    0 0 0 130px rgba(156, 77, 255, 0.012);
  pointer-events: none;
}

.auth-v11-form-panel {
  align-items: center;
  justify-content: center;
  padding: 42px;
  background:
    linear-gradient(
      180deg,
      rgba(8, 5, 18, 0.76),
      rgba(5, 3, 12, 0.94)
    );
}

.auth-v11-brand {
  position: relative;
  z-index: 2;
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--auth-v11-text);
  text-decoration: none;
}

.auth-v11-brand img {
  width: 48px;
  height: 48px;
  border:
    1px solid rgba(
      218,
      174,
      255,
      0.27
    );
  border-radius: 15px;
  object-fit: cover;
  box-shadow:
    0 14px 44px rgba(117, 46, 255, 0.28),
    0 0 28px rgba(197, 102, 255, 0.12);
}

.auth-v11-brand > span {
  display: grid;
  gap: 1px;
}

.auth-v11-brand strong {
  font-size: 18px;
  font-weight: 830;
  letter-spacing: -0.025em;
}

.auth-v11-brand small {
  color: #897d94;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-v11-brand-message {
  position: relative;
  z-index: 2;
  width: min(680px, 100%);
  margin: auto 0;
  padding: 70px 0;
}

.auth-v11-kicker,
.auth-v11-step {
  color: #cb8aff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.auth-v11-brand-message h1 {
  max-width: 760px;
  margin: 14px 0 17px;
  font-size:
    clamp(
      45px,
      5.5vw,
      78px
    );
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.auth-v11-brand-message > p {
  max-width: 620px;
  margin: 0;
  color: #b2a6bc;
  font-size: 16px;
  line-height: 1.68;
}

.auth-v11-proof-grid {
  display: grid;
  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );
  gap: 10px;
  margin-top: 34px;
}

.auth-v11-proof-grid article {
  min-height: 128px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 16px;
  border:
    1px solid rgba(
      207,
      157,
      255,
      0.12
    );
  border-radius: 17px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.035),
      rgba(255, 255, 255, 0.012)
    );
  backdrop-filter: blur(12px);
}

.auth-v11-proof-grid article > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #d49bff;
  background:
    rgba(155, 77, 255, 0.12);
}

.auth-v11-proof-grid strong {
  margin-top: 3px;
  font-size: 12px;
}

.auth-v11-proof-grid small {
  color: #8f849a;
  font-size: 10px;
  line-height: 1.45;
}

.auth-v11-public-note {
  position: relative;
  z-index: 2;
  margin: 0;
  color: #746a80;
  font-size: 10px;
  line-height: 1.5;
}

.auth-v11-onboarding-preview {
  display: grid;
  gap: 14px;
  max-width: 610px;
  margin-top: 31px;
  padding: 18px 19px;
  border:
    1px solid rgba(
      96,
      221,
      170,
      0.16
    );
  border-radius: 18px;
  background:
    linear-gradient(
      145deg,
      rgba(60, 214, 154, 0.055),
      rgba(155, 77, 255, 0.035)
    );
}

.auth-v11-onboarding-preview > span {
  color: #82e5ba;
  font-size: 11px;
  font-weight: 760;
}

.auth-v11-onboarding-preview ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: #a89daf;
  font-size: 11px;
  line-height: 1.45;
}

/* ===============================================================
   AUTH FORMS
================================================================ */

.auth-v11-form-card {
  position: relative;
  width: min(500px, 100%);
  padding: clamp(25px, 4vw, 38px);
  overflow: hidden;
  border:
    1px solid var(
      --auth-v11-border
    );
  border-radius: 25px;
  background:
    radial-gradient(
      circle at 90% 0%,
      rgba(155, 77, 255, 0.12),
      transparent 28%
    ),
    linear-gradient(
      145deg,
      rgba(21, 12, 42, 0.96),
      rgba(8, 5, 18, 0.985)
    );
  box-shadow:
    var(--auth-v11-shadow),
    0 0 65px rgba(119, 47, 255, 0.09);
}

.auth-v11-form-card::before {
  content: "";
  position: absolute;
  inset: 0 15% auto;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(222, 177, 255, 0.72),
      transparent
    );
}

.auth-v11-form-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 25px;
}

.auth-v11-form-heading h1,
.auth-v11-form-heading h2 {
  margin: 2px 0 0;
  color: var(--auth-v11-text);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.auth-v11-form-heading h1 {
  font-size:
    clamp(
      31px,
      4vw,
      43px
    );
}

.auth-v11-form-heading h2 {
  font-size:
    clamp(
      27px,
      3vw,
      36px
    );
}

.auth-v11-form-heading p {
  margin: 0;
  color: var(--auth-v11-muted);
  font-size: 13px;
  line-height: 1.58;
}

.auth-v11-form {
  display: grid;
  gap: 16px;
}

.auth-v11-form label,
.auth-v11-select-label {
  position: relative;
  display: grid;
  gap: 7px;
  color: #d8d0df;
  font-size: 11px;
  font-weight: 720;
}

.auth-v11-form input,
.auth-v11-form select,
.auth-v11-form textarea,
.auth-v11-select-label input,
.auth-v11-select-label select,
.auth-v11-select-label textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border:
    1px solid rgba(
      207,
      157,
      255,
      0.15
    );
  border-radius: 13px;
  outline: 0;
  color: #ffffff;
  background:
    rgba(5, 3, 13, 0.64);
  font:
    inherit;
  font-size: 14px;
  font-weight: 520;
  box-shadow:
    inset 0 1px 0 rgba(
      255,
      255,
      255,
      0.015
    );
  transition:
    border-color 140ms ease,
    box-shadow 140ms ease,
    background 140ms ease;
}

.auth-v11-form textarea,
.auth-v11-select-label textarea {
  min-height: 105px;
  line-height: 1.55;
  resize: vertical;
}

.auth-v11-form input:focus,
.auth-v11-form select:focus,
.auth-v11-form textarea:focus,
.auth-v11-select-label input:focus,
.auth-v11-select-label select:focus,
.auth-v11-select-label textarea:focus {
  border-color:
    rgba(207, 125, 255, 0.58);
  background:
    rgba(11, 6, 24, 0.84);
  box-shadow:
    0 0 0 3px rgba(
      155,
      77,
      255,
      0.09
    ),
    0 0 35px rgba(
      122,
      47,
      255,
      0.07
    );
}

.auth-v11-form input[readonly] {
  color: #91869b;
  cursor: default;
}

.auth-v11-form select,
.auth-v11-select-label select {
  cursor: pointer;
}

.auth-v11-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.auth-v11-label-row a,
.auth-v11-form-footer a,
.auth-v11-check a {
  color: #cc8cff;
  text-decoration: none;
}

.auth-v11-label-row a:hover,
.auth-v11-form-footer a:hover,
.auth-v11-check a:hover {
  color: #e2b8ff;
  text-decoration: underline;
}

.auth-v11-password-field {
  position: relative;
  display: block;
}

.auth-v11-password-field input {
  padding-right: 65px;
}

.auth-v11-password-field button {
  position: absolute;
  right: 7px;
  top: 50%;
  min-width: 48px;
  min-height: 34px;
  padding: 5px 8px;
  border:
    1px solid rgba(
      207,
      157,
      255,
      0.1
    );
  border-radius: 9px;
  color: #a99db4;
  background:
    rgba(255, 255, 255, 0.03);
  font-size: 9px;
  font-weight: 760;
  cursor: pointer;
  transform:
    translateY(-50%);
}

.auth-v11-password-field button:hover {
  color: #fff;
  border-color:
    rgba(207, 125, 255, 0.3);
  background:
    rgba(155, 77, 255, 0.09);
}

.auth-v11-password-meter {
  height: 4px;
  display: block;
  overflow: hidden;
  border-radius: 999px;
  background:
    rgba(255, 255, 255, 0.05);
}

.auth-v11-password-meter > span {
  width: 0;
  height: 100%;
  display: block;
  border-radius: inherit;
  background:
    var(--auth-v11-red);
  transition:
    width 180ms ease,
    background 180ms ease;
}

.auth-v11-password-meter > span[data-score="2"] {
  background:
    var(--auth-v11-yellow);
}

.auth-v11-password-meter > span[data-score="3"],
.auth-v11-password-meter > span[data-score="4"] {
  background:
    var(--auth-v11-green);
}

.auth-v11-form label > small {
  color: #796e84;
  font-size: 9px;
  font-weight: 520;
}

.auth-v11-optional {
  position: absolute;
  right: 0;
  top: 0;
  color: #746a80;
  font-size: 8px;
  font-weight: 650;
  text-transform: uppercase;
}

.auth-v11-check {
  display: grid !important;
  grid-template-columns:
    auto
    minmax(0, 1fr);
  align-items: start;
  gap: 9px !important;
  color: #958a9f !important;
  font-size: 10px !important;
  font-weight: 520 !important;
  line-height: 1.52;
  cursor: pointer;
}

.auth-v11-check input {
  width: 16px !important;
  min-height: 16px !important;
  margin: 1px 0 0 !important;
  padding: 0 !important;
  accent-color:
    var(--auth-v11-purple);
}

.auth-v11-primary,
.auth-v11-anchor-button {
  min-height: 49px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 17px;
  border: 0;
  border-radius: 13px;
  color: #fff;
  background:
    linear-gradient(
      135deg,
      var(--auth-v11-purple-bright),
      var(--auth-v11-indigo)
    );
  font-size: 12px;
  font-weight: 820;
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    0 13px 35px rgba(
      104,
      42,
      229,
      0.31
    );
  transition:
    transform 130ms ease,
    filter 130ms ease,
    box-shadow 130ms ease;
}

.auth-v11-primary:hover,
.auth-v11-anchor-button:hover {
  filter: brightness(1.08);
  transform:
    translateY(-1px);
  box-shadow:
    0 17px 44px rgba(
      104,
      42,
      229,
      0.39
    );
}

.auth-v11-primary:disabled,
.auth-v11-primary.is-loading {
  opacity: 0.58;
  cursor: wait;
}

.auth-v11-primary.is-loading > span {
  animation:
    authV11Arrow
    650ms
    ease-in-out
    infinite alternate;
}

@keyframes authV11Arrow {
  to {
    transform:
      translateX(4px);
  }
}

.auth-v11-form-footer {
  margin:
    22px
    0
    0;
  color: #857a90;
  font-size: 10px;
  text-align: center;
}

.auth-v11-flashes {
  display: grid;
  gap: 7px;
  margin-bottom: 17px;
}

.auth-v11-flash {
  padding: 11px 12px;
  border:
    1px solid rgba(
      207,
      157,
      255,
      0.15
    );
  border-radius: 12px;
  color: #d8cfdf;
  background:
    rgba(155, 77, 255, 0.065);
  font-size: 10px;
  line-height: 1.45;
}

.auth-v11-flash.error {
  border-color:
    rgba(255, 115, 150, 0.22);
  color: #ffb2c5;
  background:
    rgba(255, 115, 150, 0.055);
}

.auth-v11-flash.success {
  border-color:
    rgba(89, 238, 160, 0.2);
  color: #a5f4cf;
  background:
    rgba(89, 238, 160, 0.05);
}

/* ===============================================================
   RECOVERY AND TWO-FACTOR PUBLIC PAGES
================================================================ */

.auth-v11-centered-shell {
  width: min(620px, calc(100% - 28px));
  min-height: 100vh;
  display: grid;
  align-content: center;
  gap: 18px;
  margin: 0 auto;
  padding: 34px 0;
}

.auth-v11-centered-brand {
  margin: 0 auto;
}

.auth-v11-recovery-card {
  width: 100%;
  text-align: left;
}

.auth-v11-success-icon,
.auth-v11-error-icon,
.auth-v11-shield-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 17px;
  border-radius: 18px;
  font-size: 21px;
  font-weight: 900;
}

.auth-v11-success-icon {
  color: #b4f6d5;
  border:
    1px solid rgba(
      89,
      238,
      160,
      0.22
    );
  background:
    rgba(89, 238, 160, 0.08);
  box-shadow:
    0 0 34px rgba(
      89,
      238,
      160,
      0.08
    );
}

.auth-v11-error-icon {
  color: #ffc2d0;
  border:
    1px solid rgba(
      255,
      115,
      150,
      0.23
    );
  background:
    rgba(255, 115, 150, 0.07);
}

.auth-v11-shield-icon {
  color: #dca7ff;
  border:
    1px solid rgba(
      207,
      125,
      255,
      0.24
    );
  background:
    rgba(155, 77, 255, 0.095);
  box-shadow:
    0 0 38px rgba(
      155,
      77,
      255,
      0.11
    );
}

.auth-v11-secondary-link {
  display: block;
  margin-top: 18px;
  color: #ae83ce;
  font-size: 10px;
  text-align: center;
  text-decoration: none;
}

.auth-v11-secondary-link:hover {
  color: #ddb2ff;
}

.auth-v11-dev-link {
  display: grid;
  gap: 7px;
  margin-top: 18px;
  padding: 14px;
  border:
    1px dashed rgba(
      240,
      196,
      107,
      0.28
    );
  border-radius: 13px;
  background:
    rgba(240, 196, 107, 0.045);
}

.auth-v11-dev-link strong {
  color: #f3d28f;
  font-size: 10px;
}

.auth-v11-dev-link p {
  margin: 0;
  color: #9f937d;
  font-size: 9px;
  line-height: 1.45;
}

.auth-v11-dev-link a {
  color: #ffd994;
  font-size: 10px;
}

/* ===============================================================
   ONBOARDING
================================================================ */

body.auth-v11-onboarding {
  overflow-x: hidden;
  background:
    radial-gradient(
      circle at 12% 12%,
      rgba(155, 77, 255, 0.16),
      transparent 27%
    ),
    radial-gradient(
      circle at 87% 87%,
      rgba(93, 67, 255, 0.11),
      transparent 24%
    ),
    #080511;
}

body.auth-v11-onboarding
.v9-app-shell,
body.auth-v11-onboarding
.v10-app-shell {
  display: block !important;
}

body.auth-v11-onboarding
.v9-sidebar,
body.auth-v11-onboarding
.v10-sidebar,
body.auth-v11-onboarding
.v9-topbar,
body.auth-v11-onboarding
.v10-topbar,
body.auth-v11-onboarding
.v9-sidebar-scrim {
  display: none !important;
}

body.auth-v11-onboarding
.v9-main-shell,
body.auth-v11-onboarding
.v10-main-shell {
  min-height: 100vh;
  display: block !important;
  grid-column: 1 !important;
  margin: 0 !important;
}

body.auth-v11-onboarding
.v9-page,
body.auth-v11-onboarding
.v10-page {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
}

.auth-v11-onboarding-shell {
  width:
    min(
      1240px,
      calc(100% - 34px)
    );
  min-height: 100vh;
  margin: 0 auto;
  padding: 24px 0 45px;
}

.auth-v11-onboarding-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 22px;
}

.auth-v11-onboarding-progress {
  width: min(245px, 40vw);
  display: grid;
  grid-template-columns:
    auto
    minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.auth-v11-onboarding-progress > span {
  color: #9a8da5;
  font-size: 9px;
  font-weight: 750;
}

.auth-v11-onboarding-progress > div {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background:
    rgba(255, 255, 255, 0.06);
}

.auth-v11-onboarding-progress i {
  width: 33.333%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background:
    linear-gradient(
      90deg,
      var(--auth-v11-purple-bright),
      var(--auth-v11-indigo)
    );
  box-shadow:
    0 0 15px rgba(
      155,
      77,
      255,
      0.35
    );
  transition:
    width 250ms ease;
}

.auth-v11-onboarding-card {
  position: relative;
  display: grid;
  grid-template-columns:
    minmax(310px, 0.66fr)
    minmax(500px, 1.34fr);
  gap: 0;
  overflow: hidden;
  border:
    1px solid var(
      --auth-v11-border
    );
  border-radius: 27px;
  background:
    linear-gradient(
      145deg,
      rgba(21, 12, 42, 0.97),
      rgba(7, 4, 16, 0.985)
    );
  box-shadow:
    0 38px 140px rgba(
      0,
      0,
      0,
      0.52
    ),
    0 0 78px rgba(
      114,
      43,
      242,
      0.08
    );
}

.auth-v11-onboarding-card::before {
  content: "";
  position: absolute;
  inset: 0 18% auto;
  z-index: 3;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(222, 177, 255, 0.72),
      transparent
    );
}

.auth-v11-onboarding-copy {
  position: relative;
  min-height: 690px;
  display: grid;
  align-content: center;
  padding:
    clamp(
      30px,
      5vw,
      65px
    );
  border-right:
    1px solid rgba(
      207,
      157,
      255,
      0.1
    );
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(155, 77, 255, 0.15),
      transparent 30%
    ),
    rgba(
      255,
      255,
      255,
      0.012
    );
}

.auth-v11-onboarding-copy::after {
  content: "";
  position: absolute;
  width: 370px;
  height: 370px;
  left: -210px;
  bottom: -180px;
  border:
    1px solid rgba(
      207,
      157,
      255,
      0.08
    );
  border-radius: 50%;
  box-shadow:
    0 0 0 55px rgba(155, 77, 255, 0.012),
    0 0 0 110px rgba(155, 77, 255, 0.009);
}

.auth-v11-onboarding-copy h1 {
  margin: 13px 0 17px;
  font-size:
    clamp(
      38px,
      4.5vw,
      62px
    );
  line-height: 0.98;
  letter-spacing: -0.057em;
}

.auth-v11-onboarding-copy > p {
  margin: 0;
  color: #aea3b7;
  font-size: 14px;
  line-height: 1.67;
}

.auth-v11-onboarding-trust {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  color: #8f84a0;
  font-size: 10px;
}

.auth-v11-onboarding-trust span::first-letter {
  color: var(--auth-v11-green);
}

.auth-v11-onboarding-form {
  min-height: 690px;
  display: grid;
  grid-template-rows:
    minmax(0, 1fr)
    auto;
  padding:
    clamp(
      28px,
      4vw,
      52px
    );
}

.auth-v11-onboarding-step {
  display: grid;
  align-content: start;
  gap: 15px;
}

.auth-v11-js
.auth-v11-onboarding-step {
  display: none;
}

.auth-v11-js
.auth-v11-onboarding-step.is-active {
  display: grid;
  animation:
    authV11StepIn
    210ms
    ease
    both;
}

@keyframes authV11StepIn {
  from {
    opacity: 0;
    transform:
      translateX(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.auth-v11-onboarding-step h2 {
  max-width: 740px;
  margin: 1px 0 0;
  font-size:
    clamp(
      26px,
      3vw,
      36px
    );
  line-height: 1.08;
  letter-spacing: -0.043em;
}

.auth-v11-onboarding-step > p {
  margin: -5px 0 7px;
  color: #9e93aa;
  font-size: 12px;
  line-height: 1.55;
}

.auth-v11-choice-grid {
  display: grid;
  grid-template-columns:
    repeat(
      2,
      minmax(0, 1fr)
    );
  gap: 9px;
}

.auth-v11-choice-card {
  position: relative;
  min-height: 91px;
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border:
    1px solid rgba(
      207,
      157,
      255,
      0.11
    );
  border-radius: 15px;
  color: #dbd3e3;
  background:
    rgba(255, 255, 255, 0.023);
  cursor: pointer;
  transition:
    transform 130ms ease,
    border-color 130ms ease,
    background 130ms ease,
    box-shadow 130ms ease;
}

.auth-v11-choice-card:hover {
  transform:
    translateY(-1px);
  border-color:
    rgba(207, 133, 255, 0.28);
  background:
    rgba(155, 77, 255, 0.065);
}

.auth-v11-choice-card:has(input:checked) {
  border-color:
    rgba(207, 133, 255, 0.46);
  background:
    linear-gradient(
      145deg,
      rgba(155, 77, 255, 0.14),
      rgba(93, 67, 255, 0.055)
    );
  box-shadow:
    0 12px 34px rgba(
      94,
      36,
      188,
      0.08
    );
}

.auth-v11-choice-card input,
.auth-v11-use-case input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.auth-v11-choice-card > span {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.auth-v11-choice-card strong {
  font-size: 12px;
}

.auth-v11-choice-card small {
  color: #8e8399;
  font-size: 9px;
  line-height: 1.4;
}

.auth-v11-choice-card > b {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border:
    1px solid rgba(
      207,
      157,
      255,
      0.14
    );
  border-radius: 50%;
  color: transparent;
  background:
    rgba(255, 255, 255, 0.025);
  font-size: 9px;
}

.auth-v11-choice-card:has(input:checked) > b {
  color: #fff;
  border-color:
    rgba(207, 133, 255, 0.48);
  background:
    linear-gradient(
      135deg,
      var(--auth-v11-purple-bright),
      var(--auth-v11-indigo)
    );
}

.auth-v11-select-label {
  margin-top: 4px;
}

.auth-v11-use-case-grid {
  display: grid;
  grid-template-columns:
    repeat(
      2,
      minmax(0, 1fr)
    );
  gap: 9px;
}

.auth-v11-use-case {
  position: relative;
  min-height: 65px;
  display: grid;
  grid-template-columns:
    auto
    minmax(0, 1fr)
    auto;
  align-items: center;
  gap: 10px;
  padding: 12px 13px;
  border:
    1px solid rgba(
      207,
      157,
      255,
      0.11
    );
  border-radius: 14px;
  color: #d9d1e1;
  background:
    rgba(255, 255, 255, 0.022);
  cursor: pointer;
}

.auth-v11-use-case:hover,
.auth-v11-use-case:has(input:checked) {
  border-color:
    rgba(207, 133, 255, 0.31);
  background:
    rgba(155, 77, 255, 0.075);
}

.auth-v11-use-case > span {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #bd84ea;
  background:
    rgba(155, 77, 255, 0.1);
}

.auth-v11-use-case strong {
  font-size: 11px;
}

.auth-v11-use-case > b {
  color: transparent;
  font-size: 10px;
}

.auth-v11-use-case:has(input:checked) > b {
  color: var(
    --auth-v11-green
  );
}

.auth-v11-response-grid {
  display: grid;
  gap: 9px;
}

.auth-v11-response-card {
  min-height: 80px;
}

.auth-v11-personalization-toggle {
  display: grid;
  grid-template-columns:
    auto
    minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  margin-top: 5px;
  padding: 15px;
  border:
    1px solid rgba(
      89,
      238,
      160,
      0.16
    );
  border-radius: 15px;
  background:
    rgba(89, 238, 160, 0.035);
  cursor: pointer;
}

.auth-v11-personalization-toggle input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color:
    var(--auth-v11-green);
}

.auth-v11-personalization-toggle > span {
  display: grid;
  gap: 4px;
}

.auth-v11-personalization-toggle strong {
  font-size: 11px;
}

.auth-v11-personalization-toggle small {
  color: #8a988f;
  font-size: 9px;
  line-height: 1.45;
}

.auth-v11-onboarding-actions {
  display: grid;
  grid-template-columns:
    auto
    1fr
    auto;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding-top: 18px;
  border-top:
    1px solid rgba(
      207,
      157,
      255,
      0.09
    );
}

.auth-v11-onboarding-actions
.auth-v11-primary {
  min-width: 170px;
}

.auth-v11-back,
.auth-v11-next {
  min-height: 44px;
  padding: 9px 14px;
  border:
    1px solid rgba(
      207,
      157,
      255,
      0.13
    );
  border-radius: 12px;
  color: #b5aabd;
  background:
    rgba(255, 255, 255, 0.025);
  font-size: 10px;
  font-weight: 760;
  cursor: pointer;
}

.auth-v11-next {
  color: #fff;
  border-color:
    rgba(207, 133, 255, 0.25);
  background:
    rgba(155, 77, 255, 0.11);
}

.auth-v11-back:hover,
.auth-v11-next:hover {
  border-color:
    rgba(207, 133, 255, 0.38);
  background:
    rgba(155, 77, 255, 0.13);
}

.auth-v11-skip-form {
  position: absolute;
  left: clamp(30px, 5vw, 65px);
  bottom: 29px;
  z-index: 4;
}

.auth-v11-skip-form button {
  border: 0;
  color: #7b7087;
  background: transparent;
  font-size: 9px;
  cursor: pointer;
}



.auth-v11-skip-link {
  display: inline-block;
  color: #7b7087;
  font-size: 9px;
  text-decoration: none;
}

.auth-v11-skip-link:hover {
  color: #c0b5ca;
}

.auth-v11-skip-form button:hover {
  color: #c0b5ca;
}

/* ===============================================================
   SETTINGS AND SECURITY
================================================================ */

.auth-v11-settings-heading {
  position: relative;
  overflow: hidden;
  padding: 27px 29px !important;
  border:
    1px solid var(
      --auth-v11-border
    );
  border-radius: 23px;
  background:
    radial-gradient(
      circle at 88% 4%,
      rgba(155, 77, 255, 0.14),
      transparent 27%
    ),
    linear-gradient(
      145deg,
      rgba(22, 13, 43, 0.88),
      rgba(8, 5, 18, 0.93)
    );
  box-shadow:
    0 23px 79px rgba(
      0,
      0,
      0,
      0.2
    );
}

.auth-v11-settings-heading::before {
  content: "";
  position: absolute;
  inset: 0 18% auto;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(219, 169, 255, 0.6),
      transparent
    );
}

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

.auth-v11-settings-card {
  min-height: 100%;
}

.auth-v11-card-heading {
  display: grid;
  grid-template-columns:
    auto
    minmax(0, 1fr)
    auto;
  align-items: start;
  gap: 12px;
  margin-bottom: 18px;
}

.auth-v11-card-icon {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border:
    1px solid rgba(
      207,
      157,
      255,
      0.14
    );
  border-radius: 13px;
  color: #c88bf7;
  background:
    rgba(155, 77, 255, 0.085);
}

.auth-v11-card-heading h2 {
  margin: 2px 0 3px;
  font-size: 20px;
}

.auth-v11-card-heading p,
.auth-v11-muted {
  margin: 0;
  color: var(--auth-v11-muted);
  font-size: 10px;
  line-height: 1.48;
}

.auth-v11-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 5px 9px;
  border:
    1px solid rgba(
      207,
      157,
      255,
      0.13
    );
  border-radius: 999px;
  color: #ab8ac2;
  background:
    rgba(155, 77, 255, 0.055);
  font-size: 8px;
  font-weight: 800;
}

.auth-v11-status-pill.is-on {
  color: #a7f3cf;
  border-color:
    rgba(89, 238, 160, 0.2);
  background:
    rgba(89, 238, 160, 0.055);
}

.auth-v11-settings-check {
  padding: 12px;
  border:
    1px solid rgba(
      207,
      157,
      255,
      0.1
    );
  border-radius: 13px;
  background:
    rgba(255, 255, 255, 0.02);
}

.auth-v11-security-summary {
  display: grid;
  grid-template-columns:
    repeat(
      2,
      minmax(0, 1fr)
    );
  gap: 9px;
  margin-bottom: 15px;
}

.auth-v11-security-summary > div {
  display: grid;
  gap: 3px;
  padding: 13px;
  border:
    1px solid rgba(
      207,
      157,
      255,
      0.1
    );
  border-radius: 13px;
  background:
    rgba(255, 255, 255, 0.02);
}

.auth-v11-security-summary strong {
  font-size: 18px;
}

.auth-v11-security-summary span {
  color: #887d92;
  font-size: 8px;
}

.auth-v11-feature-list {
  display: grid;
  gap: 8px;
  margin: 4px 0 17px;
  color: #a99db4;
  font-size: 10px;
}

.auth-v11-feature-list span::first-letter {
  color: var(--auth-v11-green);
}

.auth-v11-settings-details {
  margin-top: 9px;
  padding: 11px 12px;
  border:
    1px solid rgba(
      207,
      157,
      255,
      0.1
    );
  border-radius: 13px;
  background:
    rgba(255, 255, 255, 0.018);
}

.auth-v11-settings-details summary {
  color: #b9a9c7;
  font-size: 10px;
  font-weight: 720;
  cursor: pointer;
}

.auth-v11-settings-details
.auth-v11-form {
  margin-top: 13px;
}

.auth-v11-danger-details {
  border-color:
    rgba(255, 115, 150, 0.11);
}

.auth-v11-danger-details summary {
  color: #c58495;
}

.auth-v11-preference-summary {
  display: grid;
  gap: 0;
  margin: 0 0 16px;
}

.auth-v11-preference-summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  padding: 10px 0;
  border-bottom:
    1px solid rgba(
      207,
      157,
      255,
      0.075
    );
}

.auth-v11-preference-summary dt {
  color: #887d92;
  font-size: 9px;
}

.auth-v11-preference-summary dd {
  margin: 0;
  color: #d9d1e0;
  font-size: 9px;
  font-weight: 680;
  text-align: right;
}

/* ===============================================================
   TWO-FACTOR SETUP AND RECOVERY CODES
================================================================ */

.auth-v11-security-layout {
  display: grid;
  grid-template-columns:
    minmax(0, 1.35fr)
    minmax(280px, 0.65fr);
  gap: 14px;
  align-items: start;
}

.auth-v11-security-panel {
  display: grid;
  gap: 18px;
}

.auth-v11-security-panel-heading {
  display: grid;
  grid-template-columns:
    auto
    minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}

.auth-v11-security-panel-heading > span {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background:
    linear-gradient(
      135deg,
      var(--auth-v11-purple-bright),
      var(--auth-v11-indigo)
    );
  font-size: 11px;
  font-weight: 900;
}

.auth-v11-security-panel-heading h2 {
  margin: 0 0 4px;
  font-size: 21px;
}

.auth-v11-security-panel-heading p {
  margin: 0;
  color: var(--auth-v11-muted);
  font-size: 10px;
  line-height: 1.48;
}

.auth-v11-security-aside {
  position: sticky;
  top: calc(
    var(--v9-topbar-height)
    + 18px
  );
  padding: 21px;
  border:
    1px solid rgba(
      89,
      238,
      160,
      0.14
    );
  border-radius: 18px;
  background:
    linear-gradient(
      145deg,
      rgba(89, 238, 160, 0.045),
      rgba(155, 77, 255, 0.025)
    );
}

.auth-v11-security-aside h2 {
  margin: 9px 0;
  font-size: 21px;
}

.auth-v11-security-aside p,
.auth-v11-security-aside li {
  color: #9b9e9f;
  font-size: 10px;
  line-height: 1.55;
}

.auth-v11-security-aside ul {
  display: grid;
  gap: 7px;
  padding-left: 17px;
}

.auth-v11-qr-layout {
  display: grid;
  grid-template-columns:
    auto
    minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.auth-v11-qr {
  padding: 12px;
  border-radius: 18px;
  background: #fff;
  box-shadow:
    0 20px 60px rgba(
      0,
      0,
      0,
      0.34
    );
}

.auth-v11-qr img {
  width: 210px;
  height: 210px;
  display: block;
}

.auth-v11-manual-key {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.auth-v11-manual-key > span {
  color: #8b8096;
  font-size: 9px;
}

.auth-v11-manual-key > strong {
  font-size: 11px;
}

.auth-v11-manual-key code {
  display: block;
  overflow-wrap: anywhere;
  padding: 11px 12px;
  border:
    1px solid rgba(
      207,
      157,
      255,
      0.13
    );
  border-radius: 11px;
  color: #dcb5fa;
  background: #080512;
  font:
    12px/1.5
    "Cascadia Code",
    Consolas,
    monospace;
  letter-spacing: 0.06em;
}

.auth-v11-manual-key button {
  width: fit-content;
  border: 0;
  padding: 0;
  color: #bc82e8;
  background: transparent;
  font-size: 9px;
  cursor: pointer;
}

.auth-v11-manual-key p {
  color: #756b80;
  font-size: 9px;
  line-height: 1.55;
}

.auth-v11-recovery-codes-shell {
  width: min(860px, 100%);
  margin: 0 auto;
}

.auth-v11-recovery-codes-card {
  text-align: center;
}

.auth-v11-recovery-codes-card
.auth-v11-success-icon {
  margin:
    0
    auto
    15px;
}

.auth-v11-recovery-codes-card h1 {
  margin: 8px 0;
  font-size:
    clamp(
      34px,
      5vw,
      54px
    );
  letter-spacing: -0.052em;
}

.auth-v11-recovery-codes-card > p {
  max-width: 610px;
  margin:
    0
    auto
    23px;
  color: var(--auth-v11-muted);
  font-size: 12px;
}

.auth-v11-recovery-code-grid {
  display: grid;
  grid-template-columns:
    repeat(
      2,
      minmax(0, 1fr)
    );
  gap: 8px;
  max-width: 660px;
  margin: 0 auto;
}

.auth-v11-recovery-code-grid code {
  padding: 12px;
  border:
    1px solid rgba(
      207,
      157,
      255,
      0.13
    );
  border-radius: 11px;
  color: #ebd8f9;
  background: #080512;
  font:
    13px/1.3
    "Cascadia Code",
    Consolas,
    monospace;
  letter-spacing: 0.06em;
}

.auth-v11-recovery-code-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-top: 21px;
}

.auth-v11-warning-box {
  max-width: 660px;
  margin:
    22px
    auto
    0;
  padding: 14px;
  border:
    1px solid rgba(
      240,
      196,
      107,
      0.17
    );
  border-radius: 13px;
  text-align: left;
  background:
    rgba(240, 196, 107, 0.04);
}

.auth-v11-warning-box strong {
  color: #f1d18f;
  font-size: 10px;
}

.auth-v11-warning-box p {
  margin: 4px 0 0;
  color: #9c9079;
  font-size: 9px;
  line-height: 1.5;
}

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

@media (max-width: 1080px) {
  .auth-v11-public-shell {
    grid-template-columns:
      minmax(360px, 0.86fr)
      minmax(430px, 1.14fr);
  }

  .auth-v11-proof-grid {
    grid-template-columns: 1fr;
  }

  .auth-v11-proof-grid article {
    min-height: 0;
    grid-template-columns:
      auto
      minmax(0, 1fr);
    align-items: center;
  }

  .auth-v11-proof-grid article small {
    grid-column: 2;
  }

  .auth-v11-onboarding-card {
    grid-template-columns: 1fr;
  }

  .auth-v11-onboarding-copy {
    min-height: auto;
    border-right: 0;
    border-bottom:
      1px solid rgba(
        207,
        157,
        255,
        0.1
      );
  }

  .auth-v11-onboarding-form {
    min-height: 650px;
  }

  .auth-v11-skip-form {
    position: static;
    grid-column: 1 / -1;
    padding:
      0
      52px
      25px;
  }
}

@media (max-width: 900px) {
  .auth-v11-public-shell {
    display: block;
  }

  .auth-v11-brand-panel {
    min-height: auto;
    padding: 25px;
    border-right: 0;
    border-bottom:
      1px solid rgba(
        207,
        157,
        255,
        0.1
      );
  }

  .auth-v11-brand-message {
    padding:
      55px
      0
      20px;
  }

  .auth-v11-brand-message h1 {
    max-width: 740px;
  }

  .auth-v11-public-note {
    display: none;
  }

  .auth-v11-form-panel {
    min-height: auto;
    padding:
      35px
      20px
      50px;
  }

  .auth-v11-settings-grid {
    grid-template-columns: 1fr;
  }

  .auth-v11-security-layout {
    grid-template-columns: 1fr;
  }

  .auth-v11-security-aside {
    position: static;
  }
}

@media (max-width: 650px) {
  .auth-v11-brand-panel {
    display: block;
  }

  .auth-v11-brand-message {
    padding-top: 45px;
  }

  .auth-v11-brand-message h1 {
    font-size: 41px;
  }

  .auth-v11-brand-message > p {
    font-size: 14px;
  }

  .auth-v11-proof-grid {
    display: none;
  }

  .auth-v11-form-panel {
    padding-inline: 12px;
  }

  .auth-v11-form-card {
    padding: 23px 18px;
    border-radius: 20px;
  }

  .auth-v11-onboarding-shell {
    width: calc(100% - 14px);
    padding-top: 10px;
  }

  .auth-v11-onboarding-header {
    padding-inline: 8px;
  }

  .auth-v11-onboarding-progress {
    width: 140px;
  }

  .auth-v11-onboarding-copy {
    padding: 27px 21px;
  }

  .auth-v11-onboarding-copy h1 {
    font-size: 38px;
  }

  .auth-v11-onboarding-form {
    min-height: 0;
    padding: 25px 17px;
  }

  .auth-v11-choice-grid,
  .auth-v11-use-case-grid {
    grid-template-columns: 1fr;
  }

  .auth-v11-onboarding-actions {
    grid-template-columns:
      auto
      1fr;
  }

  .auth-v11-onboarding-actions
  > span {
    display: none;
  }

  .auth-v11-next,
  .auth-v11-onboarding-actions
  .auth-v11-primary {
    grid-column: 2;
  }

  .auth-v11-qr-layout {
    grid-template-columns: 1fr;
  }

  .auth-v11-qr {
    width: fit-content;
    margin: 0 auto;
  }

  .auth-v11-qr img {
    width: min(210px, 65vw);
    height: auto;
  }

  .auth-v11-recovery-code-grid {
    grid-template-columns: 1fr;
  }

  .auth-v11-card-heading {
    grid-template-columns:
      auto
      minmax(0, 1fr);
  }

  .auth-v11-card-heading
  .auth-v11-status-pill {
    grid-column: 1 / -1;
    width: fit-content;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-v11-js
  .auth-v11-onboarding-step.is-active,
  .auth-v11-primary,
  .auth-v11-choice-card,
  .auth-v11-onboarding-progress i {
    animation: none !important;
    transition-duration:
      0.001ms !important;
  }
}
