.verify-body {
  min-width: 320px;
  background: #05070a;
}

.verify-page {
  position: relative;
  isolation: isolate;

  min-height: calc(100vh - 160px);
  padding: clamp(54px, 7vw, 104px) 24px;

  display: grid;
  place-items: center;

  overflow: hidden;
  background:
    radial-gradient(circle at 76% 30%, rgba(0, 255, 102, 0.055), transparent 33%),
    linear-gradient(180deg, #05080a 0%, #06090d 52%, #05070a 100%);
}

.verify-page__backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.verify-page__grid {
  position: absolute;
  inset: 0;

  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 76%, transparent);
}

.verify-page__glow {
  position: absolute;
  top: 16%;
  right: 8%;

  width: 360px;
  height: 360px;

  border: 1px solid rgba(0, 255, 102, 0.075);
  border-radius: 50%;
  box-shadow:
    0 0 0 58px rgba(0, 255, 102, 0.012),
    0 0 0 116px rgba(0, 255, 102, 0.008);
}

.verify-layout {
  width: min(1120px, 100%);

  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  align-items: center;
  gap: clamp(48px, 7vw, 92px);
}

.verify-intro {
  min-width: 0;
}

.verify-intro__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  margin-bottom: 26px;

  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.17em;
}

.verify-intro__eyebrow i,
.verify-card__secure i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;

  border-radius: 50%;
  background: #00ff66;
  box-shadow: 0 0 16px rgba(0, 255, 102, 0.65);
}

.verify-intro h1 {
  margin: 0;

  color: #f8fafb;
  font-size: clamp(48px, 6vw, 78px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.verify-intro > p {
  max-width: 440px;
  margin: 28px 0 38px;

  color: #929ca7;
  font-size: 16px;
  line-height: 1.75;
}

.verify-steps {
  margin: 0;
  padding: 0;

  display: grid;
  gap: 0;

  list-style: none;
}

.verify-steps li {
  position: relative;

  min-height: 76px;
  padding: 0 0 24px 58px;

  display: flex;
  align-items: flex-start;
}

.verify-steps li:not(:last-child)::before {
  content: "";

  position: absolute;
  top: 31px;
  bottom: -1px;
  left: 17px;

  width: 1px;
  background: rgba(255, 255, 255, 0.09);
}

.verify-steps li > span {
  position: absolute;
  top: 0;
  left: 0;

  width: 35px;
  height: 35px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  background: #090d12;

  color: rgba(255, 255, 255, 0.35);
  font-size: 10px;
  font-weight: 850;
}

.verify-steps strong,
.verify-steps small {
  display: block;
}

.verify-steps strong {
  margin: 2px 0 5px;

  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 750;
}

.verify-steps small {
  color: rgba(255, 255, 255, 0.32);
  font-size: 11px;
  line-height: 1.55;
}

.verify-steps li.is-active > span,
.verify-steps li.is-complete > span {
  border-color: rgba(0, 255, 102, 0.46);
  color: #00ff66;
  background: rgba(0, 255, 102, 0.07);
}

.verify-steps li.is-complete:not(:last-child)::before {
  background: linear-gradient(#00ff66, rgba(0, 255, 102, 0.16));
}

.verify-steps li.is-active strong,
.verify-steps li.is-complete strong {
  color: #f4f7f9;
}

.verify-card {
  --verify-state: #00ff66;
  position: relative;

  min-width: 0;
  padding: 34px;

  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.032), transparent 38%),
    rgba(9, 13, 18, 0.965);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.verify-card::before {
  content: "";

  position: absolute;
  inset: -1px auto -1px -1px;
  width: 3px;

  border-radius: 24px 0 0 24px;
  background: var(--verify-state);
  box-shadow: 0 0 24px color-mix(in srgb, var(--verify-state) 40%, transparent);
}

.verify-card.is-error {
  --verify-state: #ff5367;
}

.verify-card.is-success {
  --verify-state: #00ff66;
}

.verify-card.is-loading,
.verify-card.is-waiting {
  --verify-state: #00ff66;
}

.verify-card__top {
  margin-bottom: 30px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  color: rgba(255, 255, 255, 0.28);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.15em;
}

.verify-card__secure {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.44);
}

.verify-card__secure i {
  width: 5px;
  height: 5px;
}

.verify-state-icon {
  width: 66px;
  height: 66px;

  margin-bottom: 25px;

  display: grid;
  place-items: center;

  border: 1px solid color-mix(in srgb, var(--verify-state) 34%, transparent);
  border-radius: 18px;
  background: color-mix(in srgb, var(--verify-state) 7%, transparent);
  color: var(--verify-state);
  box-shadow: inset 0 0 22px color-mix(in srgb, var(--verify-state) 5%, transparent);
}

.verify-state-icon svg {
  display: none;
  width: 34px;
  height: 34px;

  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.verify-card.is-loading .verify-state-icon__loading,
.verify-card.is-success .verify-state-icon__success,
.verify-card.is-waiting .verify-state-icon__waiting,
.verify-card.is-error .verify-state-icon__error {
  display: block;
}

.verify-card.is-loading .verify-state-icon__loading {
  animation: verify-spin 900ms linear infinite;
}

.verify-card.is-loading .verify-state-icon__loading circle {
  opacity: 0.18;
}

@keyframes verify-spin {
  to {
    transform: rotate(360deg);
  }
}

.verify-kicker {
  display: block;
  margin-bottom: 10px;

  color: var(--verify-state);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.verify-card h2 {
  margin: 0 0 13px;

  color: #f8fafb;
  font-size: clamp(29px, 4vw, 39px);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.verify-message {
  max-width: 470px;
  margin: 0;

  color: #929ca7;
  font-size: 15px;
  line-height: 1.7;
}

.verify-actions {
  margin-top: 25px;

  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.verify-primary-action,
.verify-secondary-action {
  min-height: 48px;
  padding: 0 19px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;

  border-radius: 10px;

  font: inherit;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.045em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.verify-primary-action {
  border: 1px solid #00ff66;
  background: #00ff66;
  color: #031008;
}

.verify-primary-action span {
  font-size: 17px;
  transition: transform 180ms ease;
}

.verify-primary-action:hover span {
  transform: translateX(3px);
}

.verify-secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.025);
  color: rgba(255, 255, 255, 0.72);
}

.verify-resend {
  margin-top: 30px;
  padding: 22px;

  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 15px;
  background: rgba(3, 6, 9, 0.52);
}

.verify-card.is-loading .verify-resend,
.verify-card.is-success .verify-resend {
  display: none;
}

.verify-resend__heading {
  margin-bottom: 18px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.verify-resend__heading span,
.verify-resend__heading strong {
  display: block;
}

.verify-resend__heading > div > span {
  margin-bottom: 5px;
  color: #00ff66;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.verify-resend__heading strong {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.4;
}

.verify-resend__mail {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;

  display: grid;
  place-items: center;

  border: 1px solid rgba(0, 255, 102, 0.22);
  border-radius: 10px;
  color: #00ff66;
  background: rgba(0, 255, 102, 0.055);
}

.verify-resend__mail svg,
.verify-resend__field svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.verify-resend__form label {
  display: block;
  margin-bottom: 8px;

  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.025em;
}

.verify-resend__field {
  min-height: 52px;

  display: flex;
  align-items: center;

  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.022);

  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.verify-resend__field:focus-within {
  border-color: rgba(0, 255, 102, 0.45);
  box-shadow: 0 0 0 3px rgba(0, 255, 102, 0.055);
}

.verify-resend__field > span {
  width: 50px;
  flex: 0 0 50px;

  display: grid;
  place-items: center;

  color: rgba(255, 255, 255, 0.34);
}

.verify-resend__field input {
  width: 100%;
  min-width: 0;
  height: 50px;
  padding: 0 15px 0 0;

  border: 0;
  outline: 0;
  background: transparent;
  color: #ffffff;

  font: inherit;
  font-size: 14px;
}

.verify-resend__field input::placeholder {
  color: rgba(255, 255, 255, 0.22);
}

.verify-resend__field input:disabled {
  opacity: 0.6;
}

.verify-resend__error {
  min-height: 18px;
  margin: 6px 0 4px;

  color: #ff697b;
  font-size: 12px;
  line-height: 1.5;
}

.verify-resend__button {
  position: relative;

  width: 100%;
  min-height: 50px;
  padding: 0 18px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  border: 1px solid rgba(0, 255, 102, 0.52);
  border-radius: 10px;
  background: rgba(0, 255, 102, 0.105);
  color: #eafff2;

  font: inherit;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;

  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.verify-resend__button:hover:not(:disabled) {
  border-color: #00ff66;
  background: rgba(0, 255, 102, 0.16);
  transform: translateY(-1px);
}

.verify-resend__button:disabled {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  color: rgba(255, 255, 255, 0.34);
  cursor: not-allowed;
}

.verify-resend__loader {
  width: 16px;
  height: 16px;

  display: none;

  border: 2px solid rgba(255, 255, 255, 0.18);
  border-top-color: #00ff66;
  border-radius: 50%;

  animation: verify-spin 700ms linear infinite;
}

.verify-resend__button.is-loading [data-resend-label],
.verify-resend__button.is-loading [data-resend-arrow] {
  display: none;
}

.verify-resend__button.is-loading .verify-resend__loader {
  display: block;
}

.verify-resend__status {
  margin: 13px 0 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  line-height: 1.6;
}

.verify-resend__status:empty {
  display: none;
}

.verify-resend__status[data-type="success"] {
  color: #72e9a2;
}

.verify-resend__status[data-type="error"] {
  color: #ff7585;
}

.verify-resend__hint {
  margin: 13px 0 0;
  padding-top: 13px;

  border-top: 1px solid rgba(255, 255, 255, 0.055);

  color: rgba(255, 255, 255, 0.28);
  font-size: 12px;
  line-height: 1.6;
}

.verify-card__footer {
  margin-top: 25px;
  padding-top: 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  border-top: 1px solid rgba(255, 255, 255, 0.06);

  color: rgba(255, 255, 255, 0.24);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.verify-card__footer a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 180ms ease;
}

.verify-card__footer a:hover {
  color: #00ff66;
}

[hidden] {
  display: none !important;
}

@media (max-width: 920px) {
  .verify-layout {
    max-width: 640px;
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .verify-intro h1 br {
    display: none;
  }

  .verify-intro > p {
    max-width: 560px;
  }

  .verify-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .verify-steps li {
    min-height: 0;
    padding: 48px 8px 0 0;
  }

  .verify-steps li:not(:last-child)::before {
    top: 17px;
    right: -5px;
    bottom: auto;
    left: 34px;
    width: calc(100% - 27px);
    height: 1px;
  }
}

@media (max-width: 600px) {
  .verify-page {
    min-height: calc(100vh - 120px);
    padding: 42px 14px 58px;
  }

  .verify-layout {
    gap: 30px;
  }

  .verify-intro__eyebrow {
    margin-bottom: 18px;
    font-size: 9px;
  }

  .verify-intro h1 {
    font-size: 46px;
  }

  .verify-intro > p {
    margin: 20px 0 28px;
    font-size: 14px;
  }

  .verify-steps small {
    display: none;
  }

  .verify-steps strong {
    padding-right: 4px;
    font-size: 10px;
    line-height: 1.35;
  }

  .verify-card {
    padding: 25px 20px;
    border-radius: 18px;
  }

  .verify-card::before {
    border-radius: 18px 0 0 18px;
  }

  .verify-card__top {
    margin-bottom: 24px;
  }

  .verify-state-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 21px;
    border-radius: 15px;
  }

  .verify-card h2 {
    font-size: 30px;
  }

  .verify-message {
    font-size: 14px;
  }

  .verify-primary-action,
  .verify-secondary-action {
    width: 100%;
  }

  .verify-resend {
    margin-top: 25px;
    padding: 18px 16px;
  }

  .verify-resend__heading strong {
    font-size: 13px;
  }

  .verify-card__footer {
    margin-top: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .verify-state-icon__loading,
  .verify-resend__loader {
    animation: none !important;
  }

  .verify-primary-action span,
  .verify-resend__button {
    transition: none;
  }
}
