#fxRecuperarShell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 48%, #effdf7 100%) !important;
  color: #0f172a;
  isolation: isolate;
}

#fxRecuperarShell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, transparent 0 18%, rgba(37, 99, 235, 0.08) 18% 18.35%, transparent 18.35% 46%, rgba(16, 185, 129, 0.08) 46% 46.3%, transparent 46.3%),
    repeating-linear-gradient(145deg, rgba(37, 99, 235, 0.035) 0 1px, transparent 1px 38px),
    repeating-linear-gradient(90deg, rgba(15, 23, 42, 0.05) 0 1px, transparent 1px 92px),
    repeating-linear-gradient(0deg, rgba(15, 23, 42, 0.04) 0 1px, transparent 1px 92px);
  opacity: 1;
  pointer-events: none;
}

#fxRecuperarShell *,
#fxRecuperarShell *::before,
#fxRecuperarShell *::after {
  box-sizing: border-box;
}

#fxRecuperarShell > div {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 48px 24px !important;
}

#fxRecuperarCard {
  width: min(100%, 460px) !important;
  max-width: none !important;
  padding: 52px 38px 30px !important;
  border: 1px solid rgba(148, 163, 184, 0.28) !important;
  border-radius: 28px !important;
  background: rgba(255, 255, 255, 0.95) !important;
  color: #0f172a !important;
  box-shadow: 0 34px 90px rgba(15, 23, 42, 0.18) !important;
  backdrop-filter: blur(18px) !important;
}

#fxRecuperarCard .fx-recuperar-deco {
  display: none !important;
}

#fxRecuperarCard .relative.z-10 > .flex.items-center {
  display: block !important;
  margin-bottom: 18px;
  text-align: left;
}

#fxRecuperarLogo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 12px;
}

#fxRecuperarLogo > div {
  display: block !important;
  width: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#fxRecuperarLogo span {
  display: block !important;
  width: auto !important;
  height: 82px !important;
  aspect-ratio: auto !important;
  overflow: visible !important;
  border-radius: 0 !important;
}

#fxRecuperarLogo img {
  display: block;
  width: auto !important;
  height: 82px !important;
  max-width: 330px;
  object-fit: contain;
  object-position: left center;
}

#fxRecuperarCard h1 {
  margin: 0;
  color: #0f172a !important;
  font-size: 30px !important;
  line-height: 1.1 !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
}

#fxRecuperarCard h1 + p {
  margin: 8px 0 0;
  color: #475569 !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
  font-weight: 500;
  letter-spacing: 0;
}

#recStep1,
#recStep2 {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px !important;
}

#recStep1.hidden,
#recStep2.hidden {
  display: none !important;
}

#recStep1 > :not([hidden]) ~ :not([hidden]),
#recStep2 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 0 !important;
}

.fx-rec-field {
  position: relative;
}

#fxRecuperarCard .fx-rec-input {
  width: 100%;
  min-height: 52px;
  margin-top: 0 !important;
  padding: 20px 14px 7px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  font-size: 15px !important;
  font-weight: 650;
  letter-spacing: 0;
  outline: none !important;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.035), 0 1px 0 rgba(15, 23, 42, 0.04);
  transition: border-color 170ms ease, box-shadow 170ms ease, background-color 170ms ease;
}

#fxRecuperarCard .fx-rec-input:focus,
#fxRecuperarCard .fx-rec-input:not(:placeholder-shown) {
  border-color: #2563eb !important;
  background: #ffffff !important;
  box-shadow: inset 0 1px 3px rgba(37, 99, 235, 0.08), 0 0 0 4px rgba(37, 99, 235, 0.12), 0 12px 24px rgba(15, 23, 42, 0.08) !important;
}

#fxRecuperarCard .fx-rec-input-password {
  padding-right: 48px !important;
}

#fxRecuperarCard .fx-rec-label {
  position: absolute;
  top: 15px;
  left: 14px;
  margin: 0 !important;
  color: #64748b !important;
  font-size: 14px !important;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none !important;
  pointer-events: none;
  transform-origin: left center;
  transition: transform 170ms ease, color 170ms ease, font-size 170ms ease, top 170ms ease;
}

#fxRecuperarCard .fx-rec-input:focus ~ .fx-rec-label,
#fxRecuperarCard .fx-rec-input:not(:placeholder-shown) ~ .fx-rec-label {
  top: 8px;
  color: #2563eb !important;
  font-size: 11px !important;
}

#fxRecuperarCard .fx-rec-code {
  text-align: center;
  font-size: 18px !important;
  font-weight: 850;
  letter-spacing: 0.32em !important;
}

.fx-rec-toggle {
  position: absolute;
  top: 50%;
  right: 12px;
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color 160ms ease, color 160ms ease;
}

.fx-rec-toggle:hover {
  background: #eff6ff;
  color: #2563eb;
}

.fx-rec-toggle svg {
  width: 20px;
  height: 20px;
}

#fxRecuperarCard input:-webkit-autofill,
#fxRecuperarCard input:-webkit-autofill:hover,
#fxRecuperarCard input:-webkit-autofill:focus {
  -webkit-text-fill-color: #0f172a !important;
  caret-color: #0f172a !important;
  box-shadow: 0 0 0 1000px #ffffff inset !important;
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
  transition: background-color 9999s ease-out 0s;
}

#recSendCodeBtn,
#recResetBtn {
  position: relative;
  display: inline-flex;
  min-height: 46px;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  border: 0 !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #2563eb 0%, #0891b2 38%, #10b981 68%, #2563eb 100%) !important;
  background-size: 190% 190% !important;
  background-position: 0% 50% !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 850 !important;
  letter-spacing: 0;
  cursor: pointer;
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.28) !important;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease, background-position 260ms ease;
}

#recSendCodeBtn:hover,
#recResetBtn:hover {
  background-position: 100% 50% !important;
  filter: brightness(0.98) saturate(1.05);
  transform: translateY(-2px);
  box-shadow: 0 24px 40px rgba(37, 99, 235, 0.34) !important;
}

#recSendCodeBtn:active,
#recResetBtn:active {
  transform: scale(0.98);
}

#recSendCodeBtn:disabled,
#recResetBtn:disabled,
#recResendBtn:disabled {
  cursor: not-allowed;
  filter: saturate(0.9);
  opacity: 0.66;
  transform: none !important;
}

#recStep1 > .text-xs.text-slate-400,
#recStep2 > .text-xs.text-slate-400 {
  margin-top: 2px !important;
  color: #64748b !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  font-weight: 650;
}

#recResetBtn + .grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px !important;
}

#recResendBtn,
#recStep2 a.w-full.text-center {
  display: inline-flex;
  min-height: 44px;
  width: 100%;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd5e1 !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  color: #334155 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

#recResendBtn:hover,
#recStep2 a.w-full.text-center:hover {
  border-color: #2563eb !important;
  background: #eff6ff !important;
  color: #1d4ed8 !important;
  transform: translateY(-1px);
}

#fxRecuperarCard .mt-6.text-xs.text-slate-400 {
  margin-top: 16px !important;
  color: #64748b !important;
  font-size: 13px !important;
  font-weight: 650;
}

#fxRecuperarCard .mt-6.text-xs.text-slate-400 a {
  color: #64748b !important;
  font-weight: 750;
  letter-spacing: 0;
  text-decoration: none;
}

#fxRecuperarCard .mt-6.text-xs.text-slate-400 a:hover {
  color: #2563eb !important;
}

#recAlert {
  margin-top: 14px;
  border-radius: 14px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1e3a8a;
  padding: 12px 13px;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

#recAlert.hidden {
  display: none !important;
}

#recAlert.text-emerald-100 {
  border-color: #bbf7d0 !important;
  background: #ecfdf5 !important;
  color: #065f46 !important;
}

#recAlert.text-yellow-100 {
  border-color: #fde68a !important;
  background: #fffbeb !important;
  color: #92400e !important;
}

#recAlert.text-rose-100 {
  border-color: #fecaca !important;
  background: #fff1f2 !important;
  color: #991b1b !important;
}

#recAlert.text-blue-100 {
  border-color: #bfdbfe !important;
  background: #eff6ff !important;
  color: #1e3a8a !important;
}

@media (max-width: 640px) {
  #fxRecuperarShell > div {
    align-items: center !important;
    justify-content: center !important;
    padding: 34px 12px 24px !important;
  }

  #fxRecuperarCard {
    width: min(100%, 420px) !important;
    padding: 30px 20px 24px !important;
    border-radius: 22px !important;
  }

  #fxRecuperarCard .relative.z-10 > .flex.items-center {
    margin-bottom: 18px;
    text-align: center;
  }

  #fxRecuperarLogo {
    justify-content: center;
    margin-bottom: 10px;
  }

  #fxRecuperarLogo span,
  #fxRecuperarLogo img {
    height: 64px !important;
    max-width: 270px;
    object-position: center;
  }

  #fxRecuperarCard h1 {
    font-size: 26px !important;
    text-align: center;
  }

  #fxRecuperarCard h1 + p {
    max-width: 300px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
    font-size: 15px !important;
  }

  #recStep1,
  #recStep2 {
    margin-top: 18px !important;
  }

  #recResetBtn + .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #fxRecuperarCard .mt-6.text-xs.text-slate-400 {
    text-align: center;
  }
}

@media (max-width: 380px) {
  #recResetBtn + .grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  #recSendCodeBtn,
  #recResetBtn,
  #recResendBtn,
  #recStep2 a.w-full.text-center,
  #fxRecuperarCard .fx-rec-input,
  #fxRecuperarCard .fx-rec-label {
    transition: none !important;
  }
}
