body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f7f7f7;
  margin: 0;
  padding: 0;
}

.menu-wrapper {
  max-width: 1000px;
  margin: auto;
  padding: 30px 20px;
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

h1 {
  text-align: center;
  margin-bottom: 20px;
  color: #2c3e50;
}


#disclaimer {
  text-align: center;
  font-size: 0.9rem;
  color: #7f8c8d;
  margin: 20px 0;
}


.menu-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.category {
  margin-bottom: 10px;
}

.category h2 {
  font-size: 1.5rem;
  color: #34495e;
  border-bottom: 2px solid #eee;
  margin-bottom: 10px;
  padding-bottom: 5px;
}

.menu-item {
  background: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 15px 20px;
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  margin: 8px 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.menu-item-info {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.menu-item-name {
  font-weight: 600;
  color: #2d3436;
}

.menu-item-description {
  color: #636e72;
}

.menu-item-price {
  display: flex;
  gap: 20px;
  font-size: 0.95em;
  color: #636e72;
}

.menu-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  max-width: 100%;
  box-sizing: border-box;
}

#categorySelect,
#searchInput {
  padding: 10px 15px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 250px;
  max-width: 100%;
  box-sizing: border-box;
}

.no-items {
  text-align: center;
  font-style: italic;
  color: #888;
  padding: 20px;
  font-size: 1rem;
}

/* Fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.3s ease-out;
}

.price-button {
  background-color: #2ecc71;
  border: none;
  padding: 8px 12px;
  margin: 0 5px;
  border-radius: 5px;
  color: white;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.price-button:hover {
  background-color: #27ae60;
}

.add-to-order-btn {
  background-color: #e74c3c;
  border: none;
  padding: 10px 18px;
  border-radius: 5px;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 6px rgba(231, 76, 60, 0.15);
}

.add-to-order-btn:hover {
  background-color: #c0392b;
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.25);
}

@media (max-width: 600px) {
  .menu-item-price {
    display: none;
  }

  #viewOrderBtn {
    position: fixed;
    bottom: 20px;
    right: 25px;
    width: calc(100% - 40px);
    height: 50px;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.08), 0 1.5px 4px 0 rgba(0,0,0,0.10);
    /* box-shadow: 0 10px 12px rgba(231, 76, 60, 0.25); */
    /* transform: translateX(50%); */
    /* max-width: 300px; */
  }
}

.menu-item-note {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
  border-radius: 6px;
  padding: 10px 16px;
  margin-bottom: 8px;
  font-size: 0.98em;
  font-style: italic;
  box-shadow: 0 1px 4px rgba(255, 193, 7, 0.08);
}

#viewOrderBtn {
  /* position: fixed; */
  /* top: 20px; */
  /* right: 20px; */
  background-color: #e74c3c;
  color: white;
  border: none;
  padding: 10px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  z-index: 1000;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

#viewOrderBtn:hover {
  background-color: #c0392b;
  transform: translateY(-2px);
}

/* Custom Alert Styles */
.custom-alert {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 16px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-family: 'Arial', sans-serif;
  font-size: 14px;
  font-weight: 500;
  z-index: 10000;
  max-width: 400px;
  min-width: 300px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: slideInRight 0.3s ease-out;
  border-left: 4px solid;
}

.custom-alert.success {
  background-color: #d4edda;
  color: #155724;
  border-left-color: #28a745;
}

.custom-alert.error {
  background-color: #f8d7da;
  color: #721c24;
  border-left-color: #dc3545;
}

.custom-alert.warning {
  background-color: #fff3cd;
  color: #856404;
  border-left-color: #ffc107;
}

.custom-alert .alert-content {
  flex: 1;
  margin-right: 12px;
}

.custom-alert .alert-close {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: inherit;
  opacity: 0.7;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: opacity 0.2s;
}

.custom-alert .alert-close:hover {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.1);
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

.custom-alert.hiding {
  animation: slideOutRight 0.3s ease-in forwards;
}



