/* Panel de Taquilla: botones grandes para usar rápido en la puerta (celular). */

h2 {
  font-family: var(--font-heading);
  text-align: center;
  color: var(--color-primary);
}

.taq-precio {
  max-width: 320px;
  margin: 0 auto 20px;
  text-align: center;
}

.taq-precio input {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
}

.taq-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f8f8f8;
  border-radius: 8px;
  padding: 16px;
  max-width: 320px;
  margin: 0 auto 20px;
}

.taq-display-label {
  font-family: var(--font-heading);
  font-weight: 600;
}

.taq-display-num {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-primary);
}

.taq-display-total {
  font-weight: 700;
  min-height: 1.3em;
}

/* Teclado de personas y medios de pago lado a lado */
.taq-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 600px;
  margin: 0 auto 20px;
}

.taq-col {
  display: flex;
  flex-direction: column;
}

.taq-teclado {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  flex: 1;
}

.taq-teclado button {
  margin: 0;
  padding: 16px 0;
  font-size: 1.5rem;
  background: #eee;
  color: var(--color-secondary);
}

.taq-teclado button:hover {
  background: #ddd;
}

.taq-teclado button.active {
  background: var(--color-primary);
  color: #fff;
}

.taq-btn-secundario {
  background: var(--color-secondary);
}

.taq-btn-secundario:hover {
  background: #111;
}

#btnLimpiar {
  max-width: 320px;
  margin: 0 auto 24px;
}

.taq-subtitulo {
  font-family: var(--font-heading);
  text-align: center;
  margin: 0 0 12px;
}

.taq-medios {
  display: grid;
  grid-template-rows: repeat(5, 1fr);
  gap: 10px;
  flex: 1;
}

.taq-medio {
  margin: 0;
  padding: 12px 8px;
  font-size: 1.2rem;
}

.taq-medio:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.medio-efectivo { background: #2e7d32; }
.medio-efectivo:hover:not(:disabled) { background: #1b5e20; }
.medio-nequi { background: #6a1b9a; }
.medio-nequi:hover:not(:disabled) { background: #4a148c; }
.medio-daviplata { background: #d32f2f; }
.medio-daviplata:hover:not(:disabled) { background: #b71c1c; }
.medio-breb { background: #00838f; }
.medio-breb:hover:not(:disabled) { background: #006064; }
.medio-datafono { background: #1565c0; }
.medio-datafono:hover:not(:disabled) { background: #0d47a1; }

/* Resumen */
.taq-stats {
  margin-bottom: 20px;
}

.taq-stat {
  display: flex;
  flex-direction: column;
  background: #f8f8f8;
  border-radius: 8px;
  padding: 12px 16px;
}

.taq-stat-total {
  background: var(--color-primary);
  color: #fff;
  margin-bottom: 12px;
  text-align: center;
}

.taq-stat-titulo {
  font-family: var(--font-heading);
  font-weight: 600;
}

.taq-stat-valor {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
}

.taq-stat-total .taq-stat-valor {
  font-size: 2.2rem;
}

.taq-stat-sub {
  font-size: 0.9rem;
}

.taq-stats-medios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.taq-acciones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.taq-acciones button {
  margin: 0;
}

.taq-acciones button:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.empty-state {
  text-align: center;
  color: #666;
  padding: 20px;
}

@media (max-width: 600px) {
  .taq-panel {
    gap: 10px;
  }

  .taq-medio {
    font-size: 1rem;
  }

  .taq-acciones {
    grid-template-columns: 1fr;
  }
}
