* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #111827;
  color: #f3f4f6;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
}

.app {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.card,
.form-card,
.inventory-item {
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 16px;
  padding: 20px;
}

.back-link {
  display: inline-block;
  color: #f97316;
  text-decoration: none;
  margin-bottom: 18px;
}

h1,
h2 {
  margin-bottom: 10px;
}

.muted {
  color: #9ca3af;
  margin-bottom: 20px;
}

label {
  display: block;
  margin: 12px 0 6px;
  font-weight: 600;
}

input {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #374151;
  background: #111827;
  color: white;
}

button {
  background: #f97316;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 700;
  margin-top: 14px;
}

.hidden {
  display: none;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.status {
  background: #111827;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 16px;
  border: 1px solid #374151;
}

.form-card {
  margin-bottom: 20px;
}

.inventory-list {
  display: grid;
  gap: 12px;
}

.inventory-item h3 {
  margin-bottom: 6px;
}

.inventory-item p {
  color: #d1d5db;
  margin: 3px 0;
}

.menu-grid {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.menu-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #111827;
  border: 1px solid #374151;
  border-radius: 14px;
  padding: 20px;
}

.menu-card:hover {
  border-color: #f97316;
}

.menu-card h2 {
  margin-bottom: 8px;
}

.menu-card p {
  color: #d1d5db;
}

.scanner-box {
  margin-top: 15px;
  overflow: hidden;
  border-radius: 12px;
}