*{box-sizing:border-box;margin:0;padding:0}html,body{max-width:100vw;overflow-x:hidden}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}a{color:inherit;text-decoration:none}.container{max-width:1200px;margin:0 auto;padding:0 1rem}.btn{cursor:pointer;border:none;border-radius:.375rem;padding:.75rem 1.5rem;font-size:1rem;font-weight:500;transition:all .2s}.btn-primary{color:#fff;background-color:#3b82f6}.btn-primary:hover{background-color:#2563eb}.btn-success{color:#fff;background-color:#10b981}.btn-success:hover{background-color:#059669}.btn-danger{color:#fff;background-color:#ef4444}.btn-danger:hover{background-color:#dc2626}.btn-secondary{color:#fff;background-color:#6b7280}.btn-secondary:hover{background-color:#4b5563}.card{background:#fff;border-radius:.5rem;padding:1.5rem;box-shadow:0 1px 3px #0000001a}.input{border:1px solid #d1d5db;border-radius:.375rem;width:100%;padding:.75rem;font-size:1rem}.input:focus{ring:2px;ring-color:#93c5fd;border-color:#3b82f6;outline:none}.label{color:#374151;margin-bottom:.5rem;font-size:.875rem;font-weight:500;display:block}@keyframes fadeOut{0%{opacity:1}to{opacity:.3}}.fade-out{animation:15s ease-in-out fadeOut}.grid{gap:1rem;display:grid}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.flex{display:flex}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-2{gap:.5rem}.gap-4{gap:1rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.m-4{margin:1rem}.mt-4{margin-top:1rem}.mb-4{margin-bottom:1rem}.text-center{text-align:center}.text-lg{font-size:1.125rem}.text-xl{font-size:1.25rem}.text-2xl{font-size:1.5rem}.font-bold{font-weight:700}.font-semibold{font-weight:600}.text-gray-600{color:#4b5563}.text-red-600{color:#dc2626}.bg-gray-100{background-color:#f3f4f6}.bg-white{background-color:#fff}.spinner{border:3px solid #f3f4f6;border-top-color:#3b82f6;border-radius:50%;width:40px;height:40px;animation:1s linear infinite spin}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (max-width:480px){.grid-cols-2,.grid-cols-3,.grid-cols-4{grid-template-columns:1fr}.container{padding:0 .5rem}.btn{padding:.5rem 1rem;font-size:.875rem}.card{padding:1rem}h1{font-size:1.5rem!important}h2{font-size:1.25rem!important}}@media (min-width:481px) and (max-width:768px){.grid-cols-3,.grid-cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:769px) and (max-width:1024px){.grid-cols-4{grid-template-columns:repeat(3,minmax(0,1fr))}}.admin-sidebar{color:#fff;z-index:50;background-color:#1f2937;flex-direction:column;width:250px;height:100vh;padding:1.5rem;transition:transform .3s ease-in-out;display:flex;position:fixed;top:0;left:0}.admin-sidebar-overlay{z-index:40;background-color:#00000080;display:none;position:fixed;inset:0}.admin-main{flex:1;min-height:100vh;margin-left:250px;padding:2rem;transition:margin-left .3s ease-in-out}.menu-toggle{z-index:60;color:#fff;cursor:pointer;background-color:#1f2937;border:none;border-radius:.5rem;padding:.75rem;font-size:1.5rem;display:none;position:fixed;top:1rem;left:1rem}@media (max-width:768px){.admin-sidebar{transform:translate(-100%)}.admin-sidebar.open{transform:translate(0)}.admin-sidebar-overlay.open{display:block}.admin-main{margin-left:0;padding:4rem 1rem 1rem}.menu-toggle{display:block}}.waiter-container{height:calc(100vh - 73px);display:flex;overflow:hidden}.waiter-products-panel{border-right:1px solid #e5e7eb;flex:0 0 60%;padding:1.5rem;overflow-y:auto}.waiter-cart-panel{background-color:#fff;flex:0 0 40%;padding:1.5rem;overflow-y:auto}@media (max-width:1024px){.waiter-container{flex-direction:column;height:auto;min-height:calc(100vh - 73px)}.waiter-products-panel{border-bottom:1px solid #e5e7eb;border-right:none;flex:1;min-height:50vh}.waiter-cart-panel{flex:1;min-height:50vh}}@media (max-width:768px){.waiter-container{position:relative}.waiter-products-panel{min-height:calc(100vh - 130px);padding-bottom:80px}.waiter-products-panel.mobile-hidden{display:none}.waiter-cart-panel{min-height:calc(100vh - 130px);padding-bottom:80px}.waiter-cart-panel.mobile-hidden-cart{display:none}.waiter-cart-panel.mobile-visible{display:block}.mobile-cart-toggle{display:flex!important}}@media (min-width:769px){.mobile-cart-toggle{display:none!important}.waiter-products-panel.mobile-hidden,.waiter-cart-panel.mobile-hidden-cart{display:block}}@media (max-width:640px){.waiter-products-panel,.waiter-cart-panel{padding:1rem 1rem 80px}}.kitchen-container{padding:1.5rem}.kitchen-header{color:#fff;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.5rem;display:flex}.kitchen-stats{flex-wrap:wrap;align-items:center;gap:1rem;display:flex}.kitchen-orders-grid{grid-template-columns:repeat(3,1fr);gap:1rem;display:grid}@media (max-width:1200px){.kitchen-orders-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:768px){.kitchen-container{padding:1rem}.kitchen-header{flex-direction:column;align-items:stretch}.kitchen-stats{justify-content:center}.kitchen-orders-grid{grid-template-columns:1fr}}.responsive-table-wrapper{-webkit-overflow-scrolling:touch;width:100%;overflow-x:auto}@media (max-width:768px){.responsive-table-wrapper table{min-width:600px}}.orders-grid{grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:1rem;display:grid}@media (max-width:480px){.orders-grid{grid-template-columns:1fr}}.tabs-container{background-color:#f9fafb;border-bottom:2px solid #e5e7eb;flex-wrap:wrap;gap:.5rem;padding:1rem;display:flex}@media (max-width:480px){.tabs-container{flex-direction:column;gap:.5rem}.tabs-container button{width:100%}}.form-grid{gap:1.5rem;display:grid}.form-grid-2{grid-template-columns:repeat(2,1fr)}@media (max-width:640px){.form-grid-2{grid-template-columns:1fr}}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;display:grid}@media (max-width:480px){.stats-grid{grid-template-columns:1fr}.stats-grid .card p:last-child{font-size:1.75rem!important}}.charts-row{grid-template-columns:2fr 1fr;gap:1.5rem;display:grid}@media (max-width:1024px){.charts-row{grid-template-columns:1fr}}.product-card{cursor:pointer;border:2px solid #0000;transition:transform .2s,box-shadow .2s;position:relative}.product-card:hover{transform:translateY(-2px);box-shadow:0 4px 6px -1px #0000001a}.product-card:active{transform:scale(.98)}@media (max-width:768px){.btn{min-width:44px;min-height:44px}input,select,textarea{font-size:16px!important}}.flex-responsive{gap:1rem;display:flex}@media (max-width:640px){.flex-responsive{flex-direction:column}}.page-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:2rem;display:flex}@media (max-width:640px){.page-header{flex-direction:column;align-items:stretch}.page-header h1{text-align:center}}.cart-item{border:1px solid #e5e7eb;border-radius:.375rem;justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.5rem;padding:.75rem;display:flex}@media (max-width:480px){.cart-item{flex-direction:column;align-items:stretch;gap:.75rem}.cart-item-controls{justify-content:space-between;width:100%;display:flex}}.quantity-controls{align-items:center;gap:.5rem;display:flex}.quantity-btn{cursor:pointer;background-color:#fff;border:1px solid #d1d5db;border-radius:.25rem;justify-content:center;align-items:center;width:2.5rem;height:2.5rem;font-size:1.125rem;display:flex}@media (max-width:480px){.quantity-btn{width:3rem;height:3rem}}.order-actions{flex-wrap:wrap;gap:.5rem;display:flex}@media (max-width:480px){.order-actions{flex-direction:column}.order-actions button{width:100%}}.mobile-cart-summary{z-index:30;background-color:#fff;padding:1rem;display:none;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -4px 6px -1px #0000001a}@media (max-width:640px){.mobile-cart-summary{display:block}}@supports (padding-bottom:env(safe-area-inset-bottom)){.mobile-cart-summary{padding-bottom:calc(1rem + env(safe-area-inset-bottom))}}.hide-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.hide-scrollbar::-webkit-scrollbar{display:none}@media print{.no-print{display:none!important}}
