/* 🧩 Chips de selección de números */
.selector-chip {
  display: inline-block;
  padding: 8px 14px;
  background: linear-gradient(145deg, #0d1b3f, #1e2e5c);
  color: #ffd700;
  border: 2px solid #ffd700;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 0 6px rgba(255, 215, 0, 0.4);
  width: 60px;
}

.selector-check:checked + .selector-chip {
  background: linear-gradient(145deg, #1e2e5c, #0d1b3f);
  color: #fff;
  text-shadow: 0 0 6px #ffd700;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
}

/* 🧾 Caja de resumen */
#sorteo-resumen,
#formulario_pago_rifa {
  color: #fff;
  padding: 18px;
  border-radius: 12px;
  font-family: 'Poppins', sans-serif;
  max-width: 640px;
  margin: auto;
  text-align: center;
  background: linear-gradient(160deg, #0d1b3f, #1e2e5c);
  box-shadow:
    0 0 12px rgba(255, 215, 0, 0.2),
    inset 0 0 20px rgba(255, 215, 0, 0.05);
  position: relative;
  overflow: hidden;
}

/* 🔢 Chips en resumen */
#sorteo-resumen span.chip-num {
  display: inline-block;
  margin: 6px;
  padding: 10px 18px;
  border: 2px solid #ffd700;
  border-radius: 8px;
  font-size: 16px;
  background: #1e2e5c;
  color: #ffd700;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  box-shadow: 0 0 6px rgba(255, 215, 0, 0.4);
  animation: glowPulse 2.4s infinite;
}

/* 🔍 Resaltado de búsqueda */
.resaltar-busqueda {
  animation: parpadeoBrillante 1.2s ease-in-out;
  background-color: #ffd700 !important;
  color: #000 !important;
  box-shadow: 0 0 20px #ffd700;
}

/* 🔘 Botones dorado sobre azul */
button,
#limpiar_seleccion,
#guardarSeleccion,
#boton_enviar_pago {
  background: linear-gradient(145deg, #ffd700, #e6c200);
  color: #0d1b3f;
  font-weight: bold;
  padding: 10px 18px;
  border: 2px solid #fff;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
}

button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.6), 0 0 8px rgba(255, 215, 0, 0.4);
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ✨ Animaciones */
@keyframes parpadeoBrillante {
  0%   { box-shadow: 0 0 0 transparent; transform: scale(1); }
  50%  { box-shadow: 0 0 20px #ffd700; transform: scale(1.08); }
  100% { box-shadow: 0 0 0 transparent; transform: scale(1); }
}

@keyframes glowPulse {
  0%   { box-shadow: 0 0 2px #ffd700; }
  50%  { box-shadow: 0 0 8px #ffd700; }
  100% { box-shadow: 0 0 2px #ffd700; }
}

/* 🧹 Botón para borrar */
button.btn-eliminar-numero {
  display: none !important;
}

span.numero-resumen {
  margin-left: 8px;
}

/* 🏦 Iconos de bancos */
.banco-icono {
  background: #fff;
  cursor: pointer !important;
  border: 2px solid transparent;
  max-height: 62px !important;
  min-width: 50px;
  border-radius: 10px;
  transition: border-color 0.2s ease;
  opacity: 0.8;
}

.banco-icono:hover {
  border-color: #ffd700;
}

.banco-icono img {
  background: #fff;
  max-height: 60px !important;
  width: auto !important;
  border-radius: 10px !important;
}

.banco-icono.selected-banco {
  border-color: #ffd700;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
  transform: scale(1.05);
  opacity: 1 !important;
}

.banco-icono.selected-banco img {
  opacity: 1 !important;
}

/* 🧾 Formulario */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.form-grid div {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

.form-grid label {
  font-weight: bold;
  margin-bottom: 4px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
}

.form-grid input {
  padding: 10px;
  border-radius: 6px;
  border: 2px solid #ccc;
  background: #fff;
  color: #222;
  box-shadow: 0 0 4px rgba(255, 215, 0, 0.2);
}

/* 🧠 Responsive: dos columnas si el ancho es mayor a 350px */
@media (min-width: 351px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .selector-iconico img {
    width: 70px;
    height: 70px;
  }
}

#btnSiguiente, #btnAnterior, button {
  color: #fff !important;
  font-weight: 700 !important;
}

div#contenedor_paginas {
  margin-bottom: 20px;
}

.cantidad {
  display: flex;
  width: 100% !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

#sorteo-selector {
  flex-direction: column;
}

.buscar-n, #contenedor_paginas, .navegador {
  display: none;
}

button#limpiar_seleccion {
  display: none;
}

div#sorteo-resumen {
  max-height: 0px;
  padding: 0px;
}

/* 🎯 Selector iconográfico */
.selector-iconico {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 14px;
}

.selector-iconico label {
  display: inline-block;
  cursor: pointer;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: 0.3s ease;
}

.selector-iconico input[type="radio"] {
  display: none;
}

.selector-iconico input[type="radio"]:checked + img {
  border-color: #ffd700;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

.selector-iconico img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid #ccc;
  background: #fff;
  padding: 6px;
}

#tipo_pago {
  display: none;
}
