body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: #f5f5f5;
  }
  .top-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    padding: 16px;
    padding-left: 10px;
    position: relative;
  }
  
  /* Left Icon */
  .restaurant-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #333;
    margin-right: 5px;
  }
  
  /* Title */
  .heading {
    font-size: 21px;
    margin: 0;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  /* Right-side language selector */
  .header-icons {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  
  .lang-selector {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 12px;
    color: #333;
    background: #f2f2f2;
    padding: 5px 7px;
    border-radius: 6px;
    gap: 4px;
  }
  
  .lang-selector i {
    font-size: 14px;
  }
  
  /* Dropdown */
  .lang-dropdown {
    position: absolute;
    top: 60px;
    right: 16px;
    list-style: none;
    background: white;
    padding: 8px 0;
    margin: 0;
    border: 1px solid #ccc;
    border-radius: 6px;
    display: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 11;
  }
  
  .lang-dropdown li {
    padding: 8px 16px;
    cursor: pointer;
    white-space: nowrap;
  }
  
  .lang-dropdown li:hover {
    background: #f5f5f5;
  }
  #food-subcategories {
    display: flex;
    margin-bottom: 54px;
  }
#drink-subcategories{
  display: flex;
  margin-bottom: 54px;
}
#sweet-subcategories{
  display: flex;
  margin-bottom: 54px;
}


#food-items{
  display: flex;
      flex-direction: column;
      gap: 16px;
      padding: 16px;
}
#drink-items{
  display: flex;
      flex-direction: column;
      gap: 16px;
      padding: 16px;
}
#sweet-items{
  display: flex;
      flex-direction: column;
      gap: 16px;
      padding: 16px;
}
  .menu-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
  }
.hidden{
  display: none !important;
}
  .menu-item:hover {
    transform: scale(1.01);
  }

  .menu-item img {
    width: 100%;
    display: block;
  }

  .menu-item h2 {
    margin: 10px 10px 0;
    font-size: 18px;
  }

  .menu-item .desc {
    margin: 6px 10px;
    font-size: 14px;
    color: #777;
    line-height: 1.4;
  }

  .menu-item .price {
    margin: 0 10px 12px;
    font-weight: bold;
    color: #000;
    font-size: 16px;
  }

  .item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px 12px;
    gap: 10px;
  }

  .view-btn {
    flex: 1;
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    background: #ffffff;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #eaeaea;
  }

  .view-btn i {
    font-size: 18px;
  }

  .plus-btn {
    width: 48px;
    height: 48px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: #f0f0f0;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .plus-btn i {
    font-size: 20px;
  }
  .footer-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    display: flex;
    align-items: center;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.05);
    z-index: 1000;
  }
  
  .cart-button {
    flex: 1;
    background: #00ff0e;
    border: none;
    font-size: 18px;
    padding: 10px;
    border-radius: 8px;
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #ffffff;
    cursor: pointer;
  }
  
  .support-button {
    background: #036635;
    border: none;
    font-size: 16px;
    padding: 15px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: white;
    white-space: nowrap;
    cursor: pointer;
    font-family: monospace;
  }

  /* Toggle buttons container */
.category-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 13px;
  }
  
  /* Toggle button base style */
  .toggle-btn {
    width: 84px;
    height: 31px;
    background-color: transparent;
    color: #333;
    font-weight: bold;
    margin: 0 2px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #e3e3e3;
    border-left: none;
  }
  .toggle-btn:first-child {
    border-left: 1px solid #e3e3e3; /* Fix left border for the first button */
  }
  /* Active state */
  .toggle-btn.active {
    background-color:  #036635;
    color: white;
    transform: scale(1.1);
    z-index: 1;
    height: 39px;
    width: 104px;
    border-radius: 4px;
  }
  .horizontal-scroll {
      display: flex;
        overflow-x: auto;
        gap: 4px;
        padding: 0 4px;
  }

  .horizontal-scroll::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }
  
  .scroll-item {
    flex: 0 0 auto;
    padding: 6px 8px;
    background-color: white;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border-radius: 11px;
    font-size: 12px;
    color: #333;
    border: 1px solid lightgray;
    width: fit-content;
    flex-grow: 1;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: monospace;
  }
  .scroll-item i {
    font-size: 16px;
    color: #6e6e6e;
    margin-right: 4px;
  }
  .scroll-item:hover {
    background-color: #f0f0f0;
    border-color: #bbb;
  }

  .selected-items-container {
    display: flex;
    overflow-x: auto;
    padding: 8px 12px;
    gap: 12px;
    font-size: 14px;
    align-items: center;
    background-color: #fff;
    flex: 1;
  }
  
  .selected-item {
    display: flex;
    align-items: center;
    background: #f3f3f3;
    border-radius: 20px;
    padding: 4px 10px;
    white-space: nowrap;
    font-weight: bold;
    gap: 6px;
  }
  
  .selected-item .count {
    background: #333;
    color: #fff;
    border-radius: 12px;
    padding: 2px 6px;
    font-size: 12px;
    margin-left: 4px;
  }

  .sticky-toolbar {
    position: sticky;
    top: 0;
    z-index: 10;
    transition: all 0.2s ease;
  }
  
  .sticky-toolbar.scrolled {
    background-color: white;
    padding-top: 1px;
    padding-bottom: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  }
  
  .category-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 13px;
  }
  

  .scroll-item.active {
    border: 1px solid #036635;
  }
  .empty-message {
    color: #999;
    font-size: 14px;
    padding: 10px;
  }
  .selected-item {
    position: relative;
    background: #f5f5f5;
    padding: 6px 10px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
  }
  
  .remove-item {
    position: absolute;
    top: -6px;
    right: -5px;
    background: #d9534f8a;
    color: white;
    font-size: 8px;
    width: 14px;
    height: 14px;
    line-height: 16px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
  }
  .overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    transition: all 0.3s ease;
  }
  
  .overlay.hidden {
    display: none;
  }
  
  #dialog-content {
    background: #fff;
    width: 100%;
    max-height: 100vh;
    overflow-y: auto;
    transition: all 0.3s ease;
  }
  
  #dialog-content.fullscreen {
    height: 100dvh;
    max-height: 100dvh;
    display: flex;
    flex-direction: column;
  }
  
  #dialog-content.sheet {
    border-radius: 20px 20px 0 0;
    height: 25dvh;
    max-height: 25dvh;
    display: flex;
    flex-direction: column;
  }
  
  .dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 18px;
    padding: 20px;
    border-bottom: 1px solid #eee;
  }
  
  .dialog-header .close-btn {
    cursor: pointer;
    font-size: 20px;
    color: #999;
  }
  
  .empty-warning {
    text-align: center;
    font-size: 16px;
    padding: 40px 20px;
  }
  
  .order-items {
    padding: 20px;
  }
  
  .order-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
  }
  
  .dialog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-top: 1px solid #eee;
  }
  
  .dialog-footer .total {
    font-weight: bold;
    font-size: 16px;
  }
  
  .dialog-footer .place-order-btn {
    background-color: #033421;
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
  }
  body.modal-open {
    overflow: hidden;
  }
  
  .order-notes {
    width: 100%;
    padding: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
    resize: vertical;
    box-sizing: border-box; /* Important: keeps padding inside the width */
  }
  /* Overlay shared styles */
#tableNumberDialog.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  display: flex;
}

#tableNumberDialog.hidden {
  display: none;
}

/* Fullscreen dialog style */
#tableNumberDialog .fullscreen {
  background: #fff;
  border-radius: 0;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  padding: 24px;
  box-sizing: border-box;
}

/* Header */
#tableNumberDialog .dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 20px;
}

#tableNumberDialog .dialog-header .close-btn {
  cursor: pointer;
  font-size: 22px;
  color: #999;
}

/* Input */
#tableNumberDialog input#tableInput {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
}

/* Footer */
#tableNumberDialog .dialog-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

#tableNumberDialog .place-order-btn {
  background-color: #033421;
  color: #fff;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  font-size: 16px;
}
.view-orders-btn {
  background-color: #ffffff;
  color: #333;
  border: 1px solid #ccc;
  padding: 8px 12px;
  font-size: 14px;
  margin-left: 10px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.view-orders-btn.hidden {
  display: none;
}
.order-group {
  margin-bottom: 20px;
}
.order-title {
  font-weight: bold;
  margin-bottom: 8px;
}
.order-total {
  font-weight: bold;
  text-align: right;
  margin-top: 6px;
}
.feedback-btn {
  background-color: #9f9f9f;
  color: #ffffff;
  padding: 5px 10px;
  font-size: 13px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: background 0.3s;
  margin: auto;
}

.feedback-btn:hover {
  background-color: #d5d5d5;
}
.tooltip-once {
  position: absolute;
  background: #333;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
  z-index: 9999;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.flash-highlight {
  animation: flash-green 0.5s ease-in-out 0s 5 alternate;
}

@keyframes flash-green {
  from { background-color: #40f7b1; }
  to   { background-color: #249252; }
}
.feedback-body {
  padding: 20px;
  text-align: center;
}

.rating-stars {
  font-size: 30px;
  color: #ccc;
  margin-bottom: 20px;
  user-select: none;
}

.star.selected {
  color: gold;
  cursor: pointer;
}

.star:hover {
  color: #f5c518;
}

.feedback-note {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  resize: vertical;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin-bottom: 20px;
}

.centered-submit {
  text-align: center;
}
#dialog-content.feedback-sheet {
  border-radius: 20px 20px 0 0;
  height: 40vh;
  background: #fff;
  padding: 20px;
  overflow-y: auto;
}
.feedback-body .place-order-btn {
  background-color: #036635;
  color: white;
  padding: 12px 24px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
  width: 54%;
  max-width: 300px;
  margin: auto;
  display: block;
}

.feedback-body .place-order-btn:hover {
  background-color: #025aa5;
}
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 14px 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  z-index: 10004;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.toast.show {
  opacity: 1;
}

.toast.success {
  background-color: #4CAF50;
}
.toast.error {
  background-color: #e74c3c;
}
.toast i {
  font-size: 20px;
}
.bx-receipt {
  font-size: 20px;
  color: #444;
  transition: transform 0.2s ease;
}
.bx-receipt:hover {
  color: #000;
  transform: scale(1.2);
}

.coming-soon {
  text-align: center;
  padding: 40px;
  color: #777;
}
.coming-soon h2 {
  font-size: 24px;
  margin-bottom: 10px;
}