* { scrollbar-width: thin; scrollbar-color: #2A2A2A #151515; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #151515; }
::-webkit-scrollbar-thumb { background: #2A2A2A; border-radius: 3px; }
body { font-family: 'DM Sans', sans-serif; background: #0C0C0C; color: #F0EBE3; overflow-x: hidden; }

@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes slideUp { from { opacity: 0; transform: translateY(40px) } to { opacity: 1; transform: translateY(0) } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.9) } to { opacity: 1; transform: scale(1) } }
@keyframes shimmer { 0% { background-position: -200% center } 100% { background-position: 200% center } }
@keyframes pulse-glow { 0%,100% { box-shadow: 0 0 20px rgba(212,160,57,0.2) } 50% { box-shadow: 0 0 40px rgba(212,160,57,0.4) } }
@keyframes draw-line { from { width: 0 } to { width: 120px } }
@keyframes orb-float-1 { 0%,100% { transform: translate(0,0) scale(1) } 33% { transform: translate(60px,-40px) scale(1.1) } 66% { transform: translate(-30px,30px) scale(0.95) } }
@keyframes orb-float-2 { 0%,100% { transform: translate(0,0) scale(1) } 33% { transform: translate(-50px,30px) scale(0.9) } 66% { transform: translate(40px,-50px) scale(1.05) } }
@keyframes orb-float-3 { 0%,100% { transform: translate(0,0) scale(1) } 50% { transform: translate(30px,40px) scale(1.1) } }

.animate-fade-in { animation: fadeIn .5s ease; }
.animate-slide-up { animation: slideUp .6s ease; }
.animate-scale-in { animation: scaleIn .4s ease; }
.shimmer-text { background: linear-gradient(90deg,#D4A039,#F5D77A,#D4A039,#F5D77A,#D4A039); background-size: 200% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: shimmer 3s linear infinite; }
.greeting-line { height: 2px; background: linear-gradient(90deg,transparent,#D4A039,transparent); animation: draw-line 1s ease .8s forwards; width: 0; }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .15; pointer-events: none; }
.orb-1 { width: 300px; height: 300px; background: #D4A039; animation: orb-float-1 8s ease-in-out infinite; }
.orb-2 { width: 250px; height: 250px; background: #C75B2A; animation: orb-float-2 10s ease-in-out infinite; }
.orb-3 { width: 200px; height: 200px; background: #D4A039; animation: orb-float-3 12s ease-in-out infinite; }

.input-field { background: #1C1C1C; border: 1px solid #2A2A2A; border-radius: 10px; padding: 12px 16px; color: #F0EBE3; font-size: 14px; transition: all .3s; width: 100%; outline: none; font-family: 'DM Sans', sans-serif; }
.input-field:focus { border-color: #D4A039; box-shadow: 0 0 0 3px rgba(212,160,57,.1); }
.input-field::placeholder { color: #7A746B; }

.btn-primary { background: linear-gradient(135deg,#D4A039,#A67B1A); color: #0C0C0C; font-weight: 600; padding: 12px 24px; border-radius: 10px; border: none; cursor: pointer; transition: all .3s; font-size: 14px; font-family: 'DM Sans', sans-serif; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 25px rgba(212,160,57,.3); }
.btn-secondary { background: #1C1C1C; border: 1px solid #2A2A2A; color: #F0EBE3; padding: 12px 24px; border-radius: 10px; cursor: pointer; transition: all .3s; font-size: 14px; font-family: 'DM Sans', sans-serif; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn-secondary:hover { border-color: #D4A039; background: #222; }

.glass-card { background: rgba(28,28,28,.8); backdrop-filter: blur(10px); border: 1px solid #2A2A2A; border-radius: 16px; }

/* Toast */
.toast { padding: 14px 20px; border-radius: 12px; font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 10px; animation: slideUp .4s ease; min-width: 280px; box-shadow: 0 10px 40px rgba(0,0,0,.4); }
.toast-success { background: #1a2e1a; border: 1px solid #2d5a2d; color: #7ddf7d; }
.toast-error { background: #2e1a1a; border: 1px solid #5a2d2d; color: #df7d7d; }
.toast-info { background: #1a1a2e; border: 1px solid #2d2d5a; color: #7d7ddf; }

/* Modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.7); backdrop-filter: blur(4px); z-index: 9998; display: flex; align-items: center; justify-content: center; padding: 20px; animation: fadeIn .2s ease; }
.modal-content { background: #1C1C1C; border: 1px solid #2A2A2A; border-radius: 20px; max-width: 600px; width: 100%; max-height: 85vh; overflow-y: auto; animation: scaleIn .3s ease; }

/* Badges */
.badge { padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.badge-pending { background: #2e2510; color: #D4A039; }
.badge-preparing { background: #1a2030; color: #5b8def; }
.badge-ready { background: #1a2e1a; color: #7ddf7d; }
.badge-served { background: #252525; color: #aaa; }
.badge-billed { background: #2e1a2e; color: #c77ddf; }

/* Tabs */
.tab-btn { padding: 10px 20px; border-radius: 10px; font-size: 14px; font-weight: 500; cursor: pointer; transition: all .3s; border: 1px solid transparent; background: transparent; color: #7A746B; font-family: 'DM Sans', sans-serif; }
.tab-btn:hover { color: #F0EBE3; }
.tab-btn.active { background: #1C1C1C; color: #D4A039; border-color: #2A2A2A; }

/* Menu card (customer) */
.menu-card { background: #1C1C1C; border: 1px solid #2A2A2A; border-radius: 16px; overflow: hidden; transition: all .3s; cursor: pointer; }
.menu-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.3); border-color: #3a3a3a; }
.menu-card img { width: 100%; height: 180px; object-fit: cover; }

/* Cart panel */
.cart-panel { position: fixed; right: -420px; top: 0; width: 400px; max-width: 90vw; height: 100vh; background: #151515; border-left: 1px solid #2A2A2A; z-index: 9990; transition: right .4s ease; overflow-y: auto; }
.cart-panel.open { right: 0; }
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 9989; opacity: 0; pointer-events: none; transition: opacity .3s; }
.cart-overlay.open { opacity: 1; pointer-events: all; }

/* Print */
@media print {
  body * { visibility: hidden; }
  .print-area, .print-area * { visibility: visible; }
  .print-area { position: absolute; left: 0; top: 0; width: 100%; background: #fff !important; color: #000 !important; padding: 20px; }
  .print-area table { width: 100%; border-collapse: collapse; }
  .print-area td, .print-area th { padding: 8px; border-bottom: 1px solid #ddd; text-align: left; }
  .no-print { display: none !important; }
}

/* Loading spinner */
.spinner { width: 40px; height: 40px; border: 3px solid #2A2A2A; border-top-color: #D4A039; border-radius: 50%; animation: spin .6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }