body {
  font-family: Arial;
  padding: 20px;
}

.topping {
  margin: 8px 0;
}

button {
  margin-top: 20px;
  padding: 10px;
  background: rgb(81, 225, 201);
  border: none;
  color: white;
  cursor: pointer;
}
.card {
      background: white;
      padding: 20px;
      border-radius: 10px;
      margin-bottom: 20px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
input, button {
      padding: 10px;
      margin: 5px 0;
      width: 100%;
}
#pizzaContainer {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  /*background: #111;*/
}
.view {
  display: none;
}

.view.active {
  display: block;
}


.order-card {
  background: #1e1e1e;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
  color: white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  font-family: sans-serif;
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.order-id {
  font-size: 18px;
  font-weight: bold;
}

.order-status {
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 12px;
}

/* Status Farben */
.status-waiting {
  background: #555;
}

.status-cooking {
  background: orange;
}

.status-ready {
  background: green;
}

.order-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.order-section {
  font-size: 14px;
}

.order-section strong {
  display: inline-block;
  width: 80px;
  color: #aaa;
}
#toppingsContainer {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
}



.topping-card {
  background: #1e1e1e;
  border-radius: 14px;
  padding: 12px;
  text-align: center;
  cursor: pointer;
  color: white;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  position: relative;
}

/* hover */
.topping-card:hover {
  transform: translateY(-3px);
  background: #2a2a2a;
}

/* ✅ SELECTED STATE */
.topping-card.selected {
  background: #1f3f38;
  border: 2px solid #51e1c9;
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(81, 225, 201, 0.6);
}

.topping-icon {
  font-size: 24px;
  margin-bottom: 6px;
}

.topping-name {
  font-size: 14px;
}



#orderNote {
  width: 100%;
  min-height: 80px;
  margin-top: 12px;
  padding: 10px;
  border-radius: 10px;
  border: none;
  resize: vertical;
  font-size: 14px;

  background: #1e1e1e;
  color: white;

  box-shadow: inset 0 0 5px rgba(0,0,0,0.3);
}

#orderNote::placeholder {
  color: #888;
}

#orderNote:focus {
  outline: none;
  box-shadow: 0 0 8px rgba(81, 225, 201, 0.5);
}
.note-label {
  display: block;
  margin-top: 16px;
  margin-bottom: 4px;
  color: #aaa;
  font-size: 14px;
}
.topping-check {
  position: absolute;
  top: 6px;
  right: 8px;
  font-size: 14px;
  opacity: 0;
  transition: 0.2s;
}

/* sichtbar wenn selected */
.topping-card.selected .topping-check {
  opacity: 1;
}