/* diner-flow - Global Styling & Keyframes */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&display=swap');

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --color-brand-gold: #f59e0b;
  --color-brand-dark: #0f172a;
}

body {
  font-family: var(--font-sans);
  background-color: #0b0f19;
  color: #f8fafc;
  -webkit-tap-highlight-color: transparent;
}

.font-serif {
  font-family: var(--font-serif);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
}
::-webkit-scrollbar-thumb {
  background: rgba(245, 158, 11, 0.3);
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(245, 158, 11, 0.6);
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Glassmorphism Classes */
.glass-panel {
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-panel-gold {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(17, 24, 39, 0.9) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.glass-panel-green {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(17, 24, 39, 0.9) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.glass-panel-subtle {
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Glow effects */
.glow-gold {
  box-shadow: 0 0 25px -5px rgba(245, 158, 11, 0.35);
}

.glow-emerald {
  box-shadow: 0 0 25px -5px rgba(16, 185, 129, 0.35);
}

.glow-amber-btn:hover {
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
}

.glow-whatsapp {
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3);
}

/* Badge pulse animation */
@keyframes softPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

.animate-soft-pulse {
  animation: softPulse 2.5s infinite ease-in-out;
}

@keyframes urgentPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(0.98);
  }
}

.animate-urgent-pulse {
  animation: urgentPulse 1.2s infinite ease-in-out;
}

/* Veg / Non-Veg Indicator icons */
.veg-symbol {
  width: 16px;
  height: 16px;
  border: 1.5px solid #10b981;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  background: rgba(16, 185, 129, 0.1);
}
.veg-symbol::after {
  content: '';
  width: 7px;
  height: 7px;
  background-color: #10b981;
  border-radius: 50%;
}

.non-veg-symbol {
  width: 16px;
  height: 16px;
  border: 1.5px solid #ef4444;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  background: rgba(239, 68, 68, 0.1);
}
.non-veg-symbol::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 7px solid #ef4444;
}

/* Dish Card Hover effects */
.dish-card {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.dish-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.4);
}

/* Bottom Cart Floating Bar */
.cart-floating-bar {
  animation: slideUpBar 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Drawer transitions */
.drawer-backdrop {
  transition: opacity 0.3s ease-in-out;
}

.drawer-content {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Kitchen KOT Card specific styling */
.kot-card {
  transition: all 0.3s ease;
  border-left-width: 5px;
}
.kot-card.status-received {
  border-left-color: #f59e0b; /* Amber */
}
.kot-card.status-preparing {
  border-left-color: #3b82f6; /* Blue */
}
.kot-card.status-ready {
  border-left-color: #10b981; /* Emerald */
}
.kot-card.status-completed {
  border-left-color: #64748b; /* Slate */
}

/* Print Stylesheet for Thermal KOT Slip and Table QR Tent Cards */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .no-print {
    display: none !important;
  }
  .print-only {
    display: block !important;
  }
  .thermal-slip {
    width: 80mm !important;
    padding: 4mm !important;
    font-family: 'Courier New', Courier, monospace !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
    color: #000 !important;
  }
  .qr-tent-card {
    page-break-inside: avoid;
    break-inside: avoid;
  }
}
