body {
  font-family: Arial, sans-serif;
  margin: 0;
  background-color: #f0f2f5;
  color: #333;
}

.prueba1 {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  position: relative;
  padding: 0.5rem;
  background: #333;
}

.reper {
  grid-column: 1;
  justify-self: start;
}

.reper button {
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px rgba(0, 0, 0, 0.2);
}

.reper button:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

.reper a {
  text-decoration: none;
  color: inherit;
}

.titleone {
  grid-column: 2;
  text-align: center;
  margin: 0;
  font-size: 1.5rem;
  color: white;
  padding-top: 10px;
}

.prueba1 .reper button {
  background-color: #a09a9a;
  border-radius: 9px;
}

.sele h3 {
  color: white;
  margin: 0;
}

/* --- ESTILOS DEL SECTOR PRINCIPAL Y FORMULARIO --- */

.sudti {
  background-color: #1a1a1a;
  color: white;
  background-image: url(/img/Free\ Fire.jpeg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding: 20px;
  border-radius: 12px;
}

.fon {
  background: rgba(0, 0, 0, 0.75);
  padding: 25px;
  border-radius: 10px;
  max-width: 800px;
  margin: 0 auto;
}

.mensaje-confirmacion {
  background-color: #1e4620;
  color: #4caf50;
  border: 1px solid #2e7d32;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  font-weight: bold;
  margin-bottom: 20px;
  font-size: 1rem;
}

.formulario {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-width: 580px;
  margin: 0 auto 20px auto;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.formulario label {
  font-weight: bold;
  text-align: left;
  font-size: 0.95rem;
  color: #e0e0e0;
}

.formulario input[type="text"],
.formulario input[type="tel"] {
  padding: 10px;
  border: 1px solid #555;
  border-radius: 6px;
  text-align: left;
  background-color: #2b2b2b;
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.formulario input[type="text"]:focus,
.formulario input[type="tel"]:focus {
  border-color: #007bff;
}

/* --- ESTILOS DE MÉTODOS DE PAGO --- */

.pago-seccion {
  margin: 15px 0;
}

.titulo-pago {
  display: block;
  font-size: 1rem;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 4px;
}

.instruccion-copiar {
  font-size: 0.85rem;
  color: #a0a0a0;
  margin: 0 0 12px 0;
}

.grid-bancos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.tarjeta-banco input[type="radio"] {
  display: none;
}

.card-body {
  background-color: #2b2b2b;
  border: 2px solid #444;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  height: 100%;
  box-sizing: border-box;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nombre-banco {
  font-weight: bold;
  font-size: 0.95rem;
  color: #ffffff;
}

.check-icon {
  width: 18px;
  height: 18px;
  background-color: #555;
  color: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: bold;
  transition: all 0.2s ease;
}

.badge-tipo {
  background-color: #3d3d3d;
  color: #aaa;
  font-size: 0.65rem;
  font-weight: bold;
  padding: 3px 6px;
  border-radius: 10px;
  align-self: flex-start;
  letter-spacing: 0.5px;
}

.numero-copiar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: #ffffff;
  margin-top: 2px;
}

.btn-copiar {
  background: #3a3a3a;
  border: none;
  color: #fff;
  border-radius: 6px;
  padding: 2px 6px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: background 0.2s ease;
}

.btn-copiar:hover {
  background: #007bff;
}

.titular {
  font-size: 0.75rem;
  color: #888;
  text-transform: uppercase;
}

.tarjeta-banco input[type="radio"]:checked + .card-body {
  background-color: #1e3323;
  border-color: #28a745;
}

.tarjeta-banco input[type="radio"]:checked + .card-body .check-icon {
  background-color: #28a745;
  color: #ffffff;
}

/* --- ESTILOS COMPROBANTE DE PAGO --- */

.comprobante-box {
  margin: 15px 0;
  transition: opacity 0.3s ease;
}

.comprobante-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.icon-dolar {
  background-color: #3a3a3a;
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.9rem;
}

.titulo-comprobante {
  font-weight: bold;
  letter-spacing: 1px;
  color: #a0a0a0;
  font-size: 0.85rem;
}

.comprobante-card {
  background-color: rgba(43, 43, 43, 0.9);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.comprobante-content {
  display: flex;
  align-items: center;
  gap: 15px;
}

.icon-cloud-box {
  background-color: #007bff;
  color: white;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  flex-shrink: 0;
}

.comprobante-texto h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: bold;
  color: #ffffff;
}

.comprobante-texto p {
  margin: 4px 0 0 0;
  font-size: 0.85rem;
  color: #cccccc;
  line-height: 1.3;
}

.btn-seleccionar-imagen {
  background-color: #007bff;
  color: white;
  text-align: center;
  padding: 10px 15px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  display: block;
}

.btn-seleccionar-imagen:hover {
  background-color: #0056b3;
  transform: scale(1.01);
}

.input-captura-hidden {
  display: none;
}

.nombre-archivo {
  font-size: 0.85rem;
  color: #28a745;
  font-weight: bold;
  text-align: center;
}

/* --- ESTILOS DE RECARGAS MÚLTIPLES --- */

.recarga-selection {
  margin-top: 20px;
}

.titulo-recargas {
  font-weight: bold;
  color: #ffc107;
  text-align: left;
  margin-bottom: 12px;
}

.contenedor-filas-recarga {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fila-recarga-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  padding: 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.selector-box {
  flex: 1;
}

.select-recarga {
  width: 100%;
  padding: 10px;
  border: 1px solid #555;
  border-radius: 6px;
  background-color: #2b2b2b;
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
}

.btn-quitar-recarga {
  background-color: #dc3545;
  color: white;
  border: none;
  padding: 10px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  font-size: 0.85rem;
  transition: background 0.2s ease;
}

.btn-quitar-recarga:hover {
  background-color: #bd2130;
}

.acciones-recarga {
  margin-top: 12px;
  text-align: left;
}

.btn-agregar-recarga {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  font-size: 0.9rem;
  transition: background 0.2s ease;
}

.btn-agregar-recarga:hover {
  background-color: #0056b3;
}

/* --- RESUMEN DE PEDIDO --- */

.resumen-pedido-card {
  background: rgba(43, 43, 43, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 15px;
  margin-top: 18px;
}

.resumen-pedido-card h4 {
  margin: 0 0 10px 0;
  color: #ffffff;
  font-size: 1rem;
  border-bottom: 1px solid #444;
  padding-bottom: 6px;
}

.resumen-lista-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 180px;
  overflow-y: auto;
}

.resumen-item-linea {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #dddddd;
  background: rgba(0, 0, 0, 0.3);
  padding: 6px 10px;
  border-radius: 4px;
}

.resumen-vacio {
  color: #888;
  font-size: 0.85rem;
  margin: 5px 0;
}

.resumen-total-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 2px dashed #555;
  font-size: 1.1rem;
  font-weight: bold;
  color: #ffffff;
}

.resumen-total-box strong {
  color: #28a745;
  font-size: 1.25rem;
}

/* --- BOTÓN ENVIAR --- */

.boton-comprar {
  text-align: center;
  margin-top: 25px;
}

.Comprar {
  display: inline-block;
  background-color: #28a745;
  color: white;
  font-size: 1.05rem;
  font-weight: bold;
  padding: 14px 40px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.Comprar:hover {
  background-color: #218838;
  transform: scale(1.03);
}

@media (max-width: 500px) {
  .grid-bancos {
    grid-template-columns: 1fr;
  }
}