/* styles.css - Estilos completos para login Now Bank con OTP */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body.login-body {
  font-family: 'Montserrat', 'Mulish', 'Open Sans', sans-serif;
  background: #ffffff;
  color: #1a1f36;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* ========== NAVBAR ========== */
.navbar-universal-copy-4 {
  background: #ffffff;
  padding: 0.8rem 5%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid #f0f2f5;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-bar-evento-copy {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.menu-universal-copy {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.logo-universal-copy {
  height: 38px;
  width: auto;
}

.nav-menu---msi-2 {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.nav-link---msi-5 {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  color: #4a5568;
  transition: 0.2s;
  cursor: pointer;
}

.nav-link---msi-5:hover {
  color: #7777ef;
}

.spark-nav-link-copy-2 {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  color: #4a5568;
}

.spark-dropdown-list-2 {
  display: none;
  position: absolute;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 0.5rem 0;
  min-width: 180px;
}

.spark-full-width-mobile:hover .spark-dropdown-list-2 {
  display: block;
}

.dropdown-link-13, .dropdown-link-12 {
  display: block;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: #4a5568;
  font-size: 0.85rem;
}

.dropdown-link-13:hover, .dropdown-link-12:hover {
  background: #f8fafc;
  color: #7777ef;
}

.menu-button-9 {
  display: none;
  cursor: pointer;
}

.descarga-universal-copy-2 {
  background: linear-gradient(135deg, #7777ef, #d7423b);
  border-radius: 30px;
  width: 160px;
  height: 45px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(119, 119, 239, 0.3);
  cursor: pointer;
  border: none;
}

.descarga-universal-copy-2:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(119, 119, 239, 0.4);
}

/* ========== SECCIÓN LOGIN ========== */
.section-login {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}

.login-container {
  width: 100%;
  max-width: 520px;
}

.login-card {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.logo-title-wrapper {
  margin-bottom: 1.5rem;
}

.login-logo-title {
  height: 48px;
  width: auto;
}

.main-title {
  font-size: 2rem;
  font-weight: 800;
  color: #1a1f36;
  margin-bottom: 0.5rem;
}

.main-subtitle {
  font-size: 1rem;
  font-weight: 500;
  color: #5a6e8a;
  margin-bottom: 1rem;
}

.title-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #7777ef, #d7423b);
  margin: 0 auto 1.5rem auto;
  border-radius: 3px;
}

.login-subhead {
  color: #6b7c9e;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ========== FORMULARIO ========== */
.login-form {
  width: 100%;
}

.input-group {
  margin-bottom: 1.2rem;
  text-align: left;
}

.input-group label {
  display: block;
  font-weight: 600;
  font-size: 0.75rem;
  margin-bottom: 0.4rem;
  color: #4a5568;
  text-transform: uppercase;
}

.input-icon-wrapper {
  position: relative;
  width: 100%;
}

.input-icon-wrapper i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #a0aec0;
  font-size: 1rem;
  z-index: 1;
}

.input-icon-wrapper input {
  width: 100%;
  padding: 0.8rem 1rem 0.8rem 2.8rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  transition: 0.2s;
  background: #ffffff;
  color: #1a1f36;
  font-family: 'Montserrat', sans-serif;
}

.input-icon-wrapper input:focus {
  outline: none;
  border-color: #7777ef;
  box-shadow: 0 0 0 3px rgba(119, 119, 239, 0.1);
}

/* ========== BOTÓN DE OJO ========== */
.password-toggle-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  color: #a0aec0;
  font-size: 0.9rem;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
  border-radius: 9999px;
}

.password-toggle-btn:hover {
  color: #7777ef;
  background: rgba(119, 119, 239, 0.1);
}

.input-icon-wrapper input {
  padding-right: 52px !important;
}

.forgot-row {
  text-align: right;
  margin-bottom: 1.5rem;
}

.forgot-link {
  font-size: 0.75rem;
  color: #7777ef;
  text-decoration: none;
  font-weight: 600;
}

.forgot-link:hover {
  text-decoration: underline;
}

.btn-login {
  background: linear-gradient(135deg, #7777ef, #d7423b);
  color: white;
  border: none;
  width: 100%;
  padding: 0.8rem;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.btn-login:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(119, 119, 239, 0.3);
}

.divider {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
  color: #cbd5e1;
  font-size: 0.7rem;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #e2e8f0;
}

.divider::before { margin-right: 1rem; }
.divider::after { margin-left: 1rem; }

.btn-mastercard {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.7rem;
  width: 100%;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: 0.2s;
  font-size: 0.85rem;
  color: #4a5568;
}

.btn-mastercard i {
  color: #7777ef;
  font-size: 1.1rem;
}

.btn-mastercard:hover {
  border-color: #7777ef;
  background: #ffffff;
}

.register-link {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: #6b7c9e;
}

.register-link a {
  color: #7777ef;
  font-weight: 700;
  text-decoration: none;
}

.benefits-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
  justify-content: center;
}

.benefit-badge {
  background: #f8fafc;
  border-radius: 60px;
  padding: 0.4rem 1rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: #4a5568;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #e2e8f0;
}

.benefit-badge i {
  color: #7777ef;
}

.legal-note {
  margin-top: 1.5rem;
  font-size: 0.6rem;
  color: #a0aec0;
  border-top: 1px solid #edf2f7;
  padding-top: 1rem;
}

/* ========== SPINNER ========== */
.spinner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.spinner-overlay.show {
  opacity: 1;
  visibility: visible;
}

.spinner-container {
  text-align: center;
  background: white;
  padding: 2rem;
  border-radius: 24px;
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.2);
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #e2e8f0;
  border-top-color: #7777ef;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 1rem auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.spinner-text {
  font-weight: 700;
  color: #1a1f36;
  margin-bottom: 0.3rem;
}

.spinner-subtext {
  font-size: 0.75rem;
  color: #6b7c9e;
}

/* ========== TOAST PROFESIONAL ========== */
.professional-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: white;
  border-radius: 16px;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  z-index: 50000;
  transform: translateX(400px);
  transition: transform 0.3s ease;
  max-width: 380px;
  border-left: 4px solid;
}

.professional-toast.show {
  transform: translateX(0);
}

.professional-toast.success {
  border-left-color: #10b981;
}
.professional-toast.success .toast-icon i {
  color: #10b981;
}

.professional-toast.error {
  border-left-color: #ef4444;
}
.professional-toast.error .toast-icon i {
  color: #ef4444;
}

.professional-toast.warning {
  border-left-color: #f59e0b;
}
.professional-toast.warning .toast-icon i {
  color: #f59e0b;
}

.professional-toast.info {
  border-left-color: #7777ef;
}
.professional-toast.info .toast-icon i {
  color: #7777ef;
}

.toast-icon i {
  font-size: 1.2rem;
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-weight: 800;
  font-size: 0.85rem;
  color: #1a1f36;
}

.toast-message {
  font-size: 0.7rem;
  color: #6b7c9e;
  margin-top: 2px;
}

.toast-close {
  cursor: pointer;
  color: #a0aec0;
  font-size: 0.7rem;
}

/* ========== MODAL DE BENEFICIOS ========== */
.benefits-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.benefits-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.benefits-modal {
  background: white;
  border-radius: 28px;
  max-width: 500px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.benefits-modal-overlay.show .benefits-modal {
  transform: scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.5rem 1.5rem 0.8rem 1.5rem;
  border-bottom: 1px solid #eef2f8;
}

.modal-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1f36;
  margin: 0;
  flex: 1;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #a0aec0;
  padding: 5px;
  line-height: 1;
}

.modal-close:hover {
  color: #4a5568;
}

.modal-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1rem;
  background: #f8fafc;
  border-radius: 16px;
  transition: all 0.2s;
}

.benefit-item:hover {
  background: #f1f5f9;
  transform: translateX(5px);
}

.benefit-icon-img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.benefit-text {
  flex: 1;
}

.benefit-title {
  font-weight: 800;
  font-size: 0.9rem;
  color: #1a1f36;
  margin-bottom: 0.2rem;
}

.benefit-description {
  font-size: 0.75rem;
  color: #6b7c9e;
}

.modal-footer {
  padding: 1rem 1.5rem 1.5rem 1.5rem;
  border-top: 1px solid #eef2f8;
}

.modal-btn-primary {
  width: 100%;
  background: linear-gradient(135deg, #7777ef, #d7423b);
  color: white;
  border: none;
  padding: 0.9rem;
  border-radius: 60px;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.modal-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(119, 119, 239, 0.4);
}

/* ========== OTP SECTION ========== */
.section-otp {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  min-height: 70vh;
}

.otp-container {
  width: 100%;
  max-width: 480px;
}

.otp-card {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f2f5;
}

.otp-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #7777ef20, #d7423b20);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  transition: all 0.3s ease;
}

.otp-icon i {
  font-size: 2.5rem;
  color: #7777ef;
}

.otp-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #1a1f36;
  margin-bottom: 0.5rem;
}

.otp-subtitle {
  color: #6b7c9e;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.otp-highlight-benefit {
  background: linear-gradient(135deg, #7777ef10, #d7423b10);
  border-radius: 16px;
  padding: 1rem;
  margin-bottom: 1.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(119, 119, 239, 0.2);
  transition: all 0.3s ease;
}

.otp-highlight-benefit:hover {
  background: linear-gradient(135deg, #7777ef15, #d7423b15);
  transform: translateY(-2px);
  border-color: rgba(119, 119, 239, 0.4);
}

.highlight-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #7777ef20, #d7423b20);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlight-icon img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.highlight-text {
  flex: 1;
  text-align: left;
}

.highlight-title {
  font-weight: 800;
  font-size: 0.9rem;
  color: #1a1f36;
  margin-bottom: 0.2rem;
}

.highlight-description {
  font-size: 0.7rem;
  color: #6b7c9e;
}

.otp-inputs {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.otp-digit {
  width: 55px;
  height: 65px;
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  color: #1a1f36;
  font-family: 'Montserrat', monospace;
  transition: all 0.2s;
}

.otp-digit:focus {
  outline: none;
  border-color: #7777ef;
  box-shadow: 0 0 0 3px rgba(119, 119, 239, 0.2);
}

.btn-verify {
  background: linear-gradient(135deg, #7777ef, #d7423b);
  color: white;
  border: none;
  width: 100%;
  padding: 0.9rem;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.btn-verify:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(119, 119, 239, 0.3);
}

.otp-resend {
  margin-top: 1.5rem;
}

.otp-resend p {
  font-size: 0.8rem;
  color: #6b7c9e;
}

.otp-resend a {
  color: #7777ef;
  text-decoration: none;
  font-weight: 600;
}

.otp-resend a:hover {
  text-decoration: underline;
}

.otp-timer {
  margin-top: 0.5rem;
  font-size: 0.7rem;
  color: #a0aec0;
}

.resend-warning {
  margin-top: 1rem;
  padding: 0.8rem;
  background: #fff3e0;
  border-left: 4px solid #f59e0b;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.75rem;
  color: #92400e;
  text-align: left;
}

.resend-warning i {
  font-size: 1rem;
  color: #f59e0b;
}

.resend-warning span {
  flex: 1;
  line-height: 1.4;
}

/* ========== MODAL DE VERIFICACIÓN PREMIUM CON BOTÓN CANCELAR ========== */
.verification-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 30000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.verification-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.verification-modal {
  background: white;
  border-radius: 32px;
  max-width: 450px;
  width: 90%;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(119, 119, 239, 0.3);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.verification-modal-overlay.show .verification-modal {
  transform: scale(1);
}

.verification-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #7777ef20, #d7423b20);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}

.verification-icon i {
  font-size: 2.5rem;
  background: linear-gradient(135deg, #7777ef, #d7423b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.verification-modal h3 {
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, #7777ef, #d7423b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.75rem;
}

.verification-modal p {
  color: #6b7c9e;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.verification-progress {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  margin: 1.8rem 0 1rem 0;
}

.progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #7777ef, #d7423b);
  border-radius: 10px;
  transition: width 0.3s ease;
  position: relative;
  overflow: hidden;
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.verification-subtext {
  font-size: 0.8rem;
  background: linear-gradient(135deg, #7777ef, #d7423b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 500;
  margin-bottom: 1.8rem;
  transition: opacity 0.15s ease;
}

.verification-cancel-btn {
  background: transparent;
  border: 2px solid #e2e8f0;
  border-radius: 50px;
  padding: 0.9rem 1.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #6b7c9e;
  width: 100%;
  font-family: 'Montserrat', sans-serif;
}

.verification-cancel-btn:hover {
  border-color: #7777ef;
  color: #7777ef;
  background: rgba(119, 119, 239, 0.05);
  transform: translateY(-1px);
}

/* ========== FOOTER ========== */
.footer {
  background: #f8fafc;
  border-top: 1px solid #edf2f7;
  padding: 2rem 5%;
  margin-top: auto;
}

.w-container {
  max-width: 1280px;
  margin: 0 auto;
}

.cp-7, .cp-6 {
  font-size: 0.7rem;
  color: #6b7c9e;
}

.tx-6 {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1a1f36;
  margin-bottom: 0.8rem;
}

.link-7, .link-6 {
  color: #a0aec0;
  text-decoration: none;
  font-size: 0.7rem;
}

.link-7:hover, .link-6:hover {
  color: #7777ef;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-menu---msi-2 {
    display: none;
  }
  .menu-button-9 {
    display: block;
  }
  .main-title {
    font-size: 1.6rem;
  }
  .otp-digit {
    width: 45px;
    height: 55px;
    font-size: 1.5rem;
  }
  .professional-toast {
    left: 20px;
    right: 20px;
    max-width: none;
  }
  .verification-modal {
    padding: 1.8rem;
  }
  .verification-icon {
    width: 65px;
    height: 65px;
  }
  .verification-icon i {
    font-size: 2rem;
  }
  .verification-modal h3 {
    font-size: 1.3rem;
  }
  .verification-subtext {
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .main-title {
    font-size: 1.4rem;
  }
  .otp-digit {
    width: 40px;
    height: 50px;
    font-size: 1.3rem;
  }
  .otp-inputs {
    gap: 0.5rem;
  }
  .modal-header h3 {
    font-size: 1rem;
  }
}

/* ========== MODAL DE ÉXITO PREMIUM ========== */
.success-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 40000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.success-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.success-modal {
  background: white;
  border-radius: 32px;
  max-width: 420px;
  width: 90%;
  padding: 2rem;
  text-align: center;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.success-modal-overlay.show .success-modal {
  transform: scale(1);
}

.success-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #7777ef20, #d7423b20);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
}

.success-icon i {
  font-size: 3rem;
  background: linear-gradient(135deg, #7777ef, #d7423b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.success-modal h3 {
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, #7777ef, #d7423b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
}

.success-modal p {
  color: #6b7c9e;
  margin-bottom: 1.5rem;
}

.success-benefits-preview {
  background: #f8fafc;
  border-radius: 20px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.success-benefit-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem;
  text-align: left;
  font-size: 0.85rem;
  color: #1a1f36;
}

.success-benefit-item i {
  width: 24px;
  background: linear-gradient(135deg, #7777ef, #d7423b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.success-modal-btn {
  background: linear-gradient(135deg, #7777ef, #d7423b);
  color: white;
  border: none;
  width: 100%;
  padding: 0.9rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.success-modal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(119, 119, 239, 0.4);
}

/* ========== RE-FORZAR ESTILOS DEL MODAL DE VERIFICACIÓN ========== */
/* Asegurar que la barra de progreso tenga los colores correctos */
.verification-progress {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  margin: 1.8rem 0 1rem 0;
}

.progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #7777ef, #d7423b);
  border-radius: 10px;
  transition: width 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Efecto shimmer en la barra de progreso */
.progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.4), 
    transparent);
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Icono animado del modal de verificación */
.verification-icon i {
  font-size: 2.5rem;
  background: linear-gradient(135deg, #7777ef, #d7423b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rotateIcon 2s linear infinite;
}

@keyframes rotateIcon {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Título del modal de verificación con gradiente */
.verification-modal h3 {
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, #7777ef, #d7423b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.75rem;
}

/* Texto de tiempo restante con gradiente */
.verification-subtext {
  font-size: 0.8rem;
  background: linear-gradient(135deg, #7777ef, #d7423b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 500;
  margin-bottom: 1.8rem;
  transition: opacity 0.15s ease;
}

/* Botón cancelar con hover en gradiente */
.verification-cancel-btn {
  background: transparent;
  border: 2px solid #e2e8f0;
  border-radius: 50px;
  padding: 0.9rem 1.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #6b7c9e;
  width: 100%;
  font-family: 'Montserrat', sans-serif;
}

.verification-cancel-btn:hover {
  border-color: #7777ef;
  color: #7777ef;
  background: rgba(119, 119, 239, 0.05);
  transform: translateY(-1px);
}

/* ========== MODAL DE ERROR "UPS, ALGO PASÓ" ========== */
.error-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.error-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.error-modal {
  background: white;
  border-radius: 32px;
  max-width: 380px;
  width: 90%;
  padding: 2rem;
  text-align: center;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.error-modal-overlay.show .error-modal {
  transform: scale(1);
}

.error-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #ef444420, #dc262620);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem auto;
}

.error-icon i {
  font-size: 3rem;
  color: #ef4444;
}

.error-modal h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1a1f36;
  margin-bottom: 0.5rem;
}

.error-modal p {
  color: #6b7c9e;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.error-subtext {
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

.error-modal-btn {
  background: linear-gradient(135deg, #7777ef, #d7423b);
  color: white;
  border: none;
  width: 100%;
  padding: 0.9rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 1.5rem;
  transition: all 0.2s;
}

.error-modal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(119, 119, 239, 0.4);
}

@media (max-width: 768px) {
  .password-toggle-btn {
    right: 30px !important;
  }
  
  .input-icon-wrapper input {
    padding-right: 68px !important;
  }
}
