:root {
  --auth-background: #15161e;
  --auth-surface: #1d1f2a;
  --auth-surface-raised: #232633;
  --auth-blue: #139fe5;
  --auth-green: #7cd040;
  --auth-brand-gradient: linear-gradient(90deg, var(--auth-blue) 0%, var(--auth-green) 100%);
  --auth-text: #f7f3ff;
  --auth-muted: #aaa7bb;
  --auth-danger: #fda4af;
  --auth-radius: 1.25rem;
  --auth-shadow-outset: 14px 14px 30px #0d0e13, -10px -10px 24px rgb(56 59 77 / 42%);
  --auth-shadow-inset: inset 5px 5px 12px #11121a, inset -4px -4px 10px rgb(56 59 77 / 35%);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.auth-body {
  min-width: 320px;
  background: var(--auth-background);
  color: var(--auth-text);
}

.auth-shell {
  grid-template-columns: minmax(0, 0.94fr) minmax(500px, 1.06fr);
  background: var(--auth-background);
}

.auth-shell__form-panel {
  position: relative;
  min-width: 0;
  padding: clamp(2rem, 5vw, 5rem);
}

.auth-shell__form {
  width: min(100%, 35rem);
}

.auth-brand,
.auth-visual__brand {
  display: inline-flex;
  color: var(--auth-text);
  font-size: 1.05rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-decoration: none;
}

.auth-brand {
  margin-bottom: clamp(3rem, 8vh, 6rem);
}

.auth-heading {
  margin-bottom: 2rem;
}

.auth-heading p {
  margin: 0 0 0.75rem;
  color: var(--auth-green);
  background-image: var(--auth-brand-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.auth-heading h1 {
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 780;
  letter-spacing: -0.055em;
  line-height: 1;
}

.auth-heading > span {
  display: block;
  max-width: 31rem;
  margin-top: 1rem;
  color: var(--auth-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.auth-form {
  display: grid;
  gap: 1.35rem;
}

.auth-form__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.auth-form__options {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  color: var(--auth-muted);
  font-size: 0.88rem;
}

.auth-form__options a,
.auth-secondary-link {
  color: #63c7f7;
  font-weight: 700;
  text-decoration: none;
}

.auth-form__options a:hover,
.auth-secondary-link:hover {
  color: #9cddfc;
  text-decoration: underline;
}

.auth-checkbox {
  position: relative;
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  cursor: pointer;
}

.auth-checkbox__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.auth-checkbox__control {
  display: inline-flex;
  width: 1.3rem;
  height: 1.3rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: #171822;
  box-shadow:
    inset 3px 3px 6px rgb(0 0 0 / 60%),
    inset -2px -2px 5px rgb(255 255 255 / 3%);
  color: var(--auth-green);
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.auth-checkbox__control i {
  background-image: var(--auth-brand-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 0.68rem;
  opacity: 0;
  transform: scale(0.65);
  transition: opacity 140ms ease, transform 140ms ease;
}

.auth-checkbox__input:checked + .auth-checkbox__control {
  box-shadow:
    inset 3px 3px 6px rgb(0 0 0 / 72%),
    inset -2px -2px 5px rgb(255 255 255 / 4%),
    0 0 0 1px rgb(124 208 64 / 10%);
}

.auth-checkbox__input:checked + .auth-checkbox__control i {
  opacity: 1;
  transform: scale(1);
}

.auth-checkbox__input:focus-visible + .auth-checkbox__control {
  outline: 3px solid var(--auth-blue);
  outline-offset: 3px;
}

.auth-checkbox:hover .auth-checkbox__control {
  transform: translateY(-1px);
}

.auth-checkbox__label {
  line-height: 1.45;
}

.auth-action {
  min-height: 3.75rem;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: var(--auth-radius);
  background: var(--auth-brand-gradient);
  box-shadow: 8px 10px 20px rgb(9 7 19 / 65%), inset 1px 1px 1px rgb(255 255 255 / 24%);
  color: #061217;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: filter 160ms ease, transform 160ms ease;
}

.auth-action:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.auth-action:focus-visible,
.auth-secondary-link:focus-visible,
.auth-brand:focus-visible,
.auth-home-action:focus-visible {
  outline: 3px solid var(--auth-blue);
  outline-offset: 4px;
}

.auth-secondary-link {
  justify-self: center;
  font-size: 0.9rem;
}

.auth-home-action {
  position: absolute;
  top: clamp(2rem, 5vw, 4rem);
  right: clamp(2rem, 5vw, 5rem);
  display: inline-flex;
  min-height: 2.75rem;
  gap: 0.6rem;
  padding: 0 1rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 1rem;
  background: #1c1d26;
  box-shadow:
    4px 4px 10px rgb(0 0 0 / 30%),
    -2px -2px 8px rgb(255 255 255 / 2%),
    inset 1px 1px 2px rgb(255 255 255 / 4%),
    inset -1px -1px 3px rgb(0 0 0 / 20%);
  color: #aaa7bb;
  font-size: 0.78rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.auth-home-action:hover {
  color: var(--auth-text);
  box-shadow:
    6px 6px 14px rgb(0 0 0 / 35%),
    -2px -2px 8px rgb(255 255 255 / 3%),
    inset 1px 1px 2px rgb(255 255 255 / 5%);
  transform: translateY(-1px);
}

.auth-visual {
  min-height: calc(100svh - 2rem);
  margin: 1rem;
  border: 1px solid rgb(255 255 255 / 7%);
  border-radius: 3rem;
  background:
    radial-gradient(circle at 24% 20%, rgb(19 159 229 / 22%), transparent 34%),
    radial-gradient(circle at 80% 74%, rgb(124 208 64 / 16%), transparent 36%),
    linear-gradient(145deg, #17252c 0%, #151a20 48%, #172118 100%);
  box-shadow: var(--auth-shadow-outset), inset 1px 1px 0 rgb(255 255 255 / 7%);
}

.auth-visual__brand {
  position: absolute;
  top: 2.5rem;
  left: 3rem;
}

.auth-visual > p {
  position: absolute;
  right: 3rem;
  bottom: 2.75rem;
  left: 3rem;
  max-width: 25rem;
  margin: 0;
  color: #c8c3d4;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 600;
  line-height: 1.45;
}

.auth-visual__glow {
  position: absolute;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  filter: blur(85px);
}

.auth-visual__glow--top {
  top: -8rem;
  right: -6rem;
  background: rgb(19 159 229 / 24%);
}

.auth-visual__glow--bottom {
  bottom: -9rem;
  left: -8rem;
  background: rgb(124 208 64 / 20%);
}

.auth-visual__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(30vw, 24rem);
  height: auto;
  filter:
    drop-shadow(0 26px 34px rgb(0 0 0 / 48%))
    drop-shadow(0 0 34px rgb(19 159 229 / 18%));
  transform: translate(-50%, -53%);
  object-fit: contain;
}

.auth-readonly-email {
  display: flex;
  margin: 0 0 1.25rem;
  gap: 0.5rem;
  color: #a9a6b6;
  font-size: 0.85rem;
}

.auth-readonly-email strong {
  color: #f7f3ff;
}

.activation-wizard__steps {
  display: grid;
  margin: 0 0 1.5rem;
  padding: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
  list-style: none;
}

.activation-wizard__steps li {
  padding: 0.55rem 0.35rem;
  border: 1px solid rgb(255 255 255 / 5%);
  border-radius: 0.75rem;
  background: #191b25;
  color: #777587;
  font-size: 0.65rem;
  text-align: center;
}

.activation-wizard__steps li.is-active {
  border-color: rgb(19 159 229 / 45%);
  color: #f7f3ff;
  background: rgb(19 159 229 / 10%);
}

.activation-wizard__review {
  padding: 1.25rem;
  border-radius: 1rem;
  background: #191b25;
  box-shadow: inset 4px 4px 10px #11121a;
}

.activation-wizard__review h2 {
  margin-top: 0;
}

.activation-wizard__review dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 1rem;
}

.activation-wizard__review dd {
  margin: 0;
  color: #a9a6b6;
}

.auth-form__actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
}

.auth-form__actions--forward-only {
  justify-content: flex-end;
}

.auth-wizard-action {
  display: inline-flex;
  min-height: 3.75rem;
  padding: 0 1.35rem;
  gap: 0.65rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--auth-radius);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: filter 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

button.auth-wizard-action.auth-wizard-action--back {
  flex: 0 0 auto;
  border: 1px solid rgb(255 255 255 / 10%);
  background-color: #1c1d26;
  background-image: none;
  box-shadow:
    4px 4px 10px rgb(0 0 0 / 30%),
    -2px -2px 8px rgb(255 255 255 / 2%),
    inset 1px 1px 2px rgb(255 255 255 / 4%);
  color: #63c7f7;
}

button.auth-wizard-action.auth-wizard-action--back:hover {
  color: #9cddfc;
  transform: translateY(-1px);
}

button.auth-wizard-action.auth-wizard-action--back:focus-visible {
  outline: 3px solid var(--auth-blue);
  outline-offset: 4px;
}

button.auth-wizard-action.auth-wizard-action--next.auth-action {
  background-color: transparent;
  background-image: var(--auth-brand-gradient);
}

button.auth-wizard-action.auth-wizard-action--next {
  flex: 0 0 auto;
  margin-left: auto;
}

.auth-form__actions--forward-only .auth-wizard-action--next {
  width: 100%;
  margin-left: 0;
}

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

  .auth-shell__form-panel {
    min-height: 100svh;
    padding: 2rem 1.25rem 3rem;
  }

  .auth-home-action {
    top: 2rem;
    right: 1.25rem;
  }

  .auth-brand {
    margin-bottom: 3.5rem;
  }

  .auth-visual {
    display: none;
  }
}

@media (max-width: 520px) {
  .activation-wizard__steps {
    grid-template-columns: 1fr;
  }

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

  .auth-form__options {
    align-items: flex-start;
    flex-direction: column;
  }
}

.auth-form__code-field {
  display: grid;
  gap: 0.65rem;
}

.auth-form__code-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--auth-muted);
}

.auth-form__code-input {
  width: 100%;
  padding: 1rem 1.15rem;
  border: 1px solid rgb(255 255 255 / 6%);
  border-radius: var(--auth-radius);
  background: var(--auth-surface);
  box-shadow: var(--auth-shadow-inset);
  color: var(--auth-text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-align: center;
  text-transform: none;
}

.auth-form__code-input:focus {
  outline: 2px solid rgb(19 159 229 / 45%);
  outline-offset: 2px;
}

.auth-form__resend-action {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  margin-top: 0.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.baionoros-swal__code-input {
  width: 100% !important;
  margin: 0.5rem 0 0 !important;
}

@media (prefers-reduced-motion: reduce) {
  .form-field__input,
  .auth-action,
  .auth-wizard-action,
  .auth-checkbox__control,
  .auth-home-action {
    transition: none;
  }

  .auth-action:hover,
  button.auth-wizard-action.auth-wizard-action--back:hover,
  .auth-checkbox:hover .auth-checkbox__control,
  .auth-home-action:hover {
    transform: none;
  }
}

@media (forced-colors: active) {
  .auth-heading p,
  .auth-checkbox__control i {
    background-image: none;
    color: LinkText;
    -webkit-text-fill-color: currentColor;
  }
}
