body {
  font-family: Arial, sans-serif;
  background: #f0f0f0;
}

.scan-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  margin-bottom: 10px;
  font-size: 14px;
  background: #4caf50;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.scan-button:hover {
  background: #45a049;
}

.barcode-icon {
  height: 12px;
  margin-left: 8px;
}

#scanner-container {
  width: 100%;
  max-width: 900px;
  height: 40vh;
  margin: 0 auto 20px;
  background: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.product-view {
  max-width: 600px;
  margin: 0 auto 40px;
  background: #fff;
  padding: 20px;
  border-radius: 5px;
  font-size: 14px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.product-table {
  width: 100%;
  border-collapse: collapse;
}

.product-table td {
  padding: 6px;
  vertical-align: middle;
}

.qty-buttons {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}

.qty-buttons input[type='number'] {
  width: 60px;
  text-align: center;
}

.qty-buttons button {
  padding: 4px 8px;
  font-size: 14px;
  background: #eee;
  border: 1px solid #ccc;
  cursor: pointer;
}

.qty-buttons .add-btn {
  margin-left: auto;
  background: #007cba;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 3px;
}

#confirmation-message {
  margin-top: 10px;
  font-size: 13px;
  color: green;
}
