.ping-status {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  background: #10b981;
  color: white;
  padding: 16px 24px;
  border-radius: 25px;
  display: none;
  align-items: center;
  gap: 12px;
  z-index: 999;
}

.ping-status.show {
  display: flex;
}

.video-container iframe {
  width: 100%;
  max-width: 640px;
  height: 360px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Hidden audio element for order ready sound */
.hidden-audio {
  display: none;
}

/* FLOATING MENU STYLES */
.floating-menu {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 100;
  transition: right 0.3s ease, left 0.3s ease;
}

.floating-menu.profile-open {
  right: auto;
  left: 20px;
}

.floating-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  overflow: hidden;
}

.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.floating-btn:active {
  transform: scale(0.95);
}

.floating-btn.active {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(240, 147, 251, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(240, 147, 251, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(240, 147, 251, 0);
  }
}

.menu-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.menu-tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent transparent rgba(0, 0, 0, 0.8);
}

.floating-btn:hover .menu-tooltip {
  opacity: 1;
  visibility: visible;
}

/* Different gradient colors for different actions */
.floating-btn:nth-child(1) {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.floating-btn:nth-child(2) {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.floating-btn:nth-child(3) {
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
  color: #333;
}

.floating-btn:nth-child(4) {
  background: linear-gradient(
    135deg,
    #10b981 0%,
    #059669 100%
  ); /* Changed to green */
}

.floating-btn:nth-child(5) {
  background: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%);
  color: #333;
}

/* WhatsApp buttons */
.floating-btn.whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .floating-menu {
    right: 15px;
  }
  
  .floating-menu.profile-open {
    left: 15px;
  }

  .floating-btn {
    width: 50px;
    height: 50px;
  }

  .menu-tooltip {
    right: 60px;
    font-size: 11px;
    padding: 6px 10px;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .floating-menu {
    right: 10px;
    gap: 8px;
  }
  
  .floating-menu.profile-open {
    left: 10px;
  }

  .floating-btn {
    width: 45px;
    height: 45px;
  }

  .menu-tooltip {
    right: 55px;
    font-size: 10px;
    padding: 4px 8px;
  }
}

/* Gallery Styles */
.gallery-container {
  position: relative;
  overflow: hidden;
}

.gallery-scroll {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e0 #f7fafc;
  -webkit-overflow-scrolling: touch;
  gap: 1rem;
  padding-bottom: 0.5rem;
}

.gallery-scroll::-webkit-scrollbar {
  height: 8px;
}

.gallery-scroll::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.gallery-scroll::-webkit-scrollbar-thumb {
  background: #cbd5e0;
  border-radius: 10px;
}

.gallery-scroll::-webkit-scrollbar-thumb:hover {
  background: #a0aec0;
}

.gallery-item {
  flex: 0 0 auto;
  width: 280px;
  height: 200px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Single image center alignment */
.gallery-single {
  display: flex;
  justify-content: center;
}

.gallery-single .gallery-item {
  max-width: 500px;
  width: 100%;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
  opacity: 1;
}

@media (max-width: 640px) {
  .gallery-item {
    width: 240px;
    height: 180px;
  }
}

/* Image Modal Styles */
.image-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 99999;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

.image-modal.show {
  display: flex;
}

.modal-image {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 100000;
}

.modal-close:hover {
  color: #bbb;
}

/* Footer Styles */
.footer {
  margin-top: 40px;
  padding: 30px 0; /* Increased padding */
  text-align: center;
  border-top: 1px solid #e5e7eb;
}

.powered-by {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px; /* Increased gap */
  color: #000000ff;
  font-size: 16px; /* Increased font size */
  font-weight: bold;
}

.powered-by img {
  height: 32px; /* Increased logo height */
  width: auto;
}


.powered-by a:hover img {
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.contact-ping-waiter-link {
  display: inline-flex;
  align-items: center;
  color: #4f46e5;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px; /* Increased font size */
  transition: color 0.2s ease;
}

.contact-ping-waiter-link:hover {
  color: #3730a3;
  text-decoration: underline;
}

.contact-ping-waiter-link i {
  margin-right: 8px; /* Increased margin */
  font-size: 1.2rem; /* Increased icon size */
}

/* Quick Actions - Three Icons Centered */
.quick-actions-three {
  justify-content: center;
}

/* On mobile (2 columns), center the 3 items */
@media (max-width: 639px) {
  .quick-actions-three {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .quick-actions-three > * {
    flex: 0 0 calc(50% - 0.375rem);
    max-width: calc(50% - 0.375rem);
  }
  
  .quick-actions-three > *:last-child {
    flex: 0 0 calc(50% - 0.375rem);
    max-width: calc(50% - 0.375rem);
  }
}

/* On small screens (sm) and above, use 3 column grid centered */
@media (min-width: 640px) {
  .quick-actions-three {
    grid-template-columns: repeat(3, 1fr);
    max-width: 900px;
    margin: 0 auto;
  }
}

