/* Pantalla previa al pago: réplica estética, maqueta sin cobros ni envío de datos. */
#appRoot.payment-preview-layout {
  padding: 11px 10px 25px;
}
#appRoot .payment-preview-page {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.18;
  color: #171717;
}
#appRoot .payment-preview-hero {
  height: 169px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
#appRoot .payment-preview-heading {
  padding: 0;
  margin: 18px 0 0;
  width: min(458px,100%);
  height: 90px;
}
#appRoot .payment-preview-heading img { width: 100%; height: auto; display: block; }
#appRoot .payment-preview-message { margin: 0 0 48px; }
#appRoot .payment-preview-message p { margin: 0 0 15px; line-height: 15px; }
#appRoot .payment-preview-message strong { font-weight: 700; }
#appRoot .payment-preview-details {
  display: grid;
  grid-template-columns: 126px minmax(0, 300px);
  width: max-content;
  max-width: 100%;
  position: relative;
  left: 45px;
  gap: 3px 0;
  margin: 0 auto 28px;
  color: #222;
  line-height: 16px;
  font-size: 12px;
}
#appRoot .payment-preview-details dt { font-weight: 700; margin: 0; }
#appRoot .payment-preview-details dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
#appRoot .payment-preview-buttons { text-align: center; min-height: 34px; position: relative; }
#appRoot .payment-preview-pay {
  display: block;
  width: max-content;
  height: 34px;
  margin: 0 auto;
  padding: 4px 13px;
  border: 0;
  border-radius: 19px;
  background: #a7c900;
  color: #fff;
  font: 700 17px/25px Arial, Helvetica, sans-serif;
  cursor: pointer;
}
#appRoot .payment-preview-pay:hover { background: #94b400; }
#appRoot .payment-preview-pay:focus-visible, #appRoot .payment-preview-back:focus-visible { outline: 2px solid #337fca; outline-offset: 2px; }
#appRoot .payment-preview-back { display: block; position: absolute; left: calc(50% + 75px); top: 11px; border: 0; background: transparent; color: #347ec6; font: 11px Arial, sans-serif; margin: 0; cursor: pointer; white-space: nowrap; }
#appRoot .payment-preview-feedback { margin: 2px auto 0; font: 12px Arial, sans-serif; color: #555; max-width: 460px; }
#appRoot .payment-preview-feedback:empty { display: none; }
#appRoot .payment-preview-browser {
  background: #eee;
  border-radius: 5px;
  margin: 17px 0 0;
  padding: 9px 10px;
  color: #050505;
  font: 16px/19px Arial, Helvetica, sans-serif;
}
#appRoot .payment-preview-browser strong { font-style: italic; text-decoration: underline; }
#appRoot .payment-preview-disclaimer {
  margin: 7px 0 -14px;
  font: 10px Arial, sans-serif;
  color: #888;
  text-align: right;
}
@media (max-width: 690px) {
  #appRoot .payment-preview-hero { height: 132px; }
  #appRoot .payment-preview-heading { width: min(390px,100%); }
  #appRoot .payment-preview-message { margin-bottom: 24px; }
  #appRoot .payment-preview-heading { margin-top: 5px; }
  #appRoot .payment-preview-details { grid-template-columns: 114px minmax(0, 1fr); width: 100%; left: 0; }
  #appRoot .payment-preview-back { position: static; margin: 7px auto 0; }
  #appRoot .payment-preview-browser { font-size: 13px; line-height: 17px; }
  #appRoot .payment-preview-disclaimer { line-height: 1.3; }
}


/* Maqueta visual de pasarela tipo ePay, sin transacciones reales. */
#appRoot.payment-gateway-layout {
  padding: 0;
}
#appRoot .gateway-page {
  min-height: calc(100vh - 52px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #d9d9d9 0 65%, #ead7ce 65% 100%);
  padding: 26px 24px;
}
#appRoot .gateway-shell {
  width: min(540px, 100%);
  padding: 34px;
  border-radius: 14px;
  border: 4px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.09);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.24);
}
#appRoot .gateway-card {
  width: 100%;
  max-width: 398px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
  border: 1px solid rgba(0,0,0,.08);
}
#appRoot .gateway-dark-header {
  background: #171717;
  color: #fff;
  padding: 14px 16px 18px;
}
#appRoot .gateway-dark-header-compact {
  padding-bottom: 11px;
}
#appRoot .gateway-brand-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
#appRoot .gateway-brand { display: flex; gap: 12px; align-items: flex-start; }
#appRoot .gateway-logo-box {
  width: 42px;
  height: 58px;
  border-radius: 6px;
  border: 2px solid #d9d9d9;
  background: #f3f3f3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
#appRoot .gateway-brand-text strong {
  display: block;
  font: 700 17px/1.15 Arial, Helvetica, sans-serif;
  letter-spacing: .2px;
}
#appRoot .gateway-brand-text span {
  display: block;
  font: 400 15px/1.45 Arial, Helvetica, sans-serif;
  margin-top: 6px;
}
#appRoot .gateway-brand-text-spaced strong { max-width: 214px; }
#appRoot .gateway-header-actions { display: flex; align-items: center; gap: 16px; }
#appRoot .gateway-info {
  width: 14px; height: 14px; border-radius: 50%; background: #2998f2; color: #fff;
  font: 700 11px/14px Arial, Helvetica, sans-serif; text-align: center;
}
#appRoot .gateway-close {
  border: 0; background: transparent; color: #fff; cursor: pointer;
  font: 300 40px/1 Arial, Helvetica, sans-serif; padding: 0; width: 24px; height: 24px;
}
#appRoot .gateway-top-meta { text-align: center; padding: 28px 0 38px; }
#appRoot .gateway-product { font: 400 18px/1.25 Arial, Helvetica, sans-serif; margin-bottom: 24px; }
#appRoot .gateway-total-title { font: 400 18px/1.2 Arial, Helvetica, sans-serif; }
#appRoot .gateway-total-title strong { font-size: 24px; }
#appRoot .gateway-secure-top { text-align: center; font: 600 14px/1.2 Arial, Helvetica, sans-serif; opacity: .96; }
#appRoot .gateway-secure-top strong, #appRoot .gateway-secured strong { font-style: italic; font-size: 19px; }
#appRoot .gateway-form-area { padding: 12px 16px 18px; }
#appRoot .gateway-express { text-align: center; color: #949494; font: italic 13px/1.2 Arial, Helvetica, sans-serif; margin-bottom: 12px; }
#appRoot .gateway-gpay {
  display: block; margin: 0 auto 16px; min-width: 184px; height: 44px; border-radius: 4px;
  border: 1px solid #4a4a4a; background: #fff; color: #333; font: 600 16px/1 Arial, Helvetica, sans-serif;
}
#appRoot .gateway-gpay span { color: #4285f4; font-weight: 700; }
#appRoot .gateway-divider { height: 1px; background: #e2e2e2; margin: 10px 0 14px; }
#appRoot .gateway-more-toggle { border: 0; background: transparent; padding: 0; font: 600 13px/1.2 Arial, Helvetica, sans-serif; color: #363636; margin-bottom: 10px; }
#appRoot .gateway-mobile-grid { display: grid; grid-template-columns: 125px minmax(0,1fr); gap: 10px; }
#appRoot .gateway-field { display: block; position: relative; padding-top: 8px; }
#appRoot .gateway-field span {
  position: absolute;
  top: -2px;
  left: 10px;
  z-index: 1;
  display: inline-block;
  padding: 0 2px;
  background: #fff;
  color: #8a8a8a;
  font: 400 11px/1 Arial, Helvetica, sans-serif;
  margin: 0;
  pointer-events: none;
}
#appRoot .gateway-code-box, #appRoot .gateway-field input {
  height: 36px; border: 1px solid #d3d3d3; border-radius: 4px; background: #fff; width: 100%;
  padding: 0 11px; font: 400 13px/34px Arial, Helvetica, sans-serif; color: #444;
}
#appRoot .gateway-code-box { display: flex; align-items: center; gap: 7px; }
#appRoot .gateway-flag-co {
  width: 18px;
  height: 14px;
  border: 1px solid #d0d0d0;
  border-radius: 2px;
  background: linear-gradient(to bottom, #f4d21f 0 50%, #1f54d5 50% 75%, #d33232 75% 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
  flex: 0 0 auto;
}
#appRoot .gateway-code-box em { margin-left: auto; font-style: normal; color: #b0b0b0; }
#appRoot .gateway-code span { left: 8px; }
#appRoot .gateway-email { margin-top: 10px; }
#appRoot .gateway-continue {
  width: 100%; height: 48px; margin-top: 20px; border-radius: 6px; border: 0; background: #d9d9d9;
  color: #f5f5f5; font: 700 17px/48px Arial, Helvetica, sans-serif;
}
#appRoot .gateway-continue.is-active { background: #000; color: #fff; cursor: pointer; }
#appRoot .gateway-lang {
  margin-left: auto; width: max-content; margin-top: -92px; margin-right: 6px; background: #474747; color: #fff;
  border-radius: 4px; padding: 7px 11px; font: 700 14px/1 Arial, Helvetica, sans-serif;
}
#appRoot .gateway-data-row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 14px;
  min-height: 48px;
  border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; font: 400 14px/1.3 Arial, Helvetica, sans-serif;
}
#appRoot .gateway-data-row strong { font-size: 17px; }
#appRoot .gateway-edit, #appRoot .gateway-link {
  border: 0; background: transparent; color: #5aa8e7; font: 400 14px/1.2 Arial, Helvetica, sans-serif; cursor: pointer;
}
#appRoot .gateway-methods-body { padding: 18px 16px 150px; min-height: 416px; }
#appRoot .gateway-methods-body h3 { margin: 6px 0 16px; font: 700 17px/1.2 Arial, Helvetica, sans-serif; color: #2d2d2d; }
#appRoot .gateway-method-card {
  width: 100%; text-align: left; display: flex; gap: 14px; align-items: center; padding: 16px 12px; margin-bottom: 10px;
  border: 1px solid #d7d7d7; border-radius: 4px; background: #fff;
}
#appRoot .gateway-method-icon { font-size: 28px; width: 28px; text-align: center; }
#appRoot .gateway-method-copy strong { display: block; color: #1f1f1f; font: 700 16px/1.2 Arial, Helvetica, sans-serif; }
#appRoot .gateway-method-copy small { display: block; color: #535353; font: 400 12px/1.45 Arial, Helvetica, sans-serif; }
#appRoot .gateway-footer {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; padding: 16px 12px 18px; border-top: 1px solid #e2e2e2;
}
#appRoot .gateway-card-methods .gateway-brand-text strong { font-size: 15px; line-height: 1.15; }
#appRoot .gateway-card-methods .gateway-brand-text span { margin-top: 4px; font-size: 15px; }
#appRoot .gateway-total-block strong { display: block; margin-bottom: 20px; color: #111; font: 700 18px/1.2 Arial, Helvetica, sans-serif; }
#appRoot .gateway-secured { color: #505050; font: 600 13px/1.2 Arial, Helvetica, sans-serif; white-space: nowrap; }
@media (max-width: 700px) {
  #appRoot .gateway-page { padding: 10px; min-height: calc(100vh - 52px); }
  #appRoot .gateway-shell { padding: 12px; width: min(432px,100%); }
  #appRoot .gateway-mobile-grid { grid-template-columns: 1fr 1.8fr; }
  #appRoot .gateway-data-row, #appRoot .gateway-footer { flex-direction: column; align-items: flex-start; }
  #appRoot .gateway-lang { margin-top: 8px; margin-right: 0; }
  #appRoot .gateway-top-meta { padding-top: 20px; }
  #appRoot .gateway-methods-body { min-height: 260px; }
}

/* Modo checkout independiente */
body.gateway-mode .top-logo,
body.gateway-mode .site-footer {
  display: none;
}
body.gateway-mode .page-frame {
  min-height: calc(100vh - 52px);
  padding-bottom: 0;
}
body.gateway-mode .main-card {
  width: 100%;
  min-height: calc(100vh - 52px);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
body.gateway-mode #appRoot.payment-gateway-layout {
  width: 100%;
  min-height: calc(100vh - 52px);
}


/* FIDELIDAD DE LA PANTALLA DE METODOS: sin alterar el formulario previo. */
body.gateway-mode, body.gateway-mode .browser-shell,
body.gateway-mode .page-frame { background: transparent; }
body.gateway-mode .page-frame,
body.gateway-mode .main-card,
body.gateway-mode #appRoot.payment-gateway-layout { min-height: 100vh; }
body.gateway-mode .browser-bar,
body.gateway-mode .top-logo,
body.gateway-mode .site-footer { display: none !important; }
body.gateway-mode .main-card {
  width: 100% !important; max-width: none !important;
  min-height: 100vh; margin: 0 !important; padding: 0 !important;
  border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  background: transparent !important;
}
body.gateway-mode #appRoot .gateway-page {
  min-height: 100vh; width: 100%;
  margin: 0; padding: 0;
  border-radius: 0;
  background: linear-gradient(99deg,#e5e5e5 0%,#e4e4e4 65%,#ead9d1 100%);
}
#appRoot .gateway-shell-methods {
  flex: 0 1 486px;
  width: 486px;
  max-width: calc(100vw - 20px);
  height: 708px;
  margin: auto;
  padding: 33px 33px;
  border: 4px solid rgba(255,255,255,.44);
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
#appRoot .gateway-card-methods {
  width: 412px;
  max-width: 100%;
  height: 632px;
  margin: 0;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  color: #181818;
}
#appRoot .gateway-card-methods .gateway-dark-header {
  position: relative;
  flex: 0 0 116px;
  height: 116px;
  padding: 0;
  overflow: hidden;
  background: #1e1e1e;
}
#appRoot .gateway-card-methods .gateway-brand-row { position: static; display: block; }
#appRoot .gateway-card-methods .gateway-brand {
  display: block;
  position: absolute;
  left: 15px;
  top: 9px;
  width: calc(100% - 30px);
  height: 95px;
}
#appRoot .gateway-card-methods .gateway-logo-box {
  position: absolute;
  left: 0;
  top: 21px;
  display: flex;
  width: 54px;
  height: 54px;
  border-radius: 6px;
  background: #f7f7f7;
  border: 2px solid #d2d2d2;
  color: #acb0b3;
  font-size: 0;
}
#appRoot .gateway-card-methods .gateway-storefront { width: 44px; height: 44px; }
#appRoot .gateway-card-methods .gateway-brand-text {
  position: absolute;
  left: 65px;
  top: 0;
  width: 242px;
}
#appRoot .gateway-card-methods .gateway-brand-text strong {
  display: block;
  color: #fff;
  max-width: 240px;
  font: 700 16px/23px Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}
#appRoot .gateway-card-methods .gateway-brand-text span {
  color: #fff;
  display: block;
  font: 400 15px/20px Arial, Helvetica, sans-serif;
  margin-top: 11px;
}
#appRoot .gateway-card-methods .gateway-info {
  position: absolute;
  right: 78px;
  top: 24px;
  width: 13px;
  height: 13px;
  font: 700 10px/13px Arial, sans-serif;
  background: #188bce;
  border-radius: 50%;
}
#appRoot .gateway-card-methods .gateway-close {
  position: absolute;
  top: 18px;
  right: 15px;
  width: 20px;
  height: 20px;
  font: 300 31px/20px Arial, Helvetica, sans-serif;
  padding: 0;
  color: #fff;
}
#appRoot .gateway-card-methods .gateway-lang {
  position: absolute;
  right: 15px;
  top: 61px;
  margin: 0;
  padding: 0 9px;
  height: 29px;
  display: flex;
  align-items: center;
  gap: 5px;
  border-radius: 4px;
  color: #fff;
  background: #444;
  font: 700 14px Arial, sans-serif;
}
#appRoot .gateway-card-methods .gateway-lang span { color: #c3c3c3; font: 700 14px Arial, sans-serif; }
#appRoot .gateway-card-methods .gateway-data-row {
  flex: 0 0 62px;
  min-height: 62px;
  padding: 0 12px;
  border-bottom: 4px solid #d5d5d5;
  border-top: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  font: 400 13px/18px Arial, Helvetica, sans-serif;
}
#appRoot .gateway-card-methods .gateway-data-row strong {
  font: 700 15px/18px Arial, Helvetica, sans-serif;
}
#appRoot .gateway-card-methods .gateway-edit {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 3px;
  margin: 0;
  padding: 0;
  font: 400 13px/18px Arial, Helvetica, sans-serif;
  color: #53a5dd;
  white-space: nowrap;
}
#appRoot .gateway-card-methods .gateway-methods-body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 18px 17px 0;
  background: #fff;
}
#appRoot .gateway-card-methods .gateway-methods-body h3 {
  font: 700 14px/20px Arial, Helvetica, sans-serif;
  color: #202020;
  margin: 0 0 16px;
}
#appRoot .gateway-card-methods .gateway-method-card {
  min-height: 75px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  margin: 0 0 8px;
  border: 1px solid #d3d3d3;
  border-radius: 4px;
  background: #fff;
  text-align: left;
  box-shadow: none;
  cursor: default;
}
#appRoot .gateway-card-methods .gateway-method-icon {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  color: #242424;
  margin: 0;
}
#appRoot .gateway-card-methods .gateway-method-copy strong {
  font: 700 13.5px/19px Arial, Helvetica, sans-serif;
  color: #202020;
}
#appRoot .gateway-card-methods .gateway-method-copy small {
  font: 400 10.5px/14px Arial, Helvetica, sans-serif;
  color: #444;
}
#appRoot .gateway-card-methods .gateway-pse-mark {
  display: inline-flex;
  width: 17px;
  height: 17px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #15549a;
  color: #fff;
  font: 700 6px Arial, sans-serif;
  vertical-align: middle;
}
#appRoot .gateway-card-methods .gateway-footer {
  position: relative;
  flex: 0 0 104px;
  min-height: 104px;
  height: 104px;
  margin: 0;
  padding: 0;
  display: block;
  border-top: 1px solid #e1e1e1;
  background: #fff;
  box-shadow: 0 -2px 4px rgba(0,0,0,.045);
}
#appRoot .gateway-card-methods .gateway-total-block strong {
  position: absolute;
  top: 22px;
  left: 12px;
  color: #111;
  margin: 0;
  font: 700 15px/20px Arial, Helvetica, sans-serif;
}
#appRoot .gateway-card-methods .gateway-link {
  position: absolute;
  left: 12px;
  bottom: 16px;
  color: #53a5dd;
  padding: 0;
  margin: 0;
  font: 400 16px/20px Arial, Helvetica, sans-serif;
}
#appRoot .gateway-card-methods .gateway-secured {
  position: absolute;
  right: 12px;
  bottom: 20px;
  color: #484848;
  font: italic 400 10px/16px Arial, Helvetica, sans-serif;
  white-space: nowrap;
}
#appRoot .gateway-card-methods .gateway-secured strong {
  color: #252525;
  font: italic 700 18px/18px Arial, Helvetica, sans-serif;
}
@media(max-width:550px) {
  #appRoot .gateway-shell-methods { height: auto; min-height: 0; padding: 15px; width: min(486px,100%); }
  #appRoot .gateway-card-methods { width:100%; height:632px; }
  #appRoot .gateway-card-methods .gateway-brand-text { width:calc(100% - 66px); }
  #appRoot .gateway-card-methods .gateway-brand-text strong {font-size:13px;line-height:18px;}
  #appRoot .gateway-card-methods .gateway-brand-text span {font-size:12px;line-height:16px; margin-top:6px;}
  #appRoot .gateway-card-methods .gateway-info {right:69px;}
  #appRoot .gateway-card-methods .gateway-data-row {font-size:11px;gap:3px;padding:0 8px;}
  #appRoot .gateway-card-methods .gateway-data-row strong {font-size:12px;}
  #appRoot .gateway-card-methods .gateway-edit {font-size:11px;}
  #appRoot .gateway-card-methods .gateway-method-copy strong {font-size:12px;}
}

/* --- Extensiones para la maqueta de checkout ePayco (tarjeta / PSE / autenticación) --- */
#appRoot .gateway-card-methods .gateway-back-circle {
  position: absolute;
  left: 11px;
  top: 45px;
  width: 33px;
  height: 33px;
  border: 0;
  border-radius: 50%;
  background: #f1f1f1;
  color: #1e1e1e;
  font: 400 28px/33px Arial, Helvetica, sans-serif;
  text-align: center;
  cursor: pointer;
  z-index: 2;
}
#appRoot .gateway-card-methods .gateway-back-circle-solid {
  position: static;
  width: 30px;
  height: 30px;
  background: #f0f0f0;
  font-size: 26px;
  line-height: 30px;
}
#appRoot .gateway-card-methods .gateway-brand {
  left: 58px;
  width: calc(100% - 73px);
}
#appRoot .gateway-card-methods .gateway-brand-text { left: 66px; width: 222px; }
#appRoot .gateway-card-methods .gateway-scroll-area {
  flex: 1 1 auto;
  min-height: 0;
  padding: 12px 16px 12px;
  overflow-y: auto;
  background: #fff;
}
#appRoot .gateway-card-methods .gateway-auth-step-body {
  padding-top: 22px;
}
#appRoot .gateway-card-methods .gateway-step-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0 16px;
  color: #1d1d1d;
  font: 700 15px/20px Arial, Helvetica, sans-serif;
}
#appRoot .gateway-card-methods .gateway-step-title span {
  font-weight: 400;
}
#appRoot .gateway-card-methods .gateway-step-title-pse { gap: 6px; }
#appRoot .gateway-card-methods .gateway-inline-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  color: #2b2b2b;
}
#appRoot .gateway-card-methods .gateway-pse-bullet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #20528d;
  color: #fff;
  font: 700 9px/1 Arial, Helvetica, sans-serif;
}
#appRoot .gateway-card-methods .gateway-lined-field {
  display: block;
  position: relative;
  margin: 0 0 14px;
  padding-top: 8px;
}
#appRoot .gateway-card-methods .gateway-lined-field > span {
  position: absolute;
  left: 12px;
  top: 0;
  padding: 0 3px;
  background: #fff;
  color: #777;
  font: 400 12px/14px Arial, Helvetica, sans-serif;
}
#appRoot .gateway-card-methods .gateway-lined-field input,
#appRoot .gateway-card-methods .gateway-lined-field select,
#appRoot .gateway-card-methods .gateway-other-bank-button {
  width: 100%;
  height: 40px;
  border: 1px solid #d1d1d1;
  border-radius: 4px;
  background: #fff;
  color: #303030;
  padding: 0 12px;
  font: 400 14px/18px Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}
#appRoot .gateway-card-methods .gateway-lined-field input::placeholder { color: #939393; }
#appRoot .gateway-card-methods .gateway-card-row,
#appRoot .gateway-card-methods .gateway-doc-row {
  display: grid;
  grid-template-columns: 1.08fr .62fr .48fr;
  gap: 10px;
}
#appRoot .gateway-card-methods .gateway-doc-row {
  grid-template-columns: .65fr 1.45fr;
}
#appRoot .gateway-card-methods .gateway-cvv-field,
#appRoot .gateway-card-methods .gateway-cuotas-field { position: relative; }
#appRoot .gateway-card-methods .gateway-cvv-field input { padding-right: 38px; }
#appRoot .gateway-card-methods .gateway-eye {
  position: absolute;
  right: 10px;
  top: 18px;
  border: 0;
  background: transparent;
  color: #373737;
  font: 700 14px/1 Arial, Helvetica, sans-serif;
  cursor: pointer;
}
#appRoot .gateway-card-methods .gateway-card-visual {
  margin: 18px 0 20px;
  width: 242px;
  height: 140px;
  border-radius: 12px;
  background: linear-gradient(115deg,#6e6e6e 0%,#222 72%,#000 100%);
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 18px 16px;
  box-sizing: border-box;
}
#appRoot .gateway-card-methods .gateway-card-chip {
  width: 36px;
  height: 27px;
  border: 3px solid #c7d0f1;
  border-radius: 4px;
  background: rgba(255,255,255,.25);
}
#appRoot .gateway-card-methods .gateway-card-number-display {
  position: absolute;
  left: 18px;
  bottom: 48px;
  letter-spacing: .4px;
  font: 700 12px/1 Arial, Helvetica, sans-serif;
}
#appRoot .gateway-card-methods .gateway-card-meta {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 15px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
#appRoot .gateway-card-methods .gateway-card-meta small {
  display: block;
  font: 700 7px/1.2 Arial, Helvetica, sans-serif;
  opacity: .72;
}
#appRoot .gateway-card-methods .gateway-card-meta strong {
  display: block;
  font: 700 8px/1.2 Arial, Helvetica, sans-serif;
}
#appRoot .gateway-card-methods .gateway-split-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  margin: 10px 0 6px;
}
#appRoot .gateway-card-methods .gateway-split-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #202020;
  font: 700 13px/20px Arial, Helvetica, sans-serif;
}
#appRoot .gateway-card-methods .gateway-switch {
  width: 42px;
  height: 24px;
  border: 0;
  border-radius: 30px;
  background: #c7c7c7;
  position: relative;
  cursor: pointer;
}
#appRoot .gateway-card-methods .gateway-switch span {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform .2s ease;
}
#appRoot .gateway-card-methods .gateway-switch.is-on { background: #80c2eb; }
#appRoot .gateway-card-methods .gateway-switch.is-on span { transform: translateX(18px); }
#appRoot .gateway-card-methods .gateway-bank-select-body { padding-top: 14px; }
#appRoot .gateway-card-methods .gateway-bank-section-title {
  margin: 0 0 18px;
  color: #212121;
  font: 700 16px/22px Arial, Helvetica, sans-serif;
}
#appRoot .gateway-card-methods .gateway-bank-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}
#appRoot .gateway-card-methods .gateway-bank-card {
  min-height: 96px;
  border: 1px solid #d3d3d3;
  border-radius: 8px;
  background: #fff;
  padding: 12px 8px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}
#appRoot .gateway-card-methods .gateway-bank-card.is-selected {
  border-color: #5eb0e1;
  background: #bfe1f8;
}
#appRoot .gateway-card-methods .gateway-bank-card strong {
  color: #222;
  font: 700 11px/1.2 Arial, Helvetica, sans-serif;
}
#appRoot .gateway-card-methods .gateway-bank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  font: 700 12px/1 Arial, Helvetica, sans-serif;
}
#appRoot .gateway-card-methods .gateway-bank-badge.davi { background: #ea3133; }
#appRoot .gateway-card-methods .gateway-bank-badge.daviplata { background: #fff; color: #de6f79; border: 1px solid #de6f79; }
#appRoot .gateway-card-methods .gateway-bank-badge.bancolombia { background: #1f1f1f; }
#appRoot .gateway-card-methods .gateway-bank-badge.bbva { background: #1656a9; }
#appRoot .gateway-card-methods .gateway-bank-badge.bogota { background: #18419b; }
#appRoot .gateway-card-methods .gateway-bank-badge.occidente { background: #0c5db3; }
#appRoot .gateway-card-methods .gateway-other-bank-field { display: block; position: relative; padding-top: 8px; }
#appRoot .gateway-card-methods .gateway-other-bank-field > span {
  position: absolute;
  top: 0;
  left: 12px;
  padding: 0 3px;
  background: #fff;
  color: #777;
  font: 400 12px/14px Arial, Helvetica, sans-serif;
}
#appRoot .gateway-card-methods .gateway-other-bank-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
}
#appRoot .gateway-card-methods .gateway-other-bank-button em {
  font-style: normal;
  color: #bbb;
}
#appRoot .gateway-card-methods .gateway-person-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 14px;
}
#appRoot .gateway-card-methods .gateway-person-tab {
  height: 38px;
  border: 1px solid #d3d3d3;
  border-radius: 4px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #666;
  font: 400 14px/18px Arial, Helvetica, sans-serif;
  cursor: pointer;
}
#appRoot .gateway-card-methods .gateway-person-tab.is-active {
  background: #bfe1f8;
  border-color: #5eaee0;
}
#appRoot .gateway-card-methods .gateway-radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #979797;
  background: #fff;
  box-sizing: border-box;
}
#appRoot .gateway-card-methods .gateway-person-tab.is-active .gateway-radio {
  border-color: #4d9dd0;
  box-shadow: inset 0 0 0 3px #fff;
  background: #4d9dd0;
}
#appRoot .gateway-card-methods .gateway-terms-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
  color: #202020;
  font: 400 12px/1.45 Arial, Helvetica, sans-serif;
}
#appRoot .gateway-card-methods .gateway-terms-box input {
  width: 20px;
  height: 20px;
  margin-top: 1px;
}
#appRoot .gateway-card-methods .gateway-terms-box a {
  color: #53a5dd;
  text-decoration: none;
}
#appRoot .gateway-card-methods .gateway-hero-slot {
  flex: 0 0 95px;
  min-height: 95px;
  background: #fff;
  border-bottom: 4px solid #d5d5d5;
}
#appRoot .gateway-card-methods .gateway-footer-action {
  position: absolute;
  right: 12px;
  top: 13px;
  height: 50px;
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
}
/* El texto de Continuar/Pagar permanece negro; solo la flecha indica el estado. */
#appRoot .gateway-card-methods .gateway-footer-button {
  height: 42px;
  min-width: 0;
  padding: 0 3px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #171717;
  font: 700 17px/1 Arial, Helvetica, sans-serif;
  cursor: default;
  opacity: 1;
}
#appRoot .gateway-card-methods .gateway-footer-button:disabled {
  background: transparent;
  color: #171717;
  opacity: 1;
}
#appRoot .gateway-card-methods .gateway-footer-arrow {
  width: 42px;
  height: 42px;
  margin-left: 5px;
  border-radius: 50%;
  background: #e4e4e4;
  color: #bfc3c7;
  text-align: center;
  font: 400 38px/39px Arial, Helvetica, sans-serif;
  transition: background-color .15s ease, color .15s ease;
}
#appRoot .gateway-card-methods .gateway-footer-action.is-active .gateway-footer-button {
  background: transparent;
  color: #171717;
  cursor: pointer;
}
#appRoot .gateway-card-methods .gateway-footer-action.is-active .gateway-footer-arrow {
  background: #1d2430;
  color: #fff;
}
#appRoot .gateway-bank-modal-card {
  width: 412px;
  max-width: 100%;
  height: 632px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0,0,0,.1);
}
#appRoot .gateway-bank-modal-header {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 16px;
  background: #1e1e1e;
  color: #fff;
}
#appRoot .gateway-bank-modal-header strong { font: 700 18px/1.2 Arial, Helvetica, sans-serif; }
#appRoot .gateway-bank-search-wrap {
  position: relative;
  padding: 10px 16px 16px;
  background: #1e1e1e;
}
#appRoot .gateway-bank-search-wrap input {
  width: 100%;
  height: 42px;
  border: 0;
  border-radius: 4px;
  background: #2f3640;
  color: #fff;
  padding: 0 16px 0 42px;
  font: 400 16px/20px Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}
#appRoot .gateway-bank-search-wrap input::placeholder { color: #8c9098; }
#appRoot .gateway-search-icon {
  position: absolute;
  left: 28px;
  top: 20px;
  width: 22px;
  height: 22px;
  color: #fff;
}
#appRoot .gateway-bank-list-scroll {
  height: calc(632px - 124px);
  overflow-y: auto;
  background: #fff;
}
#appRoot .gateway-bank-list-item {
  width: 100%;
  min-height: 62px;
  border: 0;
  border-bottom: 1px solid #d9d9d9;
  background: #fff;
  text-align: left;
  padding: 0 26px;
  color: #202020;
  font: 400 14px/18px Arial, Helvetica, sans-serif;
}
@media (max-width: 550px) {
  #appRoot .gateway-card-methods .gateway-brand { left: 48px; width: calc(100% - 60px); }
  #appRoot .gateway-card-methods .gateway-logo-box { width: 50px; height: 50px; top: 25px; }
  #appRoot .gateway-card-methods .gateway-brand-text { left: 58px; width: calc(100% - 64px); }
  #appRoot .gateway-card-methods .gateway-back-circle { left: 8px; top: 46px; width: 30px; height: 30px; line-height: 30px; font-size: 24px; }
  #appRoot .gateway-card-methods .gateway-card-row { grid-template-columns: 1fr; }
  #appRoot .gateway-card-methods .gateway-doc-row { grid-template-columns: .75fr 1.25fr; }
  #appRoot .gateway-card-methods .gateway-bank-grid { gap: 10px; }
  #appRoot .gateway-card-methods .gateway-bank-card { min-height: 88px; padding: 10px 6px; }
  #appRoot .gateway-card-methods .gateway-footer-button { min-width: 0; padding: 0 3px; font-size: 15px; }
  #appRoot .gateway-card-methods .gateway-footer-arrow { width: 38px; height: 38px; line-height: 34px; font-size: 32px; }
}
