
/* AI OTP UI | isolated classes to protect existing project styles */
.otpAiZ41,
.otpAiZ41 * { box-sizing: border-box; }

.otpAiZ41 {
  --otp-green: #38e59a;
  --otp-deep: #071b16;
  --otp-muted: #9ab6ac;
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  margin: 0;
  padding: 28px 16px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #f0fff8;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(ellipse at 15% 15%, #124e3a 0, transparent 38%),
    radial-gradient(ellipse at 90% 85%, #173e32 0, transparent 36%),
    linear-gradient(135deg, #04110e, #0a211a 55%, #06130f);
}

.otpAiZ41::before,
.otpAiZ41::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(2px);
}

.otpAiZ41::before {
  width: 390px;
  height: 390px;
  top: -140px;
  right: -100px;
  border: 1px solid #38e59a40;
  box-shadow: 0 0 90px #38e59a12, inset 0 0 70px #38e59a0c;
  animation: otpOrbitZ41 14s linear infinite;
}

.otpAiZ41::after {
  width: 270px;
  height: 270px;
  left: -100px;
  bottom: -90px;
  border: 1px solid #80ffd044;
  box-shadow: 0 0 85px #38e59a14;
  animation: otpOrbitZ41 19s linear infinite reverse;
}

.otpAiGridZ41 {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .12;
  background-image:
    linear-gradient(#7afac0 1px, transparent 1px),
    linear-gradient(90deg, #7afac0 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 85%);
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.otpAiOrbZ41 {
  position: fixed;
  z-index: -1;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #75ffc0;
  box-shadow: 0 0 16px #38e59a;
  pointer-events: none;
  animation: otpFloatZ41 8s ease-in-out infinite;
}
.otpAiOrbZ41.one { top: 18%; left: 13%; }
.otpAiOrbZ41.two { top: 72%; right: 12%; animation-delay: -3s; }
.otpAiOrbZ41.three { top: 40%; right: 8%; animation-delay: -5s; }

.otpAiWrapZ41 {
  width: 100%;
  max-width: 490px;
  animation: otpEnterZ41 .8s cubic-bezier(.2,.8,.2,1) both;
}

.otpAiBrandZ41 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 22px;
  animation: otpFadeZ41 1s both;
}

.otpAiLogoZ41 {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: #052218;
  font-size: 23px;
  font-weight: 900;
  background: linear-gradient(135deg, #a4ffd6, #30d88c);
  box-shadow: 0 0 30px #38e59a35;
  animation: otpPulseZ41 3s ease-in-out infinite;
}

.otpAiBrandTextZ41 { line-height: 1.35; }
.otpAiBrandTextZ41 strong {
  display: block;
  color: #f0fff8;
  font-size: 15px;
  letter-spacing: .3px;
}
.otpAiBrandTextZ41 span {
  color: #8caea0;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.otpAiCardZ41 {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border: 1px solid #a6ffda26;
  border-radius: 27px;
  background: linear-gradient(145deg, #102b23ed, #091b16f5);
  box-shadow: 0 28px 90px #0008, inset 0 1px #ffffff0b;
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}

.otpAiCardZ41::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #78ffbe, transparent);
  animation: otpShimmerZ41 4s linear infinite;
}

.otpAiEyebrowZ41 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid #38e59a2b;
  border-radius: 30px;
  color: #9fffd0;
  background: #38e59a0b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.otpAiLiveDotZ41 {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #47efa4;
  box-shadow: 0 0 12px #47efa4;
  animation: otpBlinkZ41 1.5s infinite;
}

.otpAiTitleZ41 {
  margin: 20px 0 10px;
  color: #f4fff9;
  font-size: clamp(26px, 5vw, 33px);
  line-height: 1.18;
  letter-spacing: -1px;
}

.otpAiGradientZ41 {
  color: #69f6b2;
  background: linear-gradient(90deg, #a4ffd6, #38e59a, #b7ffdd);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.otpAiDescriptionZ41 {
  margin: 0 0 25px;
  color: #9ab6ac;
  font-size: 13px;
  line-height: 1.8;
}

.otpAiLabelZ41 {
  display: block;
  margin: 19px 0 9px;
  color: #d8f4e7;
  font-size: 12px;
  font-weight: 700;
}

.otpAiInputWrapZ41 { position: relative; }

.otpAiInputZ41 {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 14px 15px;
  border: 1px solid #9ac7b52b;
  border-radius: 13px;
  outline: none;
  color: #f0fff8;
  background: #04140f9c;
  font: inherit;
  font-size: 14px;
  transition: border-color .25s, box-shadow .25s, background .25s;
}

.otpAiInputZ41::placeholder { color: #66877a; }

.otpAiInputZ41:focus {
  border-color: #4deca7;
  background: #061b13;
  box-shadow: 0 0 0 4px #38e59a13, 0 0 25px #38e59a0c;
}

.otpAiOtpInputZ41 {
  text-align: center;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 12px;
  padding-left: 23px;
}

.otpAiButtonZ41 {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 53px;
  margin-top: 21px;
  padding: 14px 18px;
  overflow: hidden;
  border: 0;
  border-radius: 13px;
  color: #052218;
  background: linear-gradient(110deg, #b1ffda, #43e9a0 45%, #8bffc8);
  background-size: 180% 100%;
  box-shadow: 0 8px 28px #38e59a1d;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s, background-position .4s;
}

.otpAiButtonZ41::before {
  content: "";
  position: absolute;
  top: -60%;
  left: -70%;
  width: 40%;
  height: 220%;
  transform: rotate(25deg);
  background: #ffffff55;
  transition: left .65s;
}

.otpAiButtonZ41:hover {
  transform: translateY(-3px);
  background-position: 100% 0;
  box-shadow: 0 13px 35px #38e59a35;
}
.otpAiButtonZ41:hover::before { left: 130%; }
.otpAiButtonZ41:active { transform: scale(.985); }
.otpAiButtonZ41:focus-visible { outline: 2px solid white; outline-offset: 4px; }

.otpAiMessageZ41 {
  margin: 16px 0;
  padding: 13px 14px;
  border: 1px solid #38e59a35;
  border-radius: 12px;
  color: #baffdc;
  background: #38e59a0d;
  font-size: 12px;
  line-height: 1.65;
  animation: otpEnterZ41 .35s both;
}
.otpAiMessageZ41.error {
  border-color: #ff7b7b55;
  color: #ffc2c2;
  background: #ff42420d;
}

.otpAiBackZ41 {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 22px;
  color: #9fffd0;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  transition: color .2s, gap .2s;
}
.otpAiBackZ41:hover { color: white; gap: 11px; }

.otpAiSecurityZ41 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 19px;
  color: #78998b;
  font-size: 10px;
  letter-spacing: .4px;
}

.otpAiStepsZ41 {
  display: flex;
  gap: 6px;
  margin: 23px 0 4px;
}
.otpAiStepsZ41 span {
  flex: 1;
  height: 3px;
  border-radius: 10px;
  background: #ffffff13;
}
.otpAiStepsZ41 span.active {
  background: linear-gradient(90deg, #38e59a, #a4ffd6);
  box-shadow: 0 0 12px #38e59a45;
}

.otpAiFooterZ41 {
  margin-top: 22px;
  color: #6e9081;
  text-align: center;
  font-size: 10px;
  letter-spacing: .4px;
}

@keyframes otpEnterZ41 {
  from { opacity: 0; transform: translateY(22px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes otpFadeZ41 {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes otpPulseZ41 {
  0%, 100% { box-shadow: 0 0 22px #38e59a20; }
  50% { box-shadow: 0 0 36px #38e59a55; }
}
@keyframes otpOrbitZ41 {
  from { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.08); }
  to { transform: rotate(360deg) scale(1); }
}
@keyframes otpFloatZ41 {
  0%, 100% { transform: translateY(0) scale(1); opacity: .35; }
  50% { transform: translateY(-35px) scale(1.6); opacity: 1; }
}
@keyframes otpShimmerZ41 {
  0%, 100% { opacity: .25; }
  50% { opacity: 1; }
}
@keyframes otpBlinkZ41 {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

@media (max-width: 520px) {
  .otpAiZ41 { padding: 18px 13px; }
  .otpAiCardZ41 { padding: 25px 21px; border-radius: 22px; }
  .otpAiTitleZ41 { font-size: 28px; }
  .otpAiBrandZ41 { margin-bottom: 17px; }
  .otpAiLogoZ41 { width: 43px; height: 43px; }
}

@media (prefers-reduced-motion: reduce) {
  .otpAiZ41 *, .otpAiZ41 *::before, .otpAiZ41 *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
