/* ==========================================================================
   FSTORE - Checkout Page Styles
   Optimized for mobile-first Yape & Plin Peruvian payments
   ========================================================================== */

.checkout-container {
  max-width: 980px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.order-header-banner {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.order-header-label {
  display: block;
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}

.order-code-badge {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.order-player-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.meta-tag {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
}

.meta-tag.meta-uid {
  color: #ffffff;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.meta-tag.meta-nick {
  color: #34d399;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.meta-tag.meta-pin {
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.12);
}

.order-header-total {
  text-align: right;
}

.order-amount-badge {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
}

/* QR Code Section */
.qr-card-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  text-align: center;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-card);
}

.qr-box {
  width: 195px;
  height: 195px;
  margin: 1rem auto;
  background: #fff;
  padding: 10px;
  border-radius: var(--radius-md);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.qr-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ==========================================================================
   CHECKOUT STEPPER WIZARD - MODERN GAMER / FINTECH UI
   ========================================================================== */
.checkout-stepper-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(13, 18, 30, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 0.9rem 1.4rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(14px);
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.stepper-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-md);
  transition: all 0.25s ease;
  user-select: none;
}

.stepper-step:hover {
  background: rgba(255, 255, 255, 0.05);
}

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 2px solid rgba(255, 255, 255, 0.18);
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  font-family: var(--font-heading);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.step-check-icon {
  display: none;
}

.step-title-wrap {
  display: flex;
  flex-direction: column;
}

.step-tag {
  font-size: 0.68rem;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.step-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #cbd5e1;
  transition: color 0.25s ease;
}

/* Active Step */
.stepper-step.active .step-circle {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  border-color: #00f2fe;
  color: #0b0f19;
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.5);
  transform: scale(1.05);
}

.stepper-step.active .step-tag {
  color: var(--neon-cyan);
}

.stepper-step.active .step-name {
  color: #ffffff;
}

/* Completed Step */
.stepper-step.completed .step-circle {
  background: #10b981;
  border-color: #10b981;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.35);
}

.stepper-step.completed .step-num-txt {
  display: none;
}

.stepper-step.completed .step-check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.stepper-step.completed .step-tag {
  color: #34d399;
}

.stepper-step.completed .step-name {
  color: #e2e8f0;
}

/* Stepper Connecting Divider */
.stepper-divider {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 1rem;
  position: relative;
  transition: all 0.3s ease;
}

.stepper-divider.completed {
  background: linear-gradient(90deg, #10b981, #00f2fe);
  box-shadow: 0 0 8px rgba(0, 242, 254, 0.3);
}

/* Wizard Panes */
.step-wizard-pane {
  display: none;
}

.step-wizard-pane.active {
  display: block;
  animation: paneFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes paneFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Step Navigation Bottom Bar */
.step-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-step-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, #00f2fe 0%, #0284c7 100%);
  color: #0b0f19;
  font-weight: 800;
  font-size: 0.98rem;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 242, 254, 0.3);
  transition: all 0.25s ease;
}

.btn-step-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 242, 254, 0.45);
  color: #000;
}

.btn-step-prev {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-step-prev:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

/* Mandatory Proof Notice in Step 3 */
.mandatory-proof-notice {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(234, 88, 12, 0.08) 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.45);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.1);
}

.mandatory-proof-notice .notice-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.mandatory-proof-notice strong {
  color: #fbbf24;
  font-size: 0.96rem;
  display: block;
  margin-bottom: 2px;
}

.mandatory-proof-notice span {
  color: #e2e8f0;
  font-size: 0.86rem;
  line-height: 1.35;
}

/* Proof Status Live Pill */
.proof-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 1.15rem;
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.proof-status-badge.warning {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.proof-status-badge.success {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.45);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.2);
}

/* Shake Animation for Invalid Inputs */
.input-error-shake {
  animation: inputShake 0.5s ease-in-out;
  border-color: #f43f5e !important;
  box-shadow: 0 0 16px rgba(244, 63, 94, 0.45) !important;
}

@keyframes inputShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

/* Quick Summary Box in Step 2 & 3 */
.step-order-recap-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.15rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.recap-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  color: #94a3b8;
}

.recap-item strong {
  color: #fff;
}

.phone-copy-box {
  background: rgba(13, 16, 25, 0.9);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.8rem 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.phone-copy-box:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.phone-number {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
}

.copy-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--neon-cyan);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* Voucher Upload Box */
.voucher-dropzone {
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 2rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: rgba(13, 16, 25, 0.4);
  position: relative;
}

.voucher-dropzone:hover, .voucher-dropzone.dragover {
  border-color: var(--neon-cyan);
  background: rgba(0, 242, 254, 0.05);
}

.voucher-preview {
  max-width: 100%;
  max-height: 250px;
  border-radius: var(--radius-sm);
  margin-top: 1rem;
  display: none;
  object-fit: contain;
}

.voucher-dropzone.has-file {
  border-color: #10b981 !important;
  background: rgba(16, 185, 129, 0.08) !important;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.15) !important;
}

.voucher-dropzone.required-error {
  border-color: #ef4444 !important;
  background: rgba(239, 68, 68, 0.1) !important;
  box-shadow: 0 0 25px rgba(239, 68, 68, 0.3) !important;
  animation: dropzoneShake 0.6s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes dropzoneShake {
  10%, 90% { transform: translate3d(-3px, 0, 0); }
  20%, 80% { transform: translate3d(5px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-7px, 0, 0); }
  40%, 60% { transform: translate3d(7px, 0, 0); }
}

.btn-checkout.btn-checkout-locked {
  background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #94a3b8 !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  transform: none !important;
  opacity: 0.75;
}

.btn-checkout.btn-checkout-locked:hover {
  background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%) !important;
  transform: none !important;
  box-shadow: none !important;
}

.btn-checkout.btn-checkout-unlocked {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  border-color: #fbbf24 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 22px rgba(245, 158, 11, 0.45) !important;
  animation: pulseUnlocked 2s infinite ease-in-out;
}

.btn-checkout.btn-checkout-whatsapp {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
  border-color: #4ade80 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 22px rgba(34, 197, 94, 0.45) !important;
  animation: pulseWhatsapp 2s infinite ease-in-out;
}

@keyframes pulseUnlocked {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

@keyframes pulseWhatsapp {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.countdown-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #94a3b8;
  font-weight: 500;
  font-size: 0.82rem;
  margin: 0 auto 1.25rem auto;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 6px 14px;
  width: fit-content;
}

.countdown-box strong {
  color: #f8fafc;
  font-family: monospace;
  font-size: 0.95rem;
  font-weight: 700;
}

/* Grilla de Campos de Notificación Dúo */
.checkout-fields-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ==========================================================================
   Mobile Responsive Adjustments (Max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
  html, body {
    overflow-x: clip !important;
    max-width: 100vw !important;
    width: 100% !important;
    position: relative !important;
  }

  /* Navbar en checkout móvil */
  .site-header,
  .site-header.master-header {
    height: 58px !important;
    min-height: 58px !important;
    padding: 0 12px !important;
  }

  .nav-container {
    gap: 6px !important;
  }

  .navbar-brand-img {
    height: 44px !important;
    max-height: 44px !important;
  }

  .header-nav-tabs,
  .header-nav-divider,
  .nav-currency-pill,
  .header-center-zone {
    display: none !important;
  }

  .btn-nav-vip {
    padding: 0 10px !important;
    font-size: 0.78rem !important;
    height: 36px !important;
    border-radius: 8px !important;
  }

  .nav-wallet-pill {
    height: 36px !important;
    padding: 0 8px !important;
    font-size: 0.78rem !important;
    border-radius: 8px !important;
  }

  .nav-wallet-pill .btn-quick-recharge {
    display: none !important;
  }

  .btn-nav-user {
    height: 36px !important;
    padding: 0 8px !important;
    border-radius: 8px !important;
  }

  .btn-nav-user .btn-user-text,
  .btn-nav-user .user-display-name,
  .btn-nav-user .chevron-icon {
    display: none !important;
  }

  .checkout-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 14px !important;
    margin: 1rem auto 2.5rem auto !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .order-header-banner {
    padding: 1.1rem 1rem !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.8rem !important;
    box-sizing: border-box !important;
    width: 100% !important;
    border-radius: 14px !important;
  }

  .order-header-banner > div:last-child {
    text-align: left !important;
    width: 100% !important;
  }

  .step-card {
    padding: 1.2rem 1rem !important;
    box-sizing: border-box !important;
    width: 100% !important;
    border-radius: 14px !important;
  }

  /* Colapso de Formulario Dúo a 1 Columna en Celular */
  .checkout-fields-duo {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }

  .payment-selector {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
    width: 100% !important;
  }

  .payment-card {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .qr-box {
    max-width: 200px !important;
    max-height: 200px !important;
    width: 100% !important;
  }

  .phone-copy-box {
    width: 100% !important;
    max-width: 100% !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
  }

  .phone-number {
    font-size: 1.12rem !important;
  }

  .voucher-dropzone {
    padding: 1.4rem 1rem !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  .btn-action-primary,
  .btn-upload-voucher {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .checkout-stepper-container {
    padding: 0.65rem 0.75rem !important;
    border-radius: 12px !important;
  }

  .step-name {
    display: none !important;
  }

  .stepper-step {
    padding: 0.2rem !important;
    gap: 0.4rem !important;
  }

  .stepper-divider {
    margin: 0 0.35rem !important;
  }

  .step-circle {
    width: 30px !important;
    height: 30px !important;
    font-size: 0.82rem !important;
  }

  .step-nav-bar {
    flex-direction: column-reverse !important;
    gap: 0.75rem !important;
  }

  .btn-step-next,
  .btn-step-prev {
    width: 100% !important;
    justify-content: center !important;
    margin-left: 0 !important;
  }
}

@media (max-width: 440px) {
  .btn-nav-vip {
    padding: 0 8px !important;
    width: 36px !important;
    justify-content: center !important;
  }

  .btn-nav-vip span {
    display: none !important;
  }

  .order-code-badge {
    font-size: 1.15rem !important;
    word-break: break-word !important;
  }

  .order-amount-badge {
    font-size: 1.45rem !important;
  }

  .step-circle {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.78rem !important;
  }

  .checkout-container {
    padding: 0 10px !important;
  }

  .step-card {
    padding: 1rem 0.8rem !important;
  }
}

/* Logos Nítidos Oficiales de Medios de Pago (img/LOPA/) - Transparentes, Grandes y Originales */
.payment-card-logo-wrap {
  width: 108px;
  height: 68px;
  min-width: 108px;
  min-height: 68px;
  background: transparent !important;
  border-radius: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: none !important;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: visible;
}

.payment-card-logo-wrap.wallet-wrap {
  background: rgba(251, 191, 36, 0.1) !important;
  border: 1.5px solid rgba(251, 191, 36, 0.35) !important;
  border-radius: 12px;
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
}

.checkout-method-logo {
  width: auto;
  height: 104px;
  max-width: 95%;
  max-height: 104px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.7));
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), filter 0.25s ease;
}

.payment-card:hover .checkout-method-logo {
  transform: scale(1.06);
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.85));
}

.payment-card.selected .checkout-method-logo {
  transform: scale(1.03);
}

/* Iconos de Cabecera en Paneles Guía (Sin saturar de logos) */
.ent-header-icon-circle {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ent-header-icon-circle.purple {
  background: rgba(168, 85, 247, 0.15);
  border: 1.5px solid rgba(168, 85, 247, 0.35);
  color: #c084fc;
}

.ent-header-icon-circle.blue {
  background: rgba(2, 132, 199, 0.15);
  border: 1.5px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
}

.ent-header-icon-circle.cyan {
  background: rgba(6, 182, 212, 0.15);
  border: 1.5px solid rgba(6, 182, 212, 0.35);
  color: #22d3ee;
}

/* Arte Ilustrativo en los Paneles Guía */
.ent-header-with-art {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ent-guide-flow-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.ent-method-subtitle {
  font-size: 0.76rem;
  color: #94a3b8;
  display: block;
  margin-top: 2px;
}

.ent-live-status-pill {
  font-size: 0.65rem;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 1px 7px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ent-live-status-pill::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

/* ==========================================================================
   ENTERPRISE 2-STEP WORKFLOW & GUIDANCE SYSTEM
   ========================================================================== */
.ent-step-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ent-step-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  text-transform: uppercase;
  flex-shrink: 0;
}

.ent-step-tag.step2-tag {
  background: rgba(168, 85, 247, 0.15);
  border-color: rgba(168, 85, 247, 0.35);
  color: #c084fc;
}

.ent-step2-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ent-step2-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 3px 0;
  letter-spacing: 0.2px;
}

.ent-step2-subtitle {
  font-size: 0.82rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.35;
}

@media (max-width: 600px) {
  .ent-step-indicator {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .ent-step2-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* Method-Specific Instruction Cards */
.ent-guide-banner {
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 18px;
  background: rgba(15, 23, 42, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
  transition: all 0.25s ease;
}

.ent-guide-banner.yape-banner {
  border-color: rgba(168, 85, 247, 0.4);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.12) 0%, rgba(15, 23, 42, 0.92) 100%);
}

.ent-guide-banner.bcp-banner {
  border-color: rgba(56, 189, 248, 0.4);
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.14) 0%, rgba(15, 23, 42, 0.92) 100%);
}

.ent-guide-banner.plin-banner {
  border-color: rgba(6, 182, 212, 0.4);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.14) 0%, rgba(15, 23, 42, 0.92) 100%);
}

.guide-banner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.guide-banner-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.2px;
}

.yape-banner .btn-ent-sample-link {
  border-color: rgba(168, 85, 247, 0.35);
  color: #e9d5ff;
  background: rgba(168, 85, 247, 0.1);
}

.yape-banner .btn-ent-sample-link:hover {
  background: rgba(168, 85, 247, 0.22);
  color: #ffffff;
  border-color: rgba(168, 85, 247, 0.6);
}

.guide-banner-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.guide-point-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  color: #cbd5e1;
  line-height: 1.45;
}

.guide-point-icon {
  flex-shrink: 0;
  font-size: 1.05rem;
  margin-top: -1px;
}

.guide-point-row strong {
  color: #f1f5f9;
}

.guide-warn-text {
  color: #f87171 !important;
  font-weight: 700;
}

.guide-match-chips {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 6px 0 4px 0;
  flex-wrap: wrap;
}

.match-chip {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 170px;
}

.match-chip.sender-bcp {
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(2, 132, 199, 0.15);
}

.match-chip.sender-plin {
  border-color: rgba(6, 182, 212, 0.45);
  background: rgba(6, 182, 212, 0.15);
}

.match-chip-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.match-chip-val {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
}

.match-chip-arrow {
  color: #64748b;
  font-size: 1.2rem;
  font-weight: bold;
}

/* ==========================================================================
   ENTERPRISE PAYMENT METHOD SELECTION & LABELS
   ========================================================================== */
.payment-selector {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 1.25rem;
}

.payment-card {
  background: #0b1120 !important;
  border: 1.5px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
  padding: 8px 16px !important;
  height: 128px !important;
  min-height: 128px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  user-select: none !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
  box-sizing: border-box !important;
  position: relative !important;
  overflow: hidden !important;
}

.payment-card:hover {
  border-color: rgba(255, 255, 255, 0.28) !important;
  background: #111a33 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
}

.payment-card .checkout-method-logo {
  height: 104px !important;
  width: auto !important;
  max-width: 95% !important;
  max-height: 104px !important;
  object-fit: contain !important;
  display: block !important;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.7)) !important;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.payment-card:hover .checkout-method-logo {
  transform: scale(1.06) !important;
}

.payment-card.selected .checkout-method-logo {
  transform: scale(1.03) !important;
}

/* Compensación de tamaño para Plin (más grande para igualar peso visual con Yape y BCP) */
.payment-card[data-method="plin"] .checkout-method-logo {
  height: 118px !important;
  max-height: 118px !important;
  transform: scale(1.18) !important;
  transform-origin: center center;
}

.payment-card[data-method="plin"]:hover .checkout-method-logo {
  transform: scale(1.24) !important;
}

.payment-card[data-method="plin"].selected .checkout-method-logo {
  transform: scale(1.20) !important;
}

@media (max-width: 600px) {
  .payment-card {
    height: 108px !important;
    min-height: 108px !important;
    padding: 6px 10px !important;
  }
  .payment-card .checkout-method-logo {
    height: 88px !important;
    max-height: 88px !important;
  }
  .payment-card[data-method="plin"] .checkout-method-logo {
    height: 100px !important;
    max-height: 100px !important;
    transform: scale(1.16) !important;
  }
}

.payment-card.selected {
  border-color: #6366f1 !important;
  background: #141e3a !important;
  box-shadow: 0 0 0 1px #6366f1, 0 8px 25px rgba(99, 102, 241, 0.35) !important;
}

.payment-card-yape-rec.selected {
  border-color: #8b5cf6 !important;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.18) 0%, #0b1120 100%) !important;
  box-shadow: 0 0 0 1.5px #8b5cf6, 0 8px 25px rgba(139, 92, 246, 0.38) !important;
}

.payment-card[data-method="bcp"].selected {
  border-color: #0284c7 !important;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.18) 0%, #0b1120 100%) !important;
  box-shadow: 0 0 0 1.5px #0284c7, 0 8px 25px rgba(2, 132, 199, 0.38) !important;
}

.payment-card[data-method="plin"].selected {
  border-color: #06b6d4 !important;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.18) 0%, #0b1120 100%) !important;
  box-shadow: 0 0 0 1.5px #06b6d4, 0 8px 25px rgba(6, 182, 212, 0.38) !important;
}

.wallet-badge-clean {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fbbf24;
  font-weight: 800;
  font-size: 0.95rem;
}

.ent-method-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.ent-method-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.ent-method-name-title {
  color: #f8fafc;
  font-weight: 700;
  font-size: 0.94rem;
}

.ent-method-desc {
  font-size: 0.74rem;
  color: #94a3b8;
  margin-top: 1px;
}

.ent-rec-pill {
  font-size: 0.65rem;
  font-weight: 700;
  color: #c084fc;
  background: rgba(192, 132, 252, 0.12);
  border: 1px solid rgba(192, 132, 252, 0.25);
  padding: 1px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}





.flow-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.flow-step-pill {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 120, 0, 0.2);
  color: #ff9d42;
  display: inline-block;
  margin-bottom: 4px;
}

.flow-step-pill.plin-pill {
  background: rgba(0, 169, 224, 0.2);
  color: #38bdf8;
}

.flow-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-heading);
}

.flow-tag {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
  flex-shrink: 0;
}

.flow-tag.bcp-tag {
  background: linear-gradient(135deg, #002a8f, #ff7800);
  color: #fff;
  box-shadow: 0 2px 8px rgba(255, 120, 0, 0.3);
}

.flow-tag.plin-tag {
  background: #00a9e0;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 169, 224, 0.3);
}

.flow-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

@media (max-width: 860px) {
  .flow-steps-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .yape-recommend-advisory {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn-advisory-yape {
    width: 100%;
    justify-content: center;
  }
}

.flow-step-box {
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.flow-step-box.highlight-verify {
  border-color: rgba(251, 191, 36, 0.45);
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.1) 0%, rgba(0, 0, 0, 0.45) 100%);
}

.flow-step-box.highlight-verify-plin {
  border-color: rgba(6, 182, 212, 0.45);
  background: linear-gradient(180deg, rgba(6, 182, 212, 0.1) 0%, rgba(0, 0, 0, 0.45) 100%);
}

.flow-step-box.highlight-sender {
  border-color: rgba(56, 189, 248, 0.4);
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.08) 0%, rgba(0, 0, 0, 0.45) 100%);
}

.flow-step-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  flex-shrink: 0;
}

.highlight-verify .flow-step-badge {
  background: #fbbf24;
  color: #0b0f19;
}

.highlight-verify-plin .flow-step-badge {
  background: #06b6d4;
  color: #0b0f19;
}

.highlight-sender .flow-step-badge {
  background: #38bdf8;
  color: #0b0f19;
}

.flow-step-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.flow-step-body p {
  font-size: 0.8rem;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.35;
}

.flow-copy-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 7px 10px;
  cursor: pointer;
  margin-top: 6px;
  transition: all 0.2s;
}

.flow-copy-pill:hover {
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
}

.flow-copy-pill .copy-num {
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
}

.flow-copy-pill .copy-action {
  font-size: 0.68rem;
  font-weight: 700;
  color: #38bdf8;
  text-transform: uppercase;
}

.flow-dest-target {
  background: rgba(0, 0, 0, 0.55);
  border: 1.5px solid rgba(251, 191, 36, 0.4);
  border-radius: 8px;
  padding: 8px 10px;
  margin-top: 6px;
}

.flow-dest-target.plin-target {
  border-color: rgba(6, 182, 212, 0.45);
}

.dest-sub {
  font-size: 0.64rem;
  color: #94a3b8;
  display: block;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.dest-strong-name {
  font-size: 0.98rem;
  font-weight: 800;
  color: #fbbf24;
  display: block;
  letter-spacing: 0.5px;
}

.plin-target .dest-strong-name {
  color: #38bdf8;
}

.flow-monto-note {
  font-size: 0.72rem;
  color: #cbd5e1;
  display: block;
  margin-top: 6px;
}

/* ==========================================================================
   SENDER INPUT CONTAINER & ANTI-CONFUSION ALERT
   ========================================================================== */
.sender-input-container {
  background: rgba(6, 182, 212, 0.08);
  border: 1.5px solid rgba(6, 182, 212, 0.35);
  border-radius: 14px;
  padding: 18px;
  margin-top: 1.25rem;
}

.sender-label {
  font-size: 0.98rem;
  color: #fff;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.sender-badge-method {
  font-size: 0.75rem;
  color: #38bdf8;
  font-weight: 600;
}

.sender-confusion-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(239, 68, 68, 0.12);
  border: 1.5px solid rgba(239, 68, 68, 0.35);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 12px;
}

.alert-icon-symbol {
  font-size: 1.3rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.alert-main-tip {
  font-size: 0.85rem;
  color: #fca5a5;
  font-weight: 800;
  letter-spacing: 0.3px;
  margin-bottom: 4px;
}

.alert-sub-tip {
  font-size: 0.78rem;
  color: #cbd5e1;
  line-height: 1.4;
}

.alert-sub-tip strong {
  color: #ffffff;
}

.sender-input {
  font-size: 1.05rem;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(0, 0, 0, 0.5) !important;
  border: 1.5px solid rgba(6, 182, 212, 0.4) !important;
  padding: 14px 16px !important;
  border-radius: 10px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease;
}

.sender-input:focus {
  border-color: #38bdf8 !important;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.25) !important;
}

.sender-error-inline {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid #ef4444;
  border-radius: 8px;
  padding: 8px 12px;
  margin-top: 8px;
  font-size: 0.8rem;
  color: #fca5a5;
  line-height: 1.4;
  animation: shake 0.3s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

/* ==========================================================================
   ENTERPRISE FINTECH PAYMENT PORTAL (STRIPE / MERCADO PAGO STYLE)
   ========================================================================== */

/* Contenedor Principal */
.enterprise-checkout-card {
  background: #0c1222;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  margin-top: 10px;
}

/* Panel Superior: Datos Oficiales de Destino */
.ent-transfer-details-box {
  background: radial-gradient(circle at 50% 20%, rgba(115, 19, 131, 0.1) 0%, #0d121f 70%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 22px 24px 26px 24px;
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .ent-transfer-details-box {
    padding: 16px 14px 22px 14px;
  }
}

.ent-details-main {
  width: 100%;
}

.ent-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ent-brand-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ent-method-name {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

.ent-verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 3px 8px;
  border-radius: 6px;
}

/* ==========================================================================
   LUXURY PAYMENT TERMINAL (MATCHING OFFICIAL REFERENCE KIOSK)
   ========================================================================== */
.luxury-pay-terminal {
  max-width: 360px;
  width: 100%;
  margin: 6px auto 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.terminal-info-card {
  width: 100%;
  background: #141924;
  border: 1.5px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  text-align: center;
  box-sizing: border-box;
}

.terminal-field-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.terminal-field-caption {
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.terminal-holder-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.4px;
}

.terminal-field-separator {
  height: 1px;
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  margin: 12px 0;
}

.terminal-phone-action-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.terminal-phone-action-row:hover {
  background: rgba(255, 255, 255, 0.06);
}

.terminal-phone-digits {
  font-size: 1.45rem;
  font-weight: 800;
  color: #f59e0b;
  font-family: monospace;
  letter-spacing: 1.5px;
  text-shadow: 0 0 16px rgba(245, 158, 11, 0.3);
}

.btn-terminal-copy {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.terminal-phone-action-row:hover .btn-terminal-copy {
  background: #f59e0b;
  color: #0b0f19;
  border-color: #f59e0b;
}

/* Elegant QR Card matching Reference */
.terminal-qr-wrapper {
  width: 250px;
  border-radius: 20px;
  padding: 14px 14px 24px 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.terminal-qr-wrapper.yape-theme {
  background: #6c0a82;
  box-shadow: 0 10px 32px rgba(108, 10, 130, 0.45);
}

.terminal-qr-wrapper.bcp-theme {
  background: #002a8f;
  box-shadow: 0 10px 32px rgba(0, 42, 143, 0.45);
}

.terminal-qr-wrapper.plin-theme {
  background: #0093a2;
  box-shadow: 0 10px 32px rgba(0, 147, 162, 0.45);
}

.terminal-qr-white-card {
  background: #ffffff;
  border-radius: 14px;
  width: 100%;
  height: 222px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  overflow: hidden;
}

.terminal-qr-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.terminal-qr-pill {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  background: #00d2b4;
  color: #061e1b;
  font-weight: 800;
  font-size: 0.76rem;
  padding: 4px 14px;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
  letter-spacing: 0.2px;
}

/* Bottom Amount Pill matching Reference */
.terminal-amount-pill {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 30px;
  padding: 8px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.terminal-amount-pill .pill-info-icon {
  font-size: 1rem;
  color: #f59e0b;
}

.terminal-amount-pill .pill-text {
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #fcd34d;
  font-size: 0.75rem;
}

.terminal-amount-pill .pill-amount-val {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.4px;
}

/* 4. Formulario de Validación */
.ent-validation-section {
  padding: 24px;
}

@media (max-width: 768px) {
  .ent-validation-section {
    padding: 16px;
  }
}

.ent-input-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

@media (max-width: 600px) {
  .ent-input-header {
    flex-direction: column;
  }
}

.ent-input-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px 0;
}

.ent-input-desc {
  font-size: 0.83rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.4;
}

.btn-ent-sample-link {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #94a3b8;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-ent-sample-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.3);
}

.ent-field-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.86rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 6px;
}

.ent-counter-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: #94a3b8;
  font-family: monospace;
}

.ent-field-wrapper {
  position: relative;
}

.ent-code-input {
  width: 100% !important;
  box-sizing: border-box !important;
  background: #080d1a !important;
  border: 1.5px solid rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  font-family: monospace !important;
  letter-spacing: 2px !important;
  padding: 12px 16px !important;
  border-radius: 10px !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
}

.ent-code-input:focus {
  border-color: #6366f1 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2) !important;
}

.ent-field-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.ent-helper-txt {
  font-size: 0.77rem;
  color: #64748b;
  line-height: 1.35;
}

.ent-alt-link {
  font-size: 0.77rem;
  color: #818cf8;
  text-decoration: underline;
  cursor: pointer;
  font-weight: 500;
}

.ent-alt-link:hover {
  color: #a5b4fc;
}

/* Validación BCP / Plin (Titular Remitente) */
.ent-bank-holder-box {
  background: #080d1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
  margin-top: 10px;
}

.ent-identity-reminder {
  display: flex;
  gap: 12px;
  margin-bottom: 8px;
}

@media (max-width: 600px) {
  .ent-identity-reminder {
    flex-direction: column;
    gap: 8px;
  }
}

.identity-badge-item {
  flex: 1;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 10px 14px;
}

.identity-badge-item .id-sub {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 3px;
}

.identity-badge-item .id-val {
  display: block;
  font-size: 0.95rem;
  color: #f8fafc;
  font-weight: 700;
}

.identity-badge-item.active-target {
  background: #101c36;
  border-color: rgba(59, 130, 246, 0.35);
}

.identity-badge-item.active-target .id-sub {
  color: #60a5fa;
}

.ent-transfer-validation-card {
  background: #080d1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
  margin-top: 10px;
}

.ent-flow-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

@media (max-width: 680px) {
  .ent-flow-row {
    flex-direction: column;
    gap: 12px;
  }
  .ent-flow-arrow {
    display: none;
  }
}

.ent-flow-node {
  flex: 1;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 12px 14px;
}

.ent-flow-node.active {
  background: #101c36;
  border-color: rgba(99, 102, 241, 0.35);
}

.ent-flow-arrow {
  color: #475569;
  font-size: 1.2rem;
  align-self: center;
}

.ent-node-caption {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.ent-node-val {
  display: block;
  font-size: 1rem;
  color: #f8fafc;
  font-weight: 700;
}

.ent-node-sub {
  font-size: 0.72rem;
  color: #10b981;
}

.ent-sender-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.ent-sender-input {
  width: 100% !important;
  box-sizing: border-box !important;
  background: #090e1d !important;
  border: 1.5px solid rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  padding: 10px 14px !important;
  border-radius: 8px !important;
  transition: all 0.2s ease !important;
}

.ent-sender-input:focus {
  border-color: #6366f1 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2) !important;
}

/* 5. Botón de Confirmación Principal */
.ent-submit-wrapper {
  margin-top: 20px;
}

.btn-checkout-locked {
  background: #1e293b !important;
  color: #64748b !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}

.btn-checkout-unlocked {
  background: #10b981 !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3) !important;
  cursor: pointer !important;
}

.btn-checkout-unlocked:hover {
  background: #059669 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4) !important;
}

.ent-security-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 0.74rem;
  color: #64748b;
}

.ent-security-note svg {
  color: #10b981;
}

/* ==========================================================================
   ENTERPRISE 2-COLUMN SPLIT LAYOUT (MÉTODOS IZQUIERDA / PASOS DERECHA)
   ========================================================================== */
.checkout-split-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: start;
}

.checkout-col-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 90px;
}

.checkout-methods-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.checkout-methods-label svg {
  color: #8b5cf6;
}

.payment-selector-vertical {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.payment-selector-vertical .payment-card {
  width: 100% !important;
  height: 114px !important;
  min-height: 114px !important;
  padding: 8px 12px !important;
}

.payment-selector-vertical .payment-card .checkout-method-logo {
  max-width: 92% !important;
  height: 92px !important;
  max-height: 92px !important;
}

.payment-selector-vertical .payment-card[data-method="plin"] .checkout-method-logo {
  height: 104px !important;
  max-height: 104px !important;
  transform: scale(1.18) !important;
}

/* Sidebar Trust / Security */
.checkout-sidebar-trust {
  margin-top: 6px;
  padding: 12px 14px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #cbd5e1;
}

/* Columna de Pasos (Paso 1 Terminal Kiosk y Paso 2 Formulario) */
.checkout-col-workspace {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
  .checkout-container {
    max-width: 100% !important;
  }
  .checkout-split-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .checkout-col-methods {
    position: static;
  }
  .payment-selector-vertical {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
  }
  .payment-selector-vertical .payment-card {
    height: 96px !important;
    min-height: 96px !important;
  }
  .payment-selector-vertical .payment-card .checkout-method-logo {
    height: 76px !important;
    max-height: 76px !important;
  }
  .checkout-sidebar-trust {
    display: none;
  }
}

/* ==========================================================================
   BOTÓN DE INFORMACIÓN / AYUDA EN CADA TARJETA DE PAGO
   ========================================================================== */
.method-help-trigger {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  border: 1.2px solid rgba(255, 255, 255, 0.16);
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  padding: 0;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.method-help-trigger:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: scale(1.18);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.35);
}

.payment-card-yape-rec .method-help-trigger:hover {
  border-color: #8b5cf6;
  color: #c084fc;
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.6);
}

.payment-card[data-method="plin"] .method-help-trigger:hover {
  border-color: #06b6d4;
  color: #67e8f9;
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.6);
}

.payment-card[data-method="bcp"] .method-help-trigger:hover {
  border-color: #0284c7;
  color: #38bdf8;
  box-shadow: 0 0 12px rgba(2, 132, 199, 0.6);
}

.payment-card.selected .method-help-trigger {
  background: rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.25);
  color: #f1f5f9;
}

/* ==========================================================================
   PERSUASIÓN VISUAL YAPE: BADGE RECOMENDADO + HINTS DE TIEMPO + ALERTA INTELIGENTE
   ========================================================================== */

/* 1. Tarjeta Yape destacada por defecto */
.payment-card-yape-rec {
  border-color: rgba(139, 92, 246, 0.38) !important;
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.08) 0%, #0b1120 100%) !important;
}

.payment-card-yape-rec:hover {
  border-color: rgba(139, 92, 246, 0.65) !important;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.25) !important;
}

/* 2. Badge "Recomendado" sobrio, limpio y profesional (Estilo Fintech) */
.method-recommended-badge {
  position: absolute;
  top: 8px;
  left: 9px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  padding: 2.5px 8px;
  border-radius: 6px;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: #c084fc;
  font-family: var(--font-heading, inherit);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  pointer-events: none;
  line-height: 1.2;
}

.payment-card-yape-rec.selected .method-recommended-badge {
  background: rgba(139, 92, 246, 0.28);
  border-color: rgba(139, 92, 246, 0.6);
  color: #e9d5ff;
}

/* 3. Dimensiones uniformes y limpias para todas las tarjetas */
.payment-selector-vertical .payment-card {
  height: 114px !important;
  min-height: 114px !important;
  padding: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

.payment-selector-vertical .payment-card .checkout-method-logo {
  height: 84px !important;
  max-height: 84px !important;
  max-width: 88% !important;
  margin: 0 !important;
}

.payment-selector-vertical .payment-card[data-method="plin"] .checkout-method-logo {
  height: 96px !important;
  max-height: 96px !important;
  transform: scale(1.12) !important;
}

/* 4. Banner de Recomendación Inteligente (aparece al clickear Plin o BCP) */
.yape-recommendation-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 18px;
  margin-bottom: 1.25rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.16) 0%, rgba(219, 39, 119, 0.10) 100%);
  border: 1px solid rgba(139, 92, 246, 0.35);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: slideInRecAlert 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.rec-alert-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.rec-alert-icon {
  font-size: 1.35rem;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(139, 92, 246, 0.22);
  border: 1px solid rgba(139, 92, 246, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rec-alert-content {
  font-size: 0.84rem;
  line-height: 1.38;
}

.rec-alert-content strong {
  color: #f8fafc;
  font-size: 0.88rem;
  display: block;
  margin-bottom: 2px;
}

.rec-alert-content p {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.8rem;
}

.rec-alert-content p strong {
  display: inline;
  color: #c084fc;
}

.btn-rec-switch-yape {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 15px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.22s ease;
  box-shadow: 0 3px 12px rgba(124, 58, 237, 0.45);
}

.btn-rec-switch-yape:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.65);
  background: linear-gradient(135deg, #8b5cf6 0%, #c084fc 100%);
}

@media (max-width: 640px) {
  .yape-recommendation-alert {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px;
  }
  .btn-rec-switch-yape {
    text-align: center;
    width: 100%;
    padding: 10px;
  }
}





