.selforder-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.selforder-container h2 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.selforder-products,
.selforder-cart,
.selforder-customer {
  border: 1px solid #ddd;
  padding: 0.75rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.selforder-product-item,
.selforder-cart-item,
.selforder-field {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.selforder-product-item button,
.selforder-cart-item button,
.selforder-submit {
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  cursor: pointer;
}

.selforder-submit {
  width: 100%;
  padding: 0.8rem;
  margin-top: 0.5rem;
  font-size: 1rem;
}

.selforder-field label {
  flex: 0 0 40%;
}

.selforder-field input {
  flex: 1;
  padding: 0.3rem;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.selforder-total {
  font-weight: bold;
  margin-top: 0.5rem;
}

/* Mobile Optimierung */
@media (max-width: 600px) {
  .selforder-field {
    flex-direction: column;
    align-items: flex-start;
  }

  .selforder-field label {
    margin-bottom: 0.25rem;
    flex: none;
  }

  .selforder-product-item,
  .selforder-cart-item {
    flex-direction: row;
    gap: 0.5rem;
  }
}
