/* Auth móvil DropDry — sign-in / sign-up */
body.dd-auth-mobile {
  --dd-auth-accent: #0052A3;
  --dd-auth-accent-soft: rgba(0, 82, 163, 0.12);
  --dd-auth-bg: transparent;
  --dd-auth-card-bg: #ffffff;
  --dd-auth-text: #0f172a;
  --dd-auth-muted: #64748b;
  --dd-auth-border: #e5e7eb;
  --dd-auth-radius: 24px;
  --dd-auth-input-h: 52px;
}

body.dd-auth-mobile .login-content {
  position: relative;
  background: transparent !important;
  overflow: hidden;
}

body.dd-auth-mobile .signin-mobile-bg,
body.dd-auth-mobile .signup-mobile-bg {
  position: relative;
  z-index: 1;
  background: transparent !important;
  background-image: none !important;
}

/* Ambient background (paridad mobile) */
body.dd-auth-mobile .dd-signin-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

body.dd-auth-mobile .dd-signin-bg__base {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, #eef5fb 0%, #f5f9fc 42%, #f8fafc 72%, #eef6fb 100%);
}

body.dd-auth-mobile .dd-signin-bg__mesh {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(ellipse 55% 40% at 88% 8%, rgba(42, 124, 221, 0.18), transparent 62%),
    radial-gradient(ellipse 50% 38% at 6% 92%, rgba(17, 188, 215, 0.14), transparent 60%),
    radial-gradient(ellipse 42% 30% at 50% 48%, rgba(31, 89, 183, 0.05), transparent 70%);
  animation: dd-signin-bg-mesh 18s ease-in-out infinite alternate;
}

body.dd-auth-mobile .dd-signin-bg__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(42px);
  will-change: transform, opacity;
}

body.dd-auth-mobile .dd-signin-bg__glow--tr {
  top: -8%;
  right: -12%;
  width: min(72vw, 320px);
  height: min(72vw, 320px);
  background: radial-gradient(circle, rgba(42, 124, 221, 0.28) 0%, rgba(17, 188, 215, 0.08) 48%, transparent 72%);
  animation: dd-signin-bg-drift-a 16s ease-in-out infinite alternate;
}

body.dd-auth-mobile .dd-signin-bg__glow--bl {
  bottom: -14%;
  left: -16%;
  width: min(80vw, 360px);
  height: min(80vw, 360px);
  background: radial-gradient(circle, rgba(31, 89, 183, 0.22) 0%, rgba(42, 124, 221, 0.1) 45%, transparent 70%);
  animation: dd-signin-bg-drift-b 20s ease-in-out infinite alternate;
}

body.dd-auth-mobile .dd-signin-bg__glow--mid {
  top: 38%;
  left: 42%;
  width: min(48vw, 220px);
  height: min(48vw, 220px);
  background: radial-gradient(circle, rgba(17, 188, 215, 0.12) 0%, transparent 68%);
  animation: dd-signin-bg-drift-c 14s ease-in-out infinite alternate;
}

body.dd-auth-mobile .dd-signin-bg__waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: min(34vh, 260px);
  opacity: 0.95;
}

body.dd-auth-mobile .dd-signin-bg__wave--a {
  transform-origin: center bottom;
  animation: dd-signin-bg-wave-a 12s ease-in-out infinite alternate;
}

body.dd-auth-mobile .dd-signin-bg__wave--b {
  transform-origin: center bottom;
  animation: dd-signin-bg-wave-b 9s ease-in-out infinite alternate;
}

body.dd-auth-mobile .dd-signin-bg__sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.28) 34%,
    transparent 52%,
    rgba(255, 255, 255, 0.12) 74%,
    transparent 100%
  );
  background-size: 220% 220%;
  animation: dd-signin-bg-sheen 22s ease-in-out infinite;
  opacity: 0.55;
}

body.dd-auth-mobile .dd-signin-bg__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 42%, transparent 40%, rgba(15, 23, 42, 0.035) 100%);
}

@keyframes dd-signin-bg-mesh {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-2%, 1.5%, 0) scale(1.04); }
}
@keyframes dd-signin-bg-drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: 0.85; }
  to { transform: translate3d(-8%, 6%, 0) scale(1.08); opacity: 1; }
}
@keyframes dd-signin-bg-drift-b {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: 0.8; }
  to { transform: translate3d(7%, -5%, 0) scale(1.1); opacity: 1; }
}
@keyframes dd-signin-bg-drift-c {
  from { transform: translate3d(0, 0, 0); opacity: 0.55; }
  to { transform: translate3d(-10%, 8%, 0); opacity: 0.9; }
}
@keyframes dd-signin-bg-wave-a {
  from { transform: translate3d(0, 0, 0) scaleX(1); }
  to { transform: translate3d(-3%, -2%, 0) scaleX(1.04); }
}
@keyframes dd-signin-bg-wave-b {
  from { transform: translate3d(0, 0, 0) scaleX(1.02); }
  to { transform: translate3d(2.5%, 1.5%, 0) scaleX(1); }
}
@keyframes dd-signin-bg-sheen {
  0% { background-position: 0% 40%; }
  50% { background-position: 100% 60%; }
  100% { background-position: 0% 40%; }
}

@media (prefers-reduced-motion: reduce) {
  body.dd-auth-mobile .dd-signin-bg__mesh,
  body.dd-auth-mobile .dd-signin-bg__glow,
  body.dd-auth-mobile .dd-signin-bg__wave--a,
  body.dd-auth-mobile .dd-signin-bg__wave--b,
  body.dd-auth-mobile .dd-signin-bg__sheen {
    animation: none !important;
  }
}

body.dd-auth-mobile .auth-split-row {
  align-items: center !important;
  justify-content: center;
  min-height: 100svh;
  padding: 1rem 0.85rem !important;
}

body.dd-auth-mobile .auth-form-col {
  padding: 0 !important;
  max-width: 440px;
  margin: 0 auto;
}

body.dd-auth-mobile .auth-form-col > .row,
body.dd-auth-mobile .auth-form-col > .row > [class*="col-"] {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
}

/* Tarjeta principal */
body.dd-auth-mobile .dd-auth-card,
body.dd-auth-mobile .login-glass-container,
body.dd-auth-mobile .signup-card {
  width: 100% !important;
  max-width: 420px !important;
  margin: 0 auto !important;
  padding: 1.65rem 1.35rem 1.45rem !important;
  background: var(--dd-auth-card-bg) !important;
  border: none !important;
  border-radius: var(--dd-auth-radius) !important;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  animation: none !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: visible !important;
}

body.dd-auth-mobile .login-glass-container::before,
body.dd-auth-mobile .login-glass-card::before {
  display: none !important;
}

body.dd-auth-mobile .login-glass-container:hover {
  transform: none;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08) !important;
}

body.dd-auth-mobile .dd-auth-card__shine {
  display: none;
}

/* Logo */
body.dd-auth-mobile .dd-auth-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 1.15rem;
}

body.dd-auth-mobile .dd-auth-brand img {
  height: 40px !important;
  width: auto;
}

/* Títulos */
body.dd-auth-mobile .dd-auth-title,
body.dd-auth-mobile .login-glass-card h2,
body.dd-auth-mobile .signup-card h2 {
  color: var(--dd-auth-accent) !important;
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem !important;
  text-align: center;
}

body.dd-auth-mobile .dd-auth-subtitle,
body.dd-auth-mobile .login-glass-card p.text-center,
body.dd-auth-mobile .signup-card p.text-center {
  color: var(--dd-auth-muted) !important;
  font-size: 0.88rem !important;
  margin-bottom: 1.15rem !important;
  text-align: center;
}

/* Inputs */
body.dd-auth-mobile .dd-auth-field {
  position: relative;
  margin-bottom: 0.85rem;
}

body.dd-auth-mobile .dd-auth-field__control {
  position: relative;
  margin-bottom: 0.85rem;
}

body.dd-auth-mobile .dd-auth-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dd-auth-accent);
}

body.dd-auth-mobile .dd-auth-field .form-control,
body.dd-auth-mobile .dd-auth-field__control .form-control,
body.dd-auth-mobile .login-glass-container .form-control,
body.dd-auth-mobile .signup-card .form-control {
  height: var(--dd-auth-input-h) !important;
  padding-left: 2.85rem !important;
  padding-right: 1rem !important;
  border: 1px solid var(--dd-auth-border) !important;
  border-radius: 14px !important;
  background: #fff !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
  font-size: 0.92rem;
  color: var(--dd-auth-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.dd-auth-mobile .dd-auth-field--toggle .form-control,
body.dd-auth-mobile .dd-auth-field__control--toggle .form-control {
  padding-right: 2.85rem !important;
}

body.dd-auth-mobile .dd-auth-field .form-control:focus,
body.dd-auth-mobile .dd-auth-field__control .form-control:focus,
body.dd-auth-mobile .login-glass-container .form-control:focus,
body.dd-auth-mobile .signup-card .form-control:focus {
  border-color: var(--dd-auth-accent) !important;
  box-shadow: 0 0 0 3px var(--dd-auth-accent-soft) !important;
  outline: none;
}

body.dd-auth-mobile .dd-auth-field.is-valid .form-control,
body.dd-auth-mobile .dd-auth-field__control.is-valid .form-control {
  border-color: #22c55e !important;
}

body.dd-auth-mobile .dd-auth-field__icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  color: #94a3b8;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  line-height: 0;
  transition: color 0.2s ease;
}

body.dd-auth-mobile .dd-auth-field__icon svg,
body.dd-auth-mobile .dd-auth-field__toggle svg {
  display: block;
  width: 20px;
  height: 20px;
}

body.dd-auth-mobile .dd-auth-field:focus-within .dd-auth-field__icon,
body.dd-auth-mobile .dd-auth-field__control:focus-within .dd-auth-field__icon {
  color: var(--dd-auth-accent);
}

body.dd-auth-mobile .dd-auth-field__toggle {
  position: absolute;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

body.dd-auth-mobile .dd-auth-field__toggle:hover {
  color: var(--dd-auth-accent);
}

/* Botones primarios */
body.dd-auth-mobile .dd-auth-actions {
  margin-top: 0.35rem;
  margin-bottom: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

body.dd-auth-mobile .dd-auth-btn:not(.is-hidden),
body.dd-auth-mobile #verifyBtn:not(.is-hidden),
body.dd-auth-mobile #loginBtn:not(.is-hidden),
body.dd-auth-mobile #registerBtn {
  width: 100% !important;
  height: var(--dd-auth-input-h) !important;
  border: none !important;
  border-radius: 14px !important;
  background: var(--dd-auth-accent) !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 8px 22px rgba(0, 82, 163, 0.32) !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

body.dd-auth-mobile .dd-auth-btn.is-hidden,
body.dd-auth-mobile #verifyBtn.is-hidden,
body.dd-auth-mobile #loginBtn.is-hidden {
  display: none !important;
}

body.dd-auth-mobile .dd-auth-btn:hover,
body.dd-auth-mobile #verifyBtn:hover,
body.dd-auth-mobile #loginBtn:hover,
body.dd-auth-mobile #registerBtn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 82, 163, 0.38) !important;
}

body.dd-auth-mobile .dd-auth-btn:active,
body.dd-auth-mobile #verifyBtn:active,
body.dd-auth-mobile #loginBtn:active,
body.dd-auth-mobile #registerBtn:active {
  transform: scale(0.98);
}

body.dd-auth-mobile .dd-auth-btn:disabled,
body.dd-auth-mobile #verifyBtn:disabled,
body.dd-auth-mobile #loginBtn:disabled,
body.dd-auth-mobile #registerBtn:disabled {
  opacity: 0.65;
  transform: none;
}

body.dd-auth-mobile .dd-auth-btn.is-loading {
  pointer-events: none;
}

/* Footer link */
body.dd-auth-mobile .dd-auth-footer,
body.dd-auth-mobile .login-glass-card .text-center.mt-3 p,
body.dd-auth-mobile .signup-card p.mt-3.text-center {
  color: var(--dd-auth-muted) !important;
  font-size: 0.88rem !important;
  margin: 0 !important;
  text-align: center;
}

body.dd-auth-mobile .dd-auth-footer a,
body.dd-auth-mobile .login-glass-card a[href*="sign-up"],
body.dd-auth-mobile .signup-card a[href*="sign-in"]:not(.dd-auth-btn),
body.dd-auth-mobile .dd-auth-link {
  color: var(--dd-auth-accent) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  font-size: 0.88rem;
}

body.dd-auth-mobile .dd-auth-back-link {
  margin-top: 0.65rem !important;
  text-align: center;
}

body.dd-auth-mobile .dd-auth-back-link.is-hidden {
  display: none !important;
}

body.dd-auth-mobile .dd-auth-back-btn {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  color: var(--dd-auth-muted) !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
  cursor: pointer;
  box-shadow: none !important;
  height: auto !important;
  width: auto !important;
  letter-spacing: normal;
  text-transform: none;
}

body.dd-auth-mobile .dd-auth-back-btn:hover {
  color: var(--dd-auth-accent) !important;
  transform: none !important;
  box-shadow: none !important;
}

body.dd-auth-mobile .dd-auth-verified-email {
  font-size: 0.82rem;
  color: var(--dd-auth-muted);
  margin-bottom: 1rem;
  padding: 0.55rem 0.75rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  line-height: 1.35;
}

body.dd-auth-mobile .dd-auth-verified-email strong {
  color: #16a34a;
  font-weight: 600;
  word-break: break-all;
}

/* Stepper registro (2 pasos) */
body.dd-auth-mobile .dd-auth-stepper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-bottom: 1.15rem;
  padding: 0 0.25rem;
}

body.dd-auth-mobile .dd-auth-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  min-width: 4.5rem;
}

body.dd-auth-mobile .dd-auth-step__num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.88rem;
  background: #e2e8f0;
  color: #94a3b8;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

body.dd-auth-mobile .dd-auth-step.is-active .dd-auth-step__num,
body.dd-auth-mobile .dd-auth-step.is-done .dd-auth-step__num {
  background: #22c55e;
  color: #fff;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.35);
}

body.dd-auth-mobile .dd-auth-step__label {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
}

body.dd-auth-mobile .dd-auth-step.is-active .dd-auth-step__label,
body.dd-auth-mobile .dd-auth-step.is-done .dd-auth-step__label {
  color: #16a34a;
}

body.dd-auth-mobile .dd-auth-step__line {
  flex: 1;
  max-width: 72px;
  height: 2px;
  background: #e2e8f0;
  margin: 17px 0.45rem 0;
  align-self: flex-start;
  transition: background 0.25s ease;
}

body.dd-auth-mobile .dd-auth-stepper.is-step-2 .dd-auth-step__line {
  background: linear-gradient(90deg, #22c55e 0%, #22c55e 100%);
}

body.dd-auth-mobile .dd-auth-step-panel.is-hidden {
  display: none !important;
}

body.dd-auth-mobile .dd-auth-step-panel {
  animation: dd-auth-reveal 0.35s ease both;
}

body.dd-auth-mobile .dd-auth-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dd-auth-accent);
  margin: 0 0 0.2rem;
  text-align: left;
}

body.dd-auth-mobile .dd-auth-card-desc {
  font-size: 0.82rem;
  color: var(--dd-auth-muted);
  margin: 0 0 1rem;
  text-align: left;
  line-height: 1.4;
}

body.dd-auth-mobile .dd-auth-btn--success:not(.is-hidden) {
  background: #22c55e !important;
  box-shadow: 0 8px 22px rgba(34, 197, 94, 0.32) !important;
}

body.dd-auth-mobile .dd-auth-btn--success:not(.is-hidden):hover {
  box-shadow: 0 12px 28px rgba(34, 197, 94, 0.38) !important;
}

body.dd-auth-mobile .dd-auth-btn--ghost {
  background: transparent !important;
  color: var(--dd-auth-muted) !important;
  box-shadow: none !important;
  font-size: 0.82rem !important;
  letter-spacing: 0;
  text-transform: none;
  height: auto !important;
  margin-top: 0.5rem;
}

body.dd-auth-mobile .dd-auth-btn--ghost:hover {
  color: var(--dd-auth-accent) !important;
  transform: none !important;
}

body.dd-auth-mobile .dd-auth-checks {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

body.dd-auth-mobile .signup-card .dd-auth-subtitle-main {
  margin-bottom: 0.85rem !important;
}

/* Pills tipo usuario (signup) */
body.dd-auth-mobile .dd-auth-type-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  padding: 4px;
  border-radius: 14px;
  background: rgba(118, 118, 128, 0.12);
  margin-bottom: 1rem;
}

body.dd-auth-mobile .dd-auth-type-pills__btn,
body.dd-auth-mobile .user-type-btn {
  border: none !important;
  border-radius: 11px !important;
  background: transparent !important;
  min-height: 72px !important;
  height: auto !important;
  padding: 0.55rem 0.4rem !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.25rem !important;
  box-shadow: none !important;
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.15s ease;
}

body.dd-auth-mobile .dd-auth-type-pills__btn svg,
body.dd-auth-mobile .user-type-btn svg {
  width: 22px !important;
  height: 22px !important;
  stroke: #64748b !important;
}

body.dd-auth-mobile .dd-auth-type-pills__btn span,
body.dd-auth-mobile .user-type-btn span {
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  color: #64748b !important;
}

body.dd-auth-mobile .dd-auth-type-pills__btn.active,
body.dd-auth-mobile .user-type-btn.active {
  background: #fff !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1) !important;
  transform: none !important;
}

body.dd-auth-mobile .dd-auth-type-pills__btn.active svg,
body.dd-auth-mobile .user-type-btn.active svg {
  stroke: var(--dd-auth-accent) !important;
}

body.dd-auth-mobile .dd-auth-type-pills__btn.active span,
body.dd-auth-mobile .user-type-btn.active span {
  color: var(--dd-auth-accent) !important;
}

/* Secciones que aparecen (sign-in paso 2) */
body.dd-auth-mobile .dd-auth-reveal {
  animation: dd-auth-reveal 0.35s ease both;
}

@keyframes dd-auth-reveal {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Alertas */
body.dd-auth-mobile #message.alert {
  border-radius: 12px;
  font-size: 0.85rem;
  border: none;
}

/* Checkbox términos */
body.dd-auth-mobile .signup-card .form-check {
  font-size: 0.82rem;
}

body.dd-auth-mobile .signup-card .form-check a {
  color: var(--dd-auth-accent) !important;
  font-weight: 600;
}

/* Desktop: mantener split con imagen */
@media (min-width: 992px) {
  body.dd-auth-mobile .auth-split-row {
    padding: 0 !important;
  }

  body.dd-auth-mobile .auth-form-col {
    max-width: none;
    padding: 2rem 1.5rem !important;
  }

  body.dd-auth-mobile .dd-auth-card,
  body.dd-auth-mobile .login-glass-container,
  body.dd-auth-mobile .signup-card {
    max-width: 440px !important;
  }
}

@media (max-width: 991.98px) {
  body.dd-auth-mobile .auth-side-image-col {
    display: none !important;
  }

  body.dd-auth-mobile .auth-form-col {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ─── Modales auth (sign-in) ─── */
body.dd-auth-mobile .dd-auth-modal .modal-dialog {
  max-width: 440px;
}

body.dd-auth-mobile .dd-auth-modal__content {
  border: none !important;
  border-radius: var(--dd-auth-radius) !important;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.14) !important;
  background: var(--dd-auth-card-bg) !important;
}

body.dd-auth-mobile .dd-auth-modal__header {
  background: var(--dd-auth-accent) !important;
  color: #fff !important;
  border: none !important;
  padding: 1.15rem 1.35rem !important;
}

body.dd-auth-mobile .dd-auth-modal__header-inner {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
}

body.dd-auth-mobile .dd-auth-modal__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

body.dd-auth-mobile .dd-auth-modal__icon svg {
  display: block;
  width: 22px;
  height: 22px;
  stroke: #fff;
}

body.dd-auth-mobile .dd-auth-modal__header .modal-title {
  color: #fff !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  margin: 0 !important;
  line-height: 1.25;
}

body.dd-auth-mobile .dd-auth-modal__subtitle {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}

body.dd-auth-mobile .dd-auth-modal__body {
  padding: 1.25rem 1.35rem 1.1rem !important;
  background: var(--dd-auth-card-bg) !important;
}

body.dd-auth-mobile .dd-auth-modal__footer {
  border: none !important;
  padding: 0 1.35rem 1.25rem !important;
  background: var(--dd-auth-card-bg) !important;
  display: flex;
  gap: 0.65rem;
  justify-content: flex-end;
}

body.dd-auth-mobile .dd-auth-modal__footer--solo {
  justify-content: center;
  padding-top: 0 !important;
}

body.dd-auth-mobile .dd-auth-modal__footer .dd-auth-btn {
  width: auto !important;
  min-width: 8.5rem;
  height: 46px !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.04em;
}

body.dd-auth-mobile .dd-auth-modal__footer .dd-auth-btn--ghost {
  min-width: 6.5rem;
}

/* Stepper 3 pasos (modal contraseña) */
body.dd-auth-mobile .dd-auth-modal-stepper {
  margin-bottom: 1.1rem;
}

body.dd-auth-mobile .dd-auth-modal-stepper .dd-auth-step {
  min-width: 3.25rem;
}

body.dd-auth-mobile .dd-auth-modal-stepper .dd-auth-step__line {
  flex: 1;
  min-width: 1.5rem;
  max-width: 4rem;
  margin-top: 16px;
}

body.dd-auth-mobile .dd-auth-modal-stepper.is-step-2 > .dd-auth-step__line:nth-child(2),
body.dd-auth-mobile .dd-auth-modal-stepper.is-step-3 > .dd-auth-step__line {
  background: #22c55e;
}

/* Avisos dentro del modal */
body.dd-auth-mobile .dd-auth-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  font-size: 0.86rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

body.dd-auth-mobile .dd-auth-notice__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 0.1rem;
}

body.dd-auth-mobile .dd-auth-notice__icon svg {
  display: block;
  width: 20px;
  height: 20px;
}

body.dd-auth-mobile .dd-auth-notice--warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #78350f;
}

body.dd-auth-mobile .dd-auth-notice--info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e3a8a;
}

body.dd-auth-mobile .dd-auth-notice--success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

body.dd-auth-mobile .dd-auth-notice strong {
  display: block;
  margin-bottom: 0.15rem;
  font-weight: 700;
}

/* Campos del modal */
body.dd-auth-mobile .dd-auth-modal .dd-auth-field .form-control,
body.dd-auth-mobile .dd-auth-modal .dd-auth-field__control .form-control {
  padding-left: 2.85rem !important;
}

body.dd-auth-mobile .dd-auth-field--otp .form-control {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  text-align: center;
  font-size: 1.45rem !important;
  font-weight: 700;
  letter-spacing: 0.45rem;
  height: 56px !important;
}

body.dd-auth-mobile .dd-auth-field__hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--dd-auth-muted);
}

body.dd-auth-mobile .dd-auth-modal .dd-auth-actions {
  margin-top: 0.15rem;
  margin-bottom: 0;
}

body.dd-auth-mobile .dd-auth-modal .dd-auth-actions .dd-auth-btn,
body.dd-auth-mobile .dd-auth-modal .dd-auth-actions #btnEnviarCodigo,
body.dd-auth-mobile .dd-auth-modal .dd-auth-actions #btnValidarCodigo {
  width: 100% !important;
}

body.dd-auth-mobile .dd-auth-link-btn {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.55rem;
  border: none;
  background: transparent;
  color: var(--dd-auth-accent) !important;
  font-size: 0.84rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border-radius: 10px;
  transition: background 0.15s ease, opacity 0.15s ease;
}

body.dd-auth-mobile .dd-auth-link-btn:hover:not(:disabled) {
  background: var(--dd-auth-accent-soft);
}

body.dd-auth-mobile .dd-auth-link-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

body.dd-auth-mobile .dd-auth-modal .paso-verificacion {
  animation: dd-auth-reveal 0.35s ease both;
}

body.dd-auth-mobile .modal-backdrop {
  z-index: 10449 !important;
}

body.dd-auth-mobile .modal.show {
  z-index: 10450 !important;
}

/* Modal mensaje */
body.dd-auth-mobile #modalMensaje {
  z-index: 10550 !important;
}

body.dd-auth-mobile #modalMensaje.show {
  z-index: 10550 !important;
}

body.dd-auth-mobile #modalMensaje .modal-dialog {
  z-index: 10551 !important;
  max-width: 380px;
}

body.dd-auth-mobile #modalMensaje .modal-content {
  z-index: 10552 !important;
}

body.dd-auth-mobile .dd-auth-modal--message .dd-auth-modal__body--center {
  text-align: center;
  padding: 1.75rem 1.35rem 1rem !important;
}

body.dd-auth-mobile .dd-auth-modal--message .dd-auth-modal__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dd-auth-text);
  margin: 0.75rem 0 0.35rem;
}

body.dd-auth-mobile .dd-auth-modal--message .dd-auth-modal__text {
  color: var(--dd-auth-muted);
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
}

body.dd-auth-mobile .dd-auth-modal--message .dd-auth-btn--danger {
  background: #dc2626 !important;
  box-shadow: 0 8px 22px rgba(220, 38, 38, 0.28) !important;
}

body.dd-auth-mobile #modalMensaje.success-modal .dd-auth-modal__content {
  box-shadow: 0 20px 50px rgba(34, 197, 94, 0.12) !important;
}

body.dd-auth-mobile #modalMensaje.aviso-modal .dd-auth-modal__icon-msg circle {
  stroke: #0ea5e9;
}

/* Modal cambiar contraseña — z-index y clickeable */
body.dd-auth-mobile #modalCambiarContrasena {
  z-index: 10450 !important;
}

body.dd-auth-mobile #modalCambiarContrasena.show {
  z-index: 10450 !important;
}

body.dd-auth-mobile #modalCambiarContrasena .modal-dialog {
  z-index: 10451 !important;
}

body.dd-auth-mobile #modalCambiarContrasena.modal.show,
body.dd-auth-mobile #modalCambiarContrasena .modal-content,
body.dd-auth-mobile #modalCambiarContrasena .modal-body,
body.dd-auth-mobile #modalCambiarContrasena button,
body.dd-auth-mobile #modalCambiarContrasena input,
body.dd-auth-mobile #modalCambiarContrasena .btn {
  pointer-events: auto !important;
}

body.dd-auth-mobile #modalCambiarContrasena input.form-control {
  cursor: text !important;
}

body.dd-auth-mobile #modalCambiarContrasena button,
body.dd-auth-mobile #modalCambiarContrasena .btn {
  cursor: pointer !important;
}

/* Modal bienvenida */
body.dd-auth-mobile #modalBienvenida {
  z-index: 10600 !important;
}

body.dd-auth-mobile .dd-auth-modal--welcome .dd-auth-modal__body--welcome {
  text-align: center;
  padding: 2rem 1.5rem 1.5rem !important;
}

body.dd-auth-mobile .dd-auth-welcome-mark {
  width: 88px;
  height: 88px;
  margin: 0 auto 1.15rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #1f59b7 0%, var(--dd-auth-accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 10px 28px rgba(0, 82, 163, 0.28);
  animation: dd-auth-welcome-pop 0.55s ease both;
}

body.dd-auth-mobile .dd-auth-welcome-mark__svg {
  width: 52px;
  height: 52px;
  display: block;
}

body.dd-auth-mobile .dd-auth-welcome-mark__circle {
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
  animation: dd-auth-welcome-circle 0.55s ease-out 0.15s forwards;
}

body.dd-auth-mobile .dd-auth-welcome-mark__check {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: dd-auth-welcome-check 0.35s ease-out 0.55s forwards;
}

@keyframes dd-auth-welcome-circle {
  to { stroke-dashoffset: 0; }
}
@keyframes dd-auth-welcome-check {
  to { stroke-dashoffset: 0; }
}

body.dd-auth-mobile .dd-auth-welcome-title {
  color: var(--dd-auth-accent);
  font-size: 1.55rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

body.dd-auth-mobile .dd-auth-welcome-text {
  color: var(--dd-auth-muted);
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

body.dd-auth-mobile .dd-auth-welcome-text strong {
  color: var(--dd-auth-accent);
}

body.dd-auth-mobile .dd-auth-welcome-store {
  background: var(--dd-auth-accent-soft);
  border: 1px solid rgba(0, 82, 163, 0.15);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

body.dd-auth-mobile .dd-auth-welcome-progress {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  height: 8px;
  background: var(--dd-auth-accent-soft);
  border-radius: 999px;
  overflow: hidden;
}

body.dd-auth-mobile .dd-auth-welcome-progress__bar {
  height: 100%;
  width: 0%;
  background: var(--dd-auth-accent);
  border-radius: 999px;
  transition: width 0.08s linear;
}

@keyframes dd-auth-welcome-pop {
  0% { transform: scale(0.6); opacity: 0; }
  70% { transform: scale(1.06); }
  100% { transform: scale(1); opacity: 1; }
}

/* Animación modal mensaje */
body.dd-auth-mobile .modal.fade #modalMensaje .modal-content {
  transform: scale(0.92);
  opacity: 0;
  transition: all 0.28s cubic-bezier(0.34, 1.4, 0.64, 1);
}

body.dd-auth-mobile .modal.show #modalMensaje .modal-content {
  transform: scale(1);
  opacity: 1;
}

/* Iconos animados mensaje */
body.dd-auth-mobile .success-icon-wrapper {
  display: inline-block;
  animation: dd-auth-success-bounce 0.55s ease-out;
}

body.dd-auth-mobile .success-circle {
  stroke-dasharray: 238;
  stroke-dashoffset: 238;
  animation: dd-auth-circle-draw 0.55s ease-out 0.2s forwards;
}

body.dd-auth-mobile .success-check {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: dd-auth-check-draw 0.35s ease-out 0.65s forwards;
}

body.dd-auth-mobile .error-icon-wrapper {
  animation: dd-auth-error-shake 0.45s ease-out;
}

body.dd-auth-mobile .aviso-icon-wrapper {
  animation: dd-auth-aviso-pulse 1.4s ease-in-out infinite;
}

@keyframes dd-auth-success-bounce {
  0% { transform: scale(0); opacity: 0; }
  55% { transform: scale(1.08); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes dd-auth-circle-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes dd-auth-check-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes dd-auth-error-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  75% { transform: translateX(8px); }
}

@keyframes dd-auth-aviso-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.88; transform: scale(1.03); }
}

/* Código asignado al registrarse */
body.dd-auth-mobile .dd-auth-code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  margin-bottom: 0.65rem;
  border-radius: 16px;
  background: var(--dd-auth-accent-soft);
  border: 2px dashed rgba(0, 82, 163, 0.28);
}

body.dd-auth-mobile .dd-auth-code-box__value {
  flex: 1;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.35rem;
  color: var(--dd-auth-accent);
  font-variant-numeric: tabular-nums;
  text-align: center;
}

body.dd-auth-mobile .dd-auth-code-box__copy {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.85rem;
  border: none;
  border-radius: 12px;
  background: var(--dd-auth-accent);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

body.dd-auth-mobile .dd-auth-code-box__copy svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
}

body.dd-auth-mobile .dd-auth-code-box__copy:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

body.dd-auth-mobile .dd-auth-code-box__copy:active {
  transform: scale(0.98);
}

body.dd-auth-mobile .dd-auth-code-hint {
  margin-bottom: 1rem;
  line-height: 1.45;
}

body.dd-auth-mobile .dd-auth-stepper.is-hidden,
body.dd-auth-mobile .dd-auth-footer.is-hidden {
  display: none !important;
}
