
body {
  font-family: Arial, sans-serif;
  background: #f5f6fa;
  margin: 20px;
}

.pedidos-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.pedido {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  width: 280px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pedido-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.status {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: bold;
  text-transform: capitalize;
}

.pending {
  background: #eee;
  color: #555;
}

.processing {
  background: #cce5ff;
  color: #004085;
}

.delivered {
  background: #d4edda;
  color: #155724;
}

.resumen p {
  margin: 3px 0;
  font-size: 14px;
}

.detalles {
  border-top: 1px solid #ddd;
  padding-top: 10px;
}

.oculto {
  display: none;
}

.pedido-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #ddd;
  padding-top: 10px;
  margin-top: auto;
}

.precio {
  font-size: 16px;
  font-weight: bold;
  color: #007bff;
}

.acciones {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.btn {
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  font-weight: bold;
}

.btn-eliminar {
  background: #e74c3c;
  color: #fff;
}

.btn-toggle {
  background: transparent;
  border: none;
  color: #007bff;
  font-size: 14px;
  cursor: pointer;
  text-align: left;
}

.navigation {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  background: #1e3a8a;
  padding: 1rem 2rem;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navigation a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: 0.3s, color 0.3s;
}

.navigation a:hover {
  background: #3b82f6;
  color: #fff;
}

.btnImprimirTarjetas {
  background-color: #d97fa3;
  border: none;
  color: white;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.btnImprimirTarjetas:hover {
  background-color: #c76f92;
}

.contenedorTarjetas {
  display: none; /* solo se muestra al imprimir */
}