.wj-auth-shell {
  --wj-auth-ink: #281c3c;
  --wj-auth-muted: #6c607d;
  --wj-auth-border: #e1d8ed;
  --wj-auth-surface: #ffffffd9;
  --foreground: #281c3c;
  --muted-foreground: #6c607d;
  --background: #ffffff;
  --muted: #eee7f7;
  --primary: #7040cc;
  --primary-foreground: #fff;
  --border: #d9cfe7;
  --input: #d9cfe7;
  --ring: #8b5cf6;
  --destructive: #ba294f;
  color-scheme: light;
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  color: var(--wj-auth-ink);
  background:
    radial-gradient(
      ellipse at 36% 34%,
      #ffffff 0,
      #fcfaff 24%,
      transparent 66%
    ),
    #f5f2fb;
}
.wj-auth-background {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}
.wj-auth-space-glow {
  position: absolute;
  inset: 12% -10% -5%;
  background: radial-gradient(ellipse at 32% 61%, #e7dbf640, transparent 53%);
}
.wj-auth-space-panorama {
  position: absolute;
  left: 50%;
  bottom: -90px;
  width: max(1440px, 110%);
  max-width: none;
  height: auto;
  transform: translateX(-50%);
  opacity: 0.48;
}
.wj-auth-header {
  width: min(1160px, calc(100% - 80px));
  margin: 0 auto;
  padding: 30px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wj-auth-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
}
.wj-auth-header-wordmark {
  display: block;
  width: 166px;
  height: auto;
}
.wj-auth-home-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  padding: 8px 0 8px 12px;
  color: #71627e;
  font-size: 12px;
}
.wj-auth-home-link:hover {
  color: #4b287a;
}
.wj-auth-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 40px 34px;
}
.wj-auth-card {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
  align-items: center;
  gap: 72px;
}
.wj-auth-story {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 8px 20px;
  text-align: center;
}
.wj-auth-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #77658f;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2.8px;
}
.wj-auth-eyebrow > span {
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #a187c0);
}
.wj-auth-crystal-stage {
  position: relative;
  isolation: isolate;
  width: min(100%, 490px);
  aspect-ratio: 1;
  margin: -12px auto -36px;
  pointer-events: none;
  user-select: none;
}
.wj-auth-crystal-halo {
  position: absolute;
  inset: 8% -10% 1%;
  z-index: -1;
  background: radial-gradient(
    ellipse at 50% 48%,
    #e9d9ff73,
    #f1e8fb42 43%,
    transparent 68%
  );
}
.wj-auth-crystal-shadow {
  position: absolute;
  left: 26%;
  right: 17%;
  bottom: 12%;
  height: 7%;
  border-radius: 50%;
  background: #8763ab1f;
  filter: blur(15px);
  transform: rotate(-9deg);
}
.wj-auth-crystal-mark {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(4px 15px 18px #72509c0e);
}
.wj-auth-story-copy {
  position: relative;
}
.wj-auth-story h2 {
  font-size: clamp(26px, 2.2vw, 31px);
  font-weight: 550;
  line-height: 1.5;
  letter-spacing: -0.9px;
}
.wj-auth-story h2 span {
  color: #8050b3;
}
.wj-auth-story-description {
  margin-top: 14px;
  color: #6c5c80;
  font-size: 12px;
  line-height: 1.8;
}
.wj-auth-form-panel {
  min-width: 0;
  display: flex;
  align-items: center;
  min-height: 560px;
  padding: 38px 40px 32px;
  border: 1px solid #fff;
  border-radius: 24px;
  background: linear-gradient(145deg, #ffffffef, #ffffffc9);
  backdrop-filter: blur(18px);
  box-shadow:
    0 24px 65px #65478613,
    0 4px 16px #76558e08,
    0 0 0 1px #d6c8e633;
}
.wj-auth-shell[data-auth-page='sign-up'] .wj-auth-form-panel {
  min-height: 0;
}
.wj-auth-content {
  width: 100%;
}
.wj-auth-heading {
  margin-bottom: 26px;
}
.wj-auth-form-eyebrow {
  margin-bottom: 12px;
  color: #7040cc;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
}
.wj-auth-heading h1 {
  color: #281c3c;
  font-size: 27px;
  line-height: 1.4;
  letter-spacing: -0.8px;
  font-weight: 600;
}
.wj-auth-form-description {
  margin-top: 10px;
  color: var(--wj-auth-muted);
  font-size: 12px;
  line-height: 1.7;
}
.wj-auth-form-panel form {
  gap: 18px;
}
.wj-auth-form-panel [data-slot='form-item'] {
  gap: 9px;
}
.wj-auth-form-panel [data-slot='form-label'] {
  color: #4e3f62;
  font-size: 12px;
  font-weight: 500;
}
.wj-auth-form-panel
  input:not([type='checkbox']):not([type='radio']):not([type='hidden']):not(
    [data-input-otp]
  ) {
  min-height: 46px;
  border: 1px solid #dcd3e8;
  border-radius: 10px;
  padding: 11px 14px;
  color: #2b1d3f;
  background: #f9f6fc;
  box-shadow: 0 1px 2px #4a226307 inset;
  font-size: 14px;
}
.wj-auth-form-panel
  input:not([type='checkbox']):not([type='radio']):not([type='hidden']):not(
    [data-input-otp]
  )::placeholder {
  color: #7a6b89;
}
.wj-auth-form-panel
  input:not([type='checkbox']):not([type='radio']):not([type='hidden']):not(
    [data-input-otp]
  ):focus-visible {
  border-color: #9867e5;
  outline: 3px solid #9152ef14;
  background: #fff;
}
.wj-auth-form-panel
  input:not([type='checkbox']):not([type='radio']):not([type='hidden']):not(
    [data-input-otp]
  )[aria-invalid='true'] {
  border-color: #ba294f;
}
.wj-auth-form-panel
  .relative
  > input:not([type='checkbox']):not([type='radio']):not([type='hidden']):not(
    [data-input-otp]
  ) {
  padding-right: 44px;
}
.wj-auth-form-panel
  div:has(
    > input:not([type='checkbox']):not([type='radio']):not([type='hidden']):not(
      [data-input-otp]
    )
  )
  > button {
  right: 9px;
  color: #7e6b97;
}
.wj-auth-form-panel button[type='submit'] {
  height: 46px;
  border: 1px solid #7040cc44;
  border-radius: 10px;
  margin-top: 6px;
  background: #7040cc;
  color: #fff;
  box-shadow:
    0 5px 18px #7040cc24,
    0 1px 0 #ffffff30 inset;
}
.wj-auth-form-panel button[type='submit']:hover:not(:disabled) {
  background: #6032b8;
  border-color: #9161db;
}
.wj-auth-form-panel
  input:not([type='checkbox']):not([type='radio']):not([type='hidden']):not(
    [data-input-otp]
  )
  ~ [data-slot='button'] {
  border-radius: 9px;
}
.wj-auth-form-panel form > div.flex.items-end > button {
  min-height: 46px;
  border-radius: 10px;
  padding-inline: 14px;
  background: #f0e8fa;
  color: #633b9d;
  border-color: #d8c9eb;
}
.wj-auth-form-panel .text-muted-foreground {
  color: var(--wj-auth-muted);
}
.wj-auth-form-panel [data-slot='form-message'] {
  color: #ba294f;
}
.wj-auth-form-panel [data-slot='checkbox'] {
  border-color: #9888ae;
}
.wj-auth-form-panel [data-slot='checkbox'][data-checked] {
  background: #7040cc;
  color: #fff;
}
.wj-auth-switch {
  margin: 24px 0 18px;
  color: #6c607d;
  text-align: center;
  font-size: 12px;
}
.wj-auth-switch a {
  margin-left: 5px;
  color: #7040cc;
  font-weight: 500;
}
.wj-auth-switch a:hover {
  color: #4d2388;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.wj-auth-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  padding: 12px 24px 24px;
  color: #7c6e8d;
  font-size: 10px;
  letter-spacing: 0.3px;
}
.wj-auth-shell a:focus-visible {
  outline: 2px solid #7040cc;
  outline-offset: 5px;
  border-radius: 3px;
}

.wj-auth-form-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
}
.wj-auth-form-eyebrow::before {
  content: '';
  display: block;
  width: 16px;
  height: 1px;
  background: #b49aca;
}
.wj-auth-sign-up-heading h1 {
  font-size: 29px;
}
.wj-auth-form-panel .wj-auth-sign-up-form {
  gap: 16px;
}
.wj-auth-sign-up-form [data-slot='form-item'] {
  gap: 8px;
}
.wj-auth-sign-up-content .wj-auth-switch {
  margin: 22px 0 16px;
  padding-top: 19px;
  border-top: 1px solid #e9e1f1;
}
.wj-auth-sign-up-content .wj-auth-form-description {
  max-width: 320px;
}
@media (max-width: 1100px) {
  .wj-auth-header {
    width: calc(100% - 56px);
  }
  .wj-auth-main {
    padding-inline: 28px;
  }
  .wj-auth-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
    gap: 40px;
  }
  .wj-auth-form-panel {
    padding-inline: 34px;
  }
}
@media (max-width: 960px) {
  .wj-auth-card {
    grid-template-columns: minmax(0, 1fr);
    max-width: 480px;
    gap: 0;
  }
  .wj-auth-story {
    display: none;
  }
  .wj-auth-main {
    padding-top: 28px;
  }
}
@media (max-width: 600px) {
  .wj-auth-header {
    width: calc(100% - 40px);
    padding-block: 23px;
  }
  .wj-auth-header-wordmark {
    width: 146px;
  }
  .wj-auth-home-link {
    font-size: 12px;
  }
  .wj-auth-main {
    align-items: flex-start;
    padding: 20px 20px 28px;
  }
  .wj-auth-form-panel {
    min-height: auto;
    padding: 32px clamp(0px, calc((100% - 302px) / 2), 28px) 25px;
    border-radius: 21px;
  }
  .wj-auth-heading h1 {
    font-size: 26px;
  }
  .wj-auth-form-panel
    input:not([type='checkbox']):not([type='radio']):not([type='hidden']):not(
      [data-input-otp]
    ) {
    font-size: 16px;
  }
  .wj-auth-space-panorama {
    opacity: 0.42;
    bottom: -180px;
  }
}
@media (max-width: 380px) {
  .wj-auth-header {
    width: calc(100% - 28px);
  }
  .wj-auth-main {
    padding-inline: 12px;
  }
  .wj-auth-form-panel {
    padding-inline: clamp(0px, calc((100% - 302px) / 2), 16px);
  }
}
/* Keep the default 300px verification widget usable on narrow phones. */
@media (max-width: 340px) {
  .wj-auth-main {
    padding-inline: 0;
  }
  .wj-auth-form-panel {
    padding-inline: clamp(0px, calc((100% - 302px) / 2), 8px);
    border-radius: 16px;
  }
}
