body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  padding: 10px;
  color: #333;
  margin: 0;
}

.container {
  max-width: 100%;
}

h2 {
  margin-top: 0;
  margin-bottom: 4px;
  font-size: 18px;
}

p {
  margin-top: 0;
  margin-bottom: 15px;
  color: #666;
  font-size: 13px;
}

.hidden {
  display: none;
}

#status {
  margin-bottom: 10px;
  font-size: 14px;
}

#found-ids {
  margin-top: 15px;
}

.found-id-container {
  margin-bottom: 16px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
}

.found-id {
  background: #e3f2fd;
  padding: 8px 12px;
  border-radius: 4px;
  margin-bottom: 8px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.load-details-card {
  padding: 8px 12px;
  background: #f5f5f5;
  border-top: 1px solid #e0e0e0;
}

.load-details {
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 12px;
  white-space: pre-line; /* This preserves line breaks */
}

.button-container {
  display: flex;
  gap: 8px;
}

.loading {
  padding: 8px 12px;
  color: #666;
  font-style: italic;
  font-size: 13px;
}

.error {
  padding: 8px 12px;
  color: #d32f2f;
  font-size: 13px;
}

.scan-button {
  display: block;
  margin-top: 15px;
  padding: 8px 16px;
  background-color: #1976d2;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s;
}

.scan-button:hover {
  background-color: #1565c0;
}

.copy-btn, .reply-btn {
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 3px 8px;
  font-size: 12px;
  cursor: pointer;
}

.reply-btn {
  background-color: #e8f5e9;
  border-color: #c8e6c9;
}

.copy-btn:hover {
  background-color: #e0e0e0;
}

.reply-btn:hover {
  background-color: #c8e6c9;
}