body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #d9a867;
  color: #333;
}

section {
  display: none;
  padding: 20px;
  max-width: 500px;
  margin: auto;
  text-align: center;
}

section:not(.oculto) {
  display: block;
}

.logo {
  display: block;
  margin: 50px auto 20px;
  width: 250px;
}

input, button {
  display: block;
  width: 100%;
  margin: 10px auto;
  padding: 10px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

button {
  background-color:  #eded0c;
  color: #000;
  border: none;
  cursor: pointer;
}

button:hover {
  background-color: #00f736;
}

.oculto {
  display: none;
}

#contenedor-cartones {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 20px 0;
}

.carton {
  width: 60px;
  height: 60px;
  background-color: #e0e0e0;
  border: 2px solid #999;
  border-radius: 10px;
  font-size: 18px;
  line-height: 60px;
  text-align: center;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s;
}

.carton.seleccionado {
  background-color: red;
  color: white;
}

.carton.ocupado {
  background-color: red;
  color: white;
  cursor: not-allowed;
}

.btn-fijo {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #FFA500;
  color: white;
  border: none;
  padding: 15px 25px;
  font-size: 16px;
  border-radius: 50px;
}

@media (max-width: 600px) {
  .carton {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 16px;
  }

  .btn-fijo {
    padding: 12px 20px;
    font-size: 14px;
  }
}
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-contenido {
  background: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.oculto {
  display: none;
}
#tabla-comprobantes {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}

#tabla-comprobantes th,
#tabla-comprobantes td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}

#tabla-comprobantes img {
  width: 80px;
  border-radius: 6px;
}

.btn-accion {
  font-size: 18px;
  cursor: pointer;
  border: none;
  background: transparent;
}

.btn-aprobar { color: #28a745; }   /* ✅ verde  */
.btn-rechazar { color: #dc3545; }  /* ❌ rojo   */
.btn-eliminar { color: #ff5722; }

#btnContinuarCartones {
  padding: 10px 20px;
  font-size: 14px;
  background-color: #02f51b;
  color: #000;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 20px; /* espacio con respecto a otros elementos */
}

#btnContinuarCartones:hover {
  background-color: #02f51b;
}
#redes-sociales {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  z-index: 999;
  padding: 10px 20px;
  border-radius: 30px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
   background-color: #51fc4e;
}
@media print {
  body * {
    visibility: hidden;
  }
  #listaAprobados, #listaAprobados * {
    visibility: visible;
  }
  #listaAprobados {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
  }
}
.selector-cantidad {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
}

.selector-cantidad button {
  width: 40px;
  height: 40px;
  font-size: 24px;
  font-weight: bold;
  line-height: 0;
}
.selector-cantidad input {
  max-width: 80px;
  text-align: center;
}
button {
  background-color:  #51fc4e;
  color: #000;
  border: none;
  cursor: pointer;
  padding: 10px;
  font-size: 16px;
  border-radius: 8px;
  width: 100%;
  max-width: 400px;
  margin: 10px auto;
  display: block;
}

button:hover {
  background-color: #F9E65C;
}
#btnWhatsapp {
  background-color: #25d366; /* verde WhatsApp */
  color: white;
  padding: 12px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  cursor: pointer;
}

#btnWhatsapp:hover {
  background-color: #1ebe57;
}
#modal-terminos .modal-contenido {
  color: black;
}
body {
  color: black; /* texto general blanco */
}
.carton {
  color: black;
}
#pago h2, #pago p {
  font-weight: bold;  /* Esto hará que el texto sea más grueso */
}
html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh; /* asegura que cubra toda la altura */
  height: 100%;
  background-image: url('https://i.postimg.cc/vHtJkYCy/5eeacade-282f-4001-9678-01090333315f.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* (opcional) mantiene el fondo fijo al hacer scroll */
  font-family: sans-serif;
}

.estado-circulo {
  display: inline-block;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  margin-right: 1px;
  vertical-align: middle;
}

.estado-circulo.rojo {
  background-color: red;
}

.estado-circulo.verde {
  background-color: green;
}
a[href*="wa.me"] {
  color: #25D366;
  font-weight: bold;
  text-decoration: none;
}

a[href*="wa.me"]:hover {
  text-decoration: underline;
  color: #128C7E;
}

.grid-promo {
  display: grid;
  grid-template-columns: 1fr 140px 160px;
  gap: 10px;
  margin: 8px 0 12px 0;
}

.btn-promo {
  background: #00b894;
  color: #fff !important;
  border: none;
  border-radius: 8px;
  padding: 12px 16px;
  font-weight: 700;
  cursor: pointer;
}
.btn-promo:hover { filter: brightness(1.05); }

/* Visual de casillas bloqueadas (ya usas .bloqueado en JS) */
.carton.bloqueado {
  filter: grayscale(1);
  opacity: 0.45;
  cursor: not-allowed;
}
#totalPagarCartones { display: none; }

.celda-ref { white-space: nowrap; }
.celda-ref input.ref-input {
  width: 70px;
  padding: 6px 8px;
  font-size: 14px;
  text-align: center;
}
.celda-ref .btn-mini {
  margin-left: 6px;
  padding: 6px 10px;
  font-size: 13px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
}
.celda-ref .btn-guardar { background:#28a745; color:#fff; }
.celda-ref .btn-cancelar { background:#6c757d; color:#fff; }
.celda-ref .btn-edit-ref { color:#007bff; }
.dup-table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 14px 0;
  font-size: 14px;
}
.dup-table th, .dup-table td {
  border: 1px solid #ccc;
  padding: 6px 8px;
  text-align: left;
}
.resaltado-dup {
  background: rgba(255, 215, 0, 0.22); /* amarillo suave */
}
.grid-promociones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 15px 0;
}

.btn-promo {
  background: linear-gradient(135deg, #00b894, #00a085);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 15px 10px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-height: 70px;
}

.btn-promo:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 184, 148, 0.3);
  filter: brightness(1.1);
}

.btn-promo.seleccionado {
  background: linear-gradient(135deg, #e17055, #d63031);
  border: 3px solid #FFA500;
}

.promo-desc {
  font-size: 14px;
  text-align: center;
  line-height: 1.2;
}

.promo-precio {
  font-size: 16px;
  font-weight: bold;
}

.btn-promo.desactivado {
  background: #bdc3c7;
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-promo.desactivado:hover {
  transform: none;
  box-shadow: none;
  filter: none;
}
.grid-promociones-admin {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 20px 0;
}

.promo-admin-card {
  border: 2px solid #ddd;
  border-radius: 10px;
  padding: 15px;
  background: #f8f9fa;
}

.promo-admin-card h4 {
  margin: 0 0 10px 0;
  color: #2d3436;
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
}

.promo-control {
  margin-bottom: 10px;
}

.promo-input {
  width: 100%;
  padding: 8px;
  margin: 5px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}
#admin-panel {
  background-color: #e4ffe3; /* coloca tu imagen deseada aquí */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  padding: 20px;
  box-sizing: border-box;
  width: 100%;
  max-width: 720px;  /* Aumenta según el espacio que necesites */
  margin: 0 auto;
}
@media (max-width: 600px) {
  #admin-panel {
    padding: 15px;
    background-color: #e4ffe3;
  }
}
.pago-box {
  background-color: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  color: #000;
  max-width: 500px;
  margin: auto;
}
