:root {
  --primary: #d32f2f; /* Snackbar Red */
  --secondary: #ffeb3b; /* Fries Yellow */
  --text: #212121;
  --bg: #f5f5f5;
  --white: #ffffff;
  --border: #e0e0e0;
}

* {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  background-color: var(--white);
  min-height: 100vh;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

h1, h2, h3 {
  margin-top: 0;
  text-align: center;
}

h1 {
  color: var(--primary);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -1px;
}

/* Big Buttons */
.btn {
  display: block;
  width: 100%;
  padding: 15px;
  margin: 10px 0;
  border: none;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.1s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

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

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

/* Forms */
.form-group {
  margin-bottom: 15px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

input[type="text"],
input[type="number"],
input[type="tel"],
select {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  border: 2px solid var(--border);
  border-radius: 8px;
}

input:focus, select:focus {
  border-color: var(--primary);
  outline: none;
}

/* List View */
.order-list {
  list-style: none;
  padding: 0;
}

.order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid var(--border);
}

.order-item:last-child {
  border-bottom: none;
}

.item-details {
  display: flex;
  flex-direction: column;
}

.item-name {
  font-weight: bold;
}

.item-meta {
  font-size: 0.9rem;
  color: #666;
}

/* Summary Box */
.summary-box {
  background-color: #fffde7; /* Light yellow */
  border: 2px solid var(--secondary);
  padding: 15px;
  border-radius: 8px;
  margin-top: 20px;
}

.summary-title {
  text-align: center;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.summary-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px dashed var(--secondary);
}

/* Category Nav */
.category-nav {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding-bottom: 10px;
  margin-bottom: 15px;
  -webkit-overflow-scrolling: touch;
}

.category-btn {
  white-space: nowrap;
  padding: 8px 16px;
  border-radius: 20px;
  background-color: #eee;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

.category-btn.active {
  background-color: var(--primary);
  color: var(--white);
}

/* Searchable List */
.snack-search {
  margin-bottom: 15px;
}

.snack-list-container {
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.snack-option {
  padding: 10px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}

.snack-option:hover {
  background-color: #f9f9f9;
}

.snack-option label {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin: 0;
  font-weight: normal;
}

.snack-option input[type="radio"] {
  margin-right: 10px;
}

.snack-category-header {
  background-color: #eee;
  padding: 5px 10px;
  font-weight: bold;
  font-size: 0.9rem;
  position: sticky;
  top: 0;
}

.helper-text {
  font-size: 0.85rem;
  color: #666;
  margin-top: 4px;
}
