.restaurant-management{min-height:100vh;background-color:#f3f4f6;padding:1rem}.container{max-width:80rem;margin:0 auto}.content{background-color:#f9fafb;border-radius:.5rem;padding:1.5rem}.grid-cols-4{grid-template-columns:repeat(4,1fr)}@media (min-width: 768px){.md\:grid-cols-2{grid-template-columns:repeat(2,1fr)}.md\:grid-cols-4{grid-template-columns:repeat(4,1fr)}}@media (min-width: 1024px){.lg\:grid-cols-2{grid-template-columns:repeat(2,1fr)}.lg\:grid-cols-3{grid-template-columns:repeat(3,1fr)}}.kitchen-order{background:white;border-radius:.5rem;box-shadow:0 10px 15px -3px #0000001a;padding:1rem;border-left:4px solid}.order-urgent{border-left-color:#ef4444}.order-warning{border-left-color:#f59e0b}.order-normal{border-left-color:#10b981}.button-danger{background-color:#ef4444;color:#fff}.button-danger:hover{background-color:#dc2626}.button-small{padding:.25rem .5rem;font-size:.75rem}.space-y-4>*+*{margin-top:1rem}.justify-center{justify-content:center}.gap-3{gap:.75rem}.gap-4{gap:1rem}.text-xs{font-size:.75rem}.text-lg{font-size:1.125rem}.text-xl{font-size:1.25rem}.font-medium{font-weight:500}.mr-1{margin-right:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.rounded-full{border-radius:9999px}.shadow-lg{box-shadow:0 10px 15px -3px #0000001a}.max-h-64{max-height:16rem}.sticky{position:sticky}.top-0{top:0}.text-gray-500{color:#6b7280}.text-gray-700{color:#374151}.text-red-600{color:#dc2626}.text-yellow-500{color:#eab308}.bg-gray-50{background-color:#f9fafb}.bg-gray-100{background-color:#f3f4f6}.bg-gray-200{background-color:#e5e7eb}.bg-red-50{background-color:#fef2f2}.bg-green-50{background-color:#f0fdf4}.bg-blue-50{background-color:#eff6ff}.bg-yellow-50{background-color:#fefce8}.bg-orange-50{background-color:#fff7ed}.bg-purple-50{background-color:#faf5ff}@media (max-width: 768px){.container{padding:0 .5rem}.grid-cols-2{grid-template-columns:1fr}.qr-table-card{padding:.75rem}.qr-image{width:100px;height:100px}.qr-generate-btn{padding:.5rem .75rem;font-size:.75rem;min-width:80px}}.loading-screen{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;text-align:center;padding:2rem}.loading-spinner{width:50px;height:50px;border:4px solid rgba(255,255,255,.3);border-top:4px solid white;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:1.5rem}.loading-screen h2{font-size:1.5rem;margin-bottom:.5rem;font-weight:600}.loading-screen p{font-size:1rem;opacity:.8;margin:0}.header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;background:white;border-radius:.75rem;padding:1rem 1.5rem;box-shadow:0 4px 6px -1px #0000001a}.header-left{display:flex;align-items:center}.logo{width:3rem;height:3rem;border-radius:50%;margin-right:1rem}.title{font-size:1.875rem;font-weight:700;color:#1f2937}.header-right{display:flex;align-items:center}.shop-section{position:relative;display:flex;align-items:center;gap:1rem}.shop-button{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:.75rem 1.5rem;border-radius:.5rem;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:.5rem;transition:all .2s;box-shadow:0 4px 6px -1px #0000001a}.shop-button:hover{transform:translateY(-1px);box-shadow:0 8px 15px -3px #0000001a}.restaurant-dropdown{position:absolute;top:100%;right:0;background:white;border-radius:.75rem;box-shadow:0 20px 25px -5px #0000001a;border:1px solid #e5e7eb;min-width:400px;max-height:500px;overflow:hidden;z-index:1000;margin-top:.5rem}.dropdown-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem;border-bottom:1px solid #e5e7eb;background:#f9fafb}.dropdown-header h3{margin:0;font-size:1.125rem;font-weight:600;color:#1f2937}.close-dropdown{background:none;border:none;color:#6b7280;cursor:pointer;padding:.25rem;border-radius:.25rem;transition:all .2s}.close-dropdown:hover{background:#e5e7eb;color:#374151}.restaurant-list{max-height:400px;overflow-y:auto}.restaurant-item{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem;border-bottom:1px solid #f3f4f6;cursor:pointer;transition:all .2s}.restaurant-item:hover{background:#f9fafb}.restaurant-item.active{background:#eff6ff;border-left:4px solid #3b82f6}.restaurant-info h4{margin:0 0 .25rem;font-size:1rem;font-weight:600;color:#1f2937}.restaurant-info p{margin:0 0 .5rem;font-size:.875rem;color:#6b7280;line-height:1.4}.restaurant-id{font-size:.75rem;color:#9ca3af;font-family:monospace}.restaurant-rating{display:flex;align-items:center;gap:.25rem;color:#f59e0b;font-weight:600;font-size:.875rem}.current-restaurant-info{background:#f8fafc;padding:.75rem 1rem;border-radius:.5rem;border:1px solid #e2e8f0;min-width:200px}.restaurant-name{font-weight:600;color:#1f2937;margin-bottom:.25rem}.restaurant-code{font-size:.75rem;color:#6b7280;font-family:monospace}.remote-queue-button{background:linear-gradient(135deg,#f093fb 0%,#f5576c 100%);color:#fff;border:none;padding:.75rem 1rem;border-radius:.5rem;cursor:pointer;display:flex;align-items:center;gap:.375rem;font-weight:600;font-size:.75rem;transition:all .3s ease;box-shadow:0 4px 15px #f093fb4d}.remote-queue-button:hover{transform:translateY(-2px);box-shadow:0 6px 20px #f093fb66}.button-text{font-size:.6875rem;white-space:nowrap}.navigation{display:flex;justify-content:center;margin-bottom:1.5rem}.nav-container{background:white;border-radius:.5rem;box-shadow:0 10px 15px -3px #0000001a;padding:.5rem;display:flex;gap:.5rem}.nav-button{padding:.75rem 1.5rem;border-radius:.5rem;display:flex;align-items:center;gap:.5rem;transition:all .2s;border:none;cursor:pointer;background:transparent}.nav-button.active{background-color:#3b82f6;color:#fff}.nav-button:not(.active){color:#4b5563}.nav-button:not(.active):hover{background-color:#f3f4f6}@media (max-width: 768px){.nav-container{flex-direction:column}.nav-button{justify-content:center}}.qr-table-card{background:white;border:1px solid #e5e7eb;border-radius:.5rem;padding:1rem;text-align:center;transition:all .2s ease}.qr-table-card:hover{box-shadow:0 4px 6px -1px #0000001a;transform:translateY(-1px)}.qr-table-header{margin-bottom:.75rem;padding-bottom:.5rem;border-bottom:1px solid #f3f4f6}.qr-table-header h4{margin:0;color:#1f2937;font-size:1rem}.qr-generated{display:flex;flex-direction:column;align-items:center;gap:.5rem}.qr-image{width:120px;height:120px;border:1px solid #d1d5db;border-radius:.375rem;object-fit:contain}.qr-actions{display:flex;gap:.5rem;margin-top:.5rem}.qr-action-btn{background:#3b82f6;color:#fff;border:none;border-radius:.375rem;padding:.375rem;cursor:pointer;transition:background-color .2s ease;display:flex;align-items:center;justify-content:center}.qr-action-btn:hover{background:#2563eb}.qr-action-btn:active{transform:scale(.95)}.qr-url{margin-top:.5rem;max-width:100%;word-break:break-all}.qr-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:120px;background:#f9fafb;border:2px dashed #d1d5db;border-radius:.375rem}.qr-generate-btn{background:#10b981;color:#fff;border:none;border-radius:.375rem;padding:.75rem 1rem;cursor:pointer;transition:all .2s ease;display:flex;flex-direction:column;align-items:center;gap:.5rem;font-size:.875rem;font-weight:500;min-width:100px}.qr-generate-btn:hover:not(:disabled){background:#059669;transform:translateY(-1px)}.qr-generate-btn:disabled{background:#9ca3af;cursor:not-allowed;transform:none}.qr-generate-btn:active:not(:disabled){transform:scale(.95)}.menu-section{margin-bottom:1rem}.menu-category{font-weight:600;font-size:1.125rem;margin-bottom:.5rem;color:#374151;position:sticky;top:0;background:white;padding:.5rem 0}.menu-item{display:flex;gap:.75rem;padding:.75rem;border:1px solid #e5e7eb;border-radius:.5rem;transition:background-color .2s}.menu-item:hover{background-color:#f9fafb}.menu-item-image{width:4rem;height:4rem;object-fit:cover;border-radius:.5rem}.menu-item-content{flex:1}.menu-item-header{display:flex;justify-content:space-between;align-items:flex-start}.menu-item-name{display:flex;align-items:center;gap:.5rem;font-weight:500}.menu-item-description{font-size:.75rem;color:#6b7280;margin-bottom:.25rem}.menu-item-details{display:flex;align-items:center;gap:.5rem}.menu-item-price{color:#059669;font-weight:600}.menu-item-rating{display:flex;align-items:center;font-size:.75rem;color:#6b7280}.menu-item-allergens{font-size:.75rem;color:#dc2626}.add-button{background-color:#3b82f6;color:#fff;padding:.5rem;border-radius:50%;border:none;cursor:pointer;transition:background-color .2s}.add-button:hover{background-color:#2563eb}.order-item{padding:.75rem;background-color:#f9fafb;border-radius:.5rem}.order-item-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:.5rem}.order-item-name,.order-item-price{font-weight:500}.order-item-controls{display:flex;align-items:center;justify-content:space-between}.quantity-controls{display:flex;align-items:center;gap:.5rem}.quantity-button{padding:.25rem;border-radius:.25rem;border:none;color:#fff;cursor:pointer;transition:background-color .2s}.quantity-minus{background-color:#ef4444}.quantity-minus:hover{background-color:#dc2626}.quantity-plus{background-color:#10b981}.quantity-plus:hover{background-color:#059669}.quantity-display{margin:0 .5rem;font-weight:500}.priority-select{font-size:.75rem;border:1px solid #d1d5db;border-radius:.25rem;padding:.25rem .5rem}.notes-input{width:100%;font-size:.875rem;border:1px solid #d1d5db;border-radius:.25rem;padding:.25rem .5rem;margin-top:.5rem}.search-container{position:relative;flex:1}.search-icon{position:absolute;left:.75rem;top:50%;transform:translateY(-50%);color:#9ca3af}.search-input{width:100%;padding:.5rem 1rem .5rem 2.5rem;border:1px solid #d1d5db;border-radius:.5rem}.seating-plan{position:relative;background-color:#f9fafb;border-radius:.75rem;height:32rem;margin-bottom:1rem;border:2px solid #e5e7eb;padding:1rem}.table{position:absolute;width:5.5rem;height:5.5rem;border-radius:50%;cursor:pointer;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:1rem;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;transition:all .3s ease;border:3px solid rgba(255,255,255,.3)}.table:hover{transform:translate(-50%,-50%) scale(1.15);box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;z-index:10}.table-needs-cleaning{box-shadow:0 0 0 6px #fbbf24,0 10px 15px -3px #0000001a;animation:pulse-cleaning 2s infinite}@keyframes pulse-cleaning{0%,to{box-shadow:0 0 0 6px #fbbf24,0 10px 15px -3px #0000001a}50%{box-shadow:0 0 0 8px #f59e0b,0 10px 15px -3px #0000001a}}.cleaning-indicator{position:absolute;top:-.5rem;right:-.5rem;width:1rem;height:1rem;background-color:#fbbf24;border-radius:50%;border:2px solid white;animation:pulse-indicator 1.5s infinite}@keyframes pulse-indicator{0%,to{transform:scale(1)}50%{transform:scale(1.2)}}.legend{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;font-size:1rem;margin-top:1.5rem;padding:1rem;background-color:#f8fafc;border-radius:.5rem;border:1px solid #e2e8f0}.legend-item{display:flex;align-items:center;gap:.75rem;font-weight:500}.legend-color{width:1.25rem;height:1.25rem;border-radius:50%;flex-shrink:0;border:2px solid rgba(255,255,255,.3);box-shadow:0 2px 4px #0000001a}.status-available{background-color:#10b981}.status-occupied{background-color:#ef4444}.status-needs-service{background-color:#f59e0b}.status-reserved{background-color:#3b82f6}.status-cleaning{background-color:#8b5cf6}@media (max-width: 768px){.qr-table-card{padding:.75rem}.qr-image{width:100px;height:100px}.qr-generate-btn{padding:.5rem .75rem;font-size:.75rem;min-width:80px}}.booking-card{border:1px solid #e5e7eb;border-radius:.5rem;padding:1rem;transition:background-color .2s}.booking-card:hover{background-color:#f9fafb}.booking-vip{border-color:#fbbf24;background-color:#fffbeb}.booking-header{display:flex;justify-content:space-between;align-items:flex-start}.booking-info{flex:1}.booking-name{display:flex;align-items:center;gap:.5rem;font-weight:600}.booking-details{font-size:.875rem;color:#6b7280}.booking-special{font-size:.875rem;color:#3b82f6}.booking-preference{font-size:.875rem;color:#8b5cf6}.booking-actions{display:flex;flex-direction:column;gap:.5rem}.action-buttons{display:flex;gap:.25rem}.action-button{padding:.25rem .5rem;border-radius:.25rem;border:none;color:#fff;cursor:pointer;font-size:.75rem;transition:background-color .2s}.queue-item{border:1px solid #e5e7eb;border-radius:.5rem;padding:1rem;transition:background-color .2s}.queue-item:hover{background-color:#f9fafb}.queue-header{display:flex;justify-content:space-between;align-items:flex-start}.queue-number{background-color:#3b82f6;color:#fff;border-radius:50%;width:1.5rem;height:1.5rem;display:flex;align-items:center;justify-content:center;font-size:.875rem}.queue-name{font-weight:600}.queue-details{font-size:.875rem;color:#6b7280}.queue-wait-time{font-size:.875rem;color:#f97316}.priority-high{background-color:#fef2f2;border-color:#fca5a5}.status-badge{padding:.25rem .75rem;border-radius:9999px;color:#fff;font-size:.875rem;font-weight:500}.status-cooking{background-color:#f97316}.status-preparing{background-color:#3b82f6}.status-ready{background-color:#10b981}.status-delayed{background-color:#ef4444}.form-input{width:100%;padding:.5rem .75rem;border:1px solid #d1d5db;border-radius:.5rem;font-size:.875rem}.form-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.form-select{padding:.5rem .75rem;border:1px solid #d1d5db;border-radius:.5rem;font-size:.875rem;background:white}.button{padding:.75rem 1.5rem;border-radius:.5rem;border:none;cursor:pointer;font-weight:500;transition:all .2s;display:flex;align-items:center;justify-content:center;gap:.5rem}.button-primary{background-color:#3b82f6;color:#fff}.button-primary:hover{background-color:#2563eb}.button-success{background-color:#10b981;color:#fff}.button-success:hover{background-color:#059669}.button-warning{background-color:#f59e0b;color:#fff}.button-warning:hover{background-color:#d97706}.button-secondary{background-color:#6b7280;color:#fff}.button-secondary:hover{background-color:#4b5563}.empty-state{text-align:center;padding:3rem 0;color:#6b7280}.empty-icon{margin:0 auto 1rem;opacity:.5}.space-y-3>*+*{margin-top:.75rem}.space-y-6>*+*{margin-top:1.5rem}.flex{display:flex}.flex-1{flex:1}.items-center{align-items:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-6{gap:1.5rem}.text-center{text-align:center}.text-sm{font-size:.875rem}.text-2xl{font-size:1.5rem}.font-bold{font-weight:700}.font-semibold{font-weight:600}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mt-2{margin-top:.5rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.p-4{padding:1rem}.pt-4{padding-top:1rem}.px-3{padding-left:.75rem;padding-right:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.rounded{border-radius:.25rem}.rounded-lg{border-radius:.5rem}.border{border-width:1px;border-color:#e5e7eb}.border-t{border-top-width:1px;border-top-color:#e5e7eb}.shadow{box-shadow:0 4px 6px -1px #0000001a}.max-h-96{max-height:24rem}.overflow-y-auto{overflow-y:auto}.w-full{width:100%}.grid{display:grid;gap:1.5rem}.grid-cols-1{grid-template-columns:repeat(1,1fr)}.grid-cols-2{grid-template-columns:repeat(2,1fr)}.grid-cols-3{grid-template-columns:repeat(3,1fr)}@media (min-width: 768px){.md\:grid-cols-4{grid-template-columns:repeat(4,1fr)}}@media (min-width: 1024px){.lg\:grid-cols-2{grid-template-columns:repeat(2,1fr)}}.card{background:white;border-radius:.5rem;box-shadow:0 10px 15px -3px #0000001a;padding:1.5rem}.stat-card{background:white;border-radius:.5rem;padding:1rem;box-shadow:0 4px 6px -1px #0000001a;text-align:center}.stat-value{font-size:1.25rem;font-weight:700;margin-bottom:.5rem}.stat-label{font-size:.875rem;color:#6b7280}.text-gray-600{color:#4b5563}.text-blue-600{color:#2563eb}.text-green-600{color:#059669}.text-purple-600{color:#9333ea}.text-yellow-600,.text-yellow-500{color:#eab308}.text-green-500{color:#10b981}.text-orange-600{color:#ea580c}.text-blue-500{color:#3b82f6}.text-purple-500{color:#8b5cf6}.bg-white{background-color:#fff}@media (max-width: 768px){.grid-cols-2,.grid-cols-3{grid-template-columns:1fr}}.call-number-container{min-height:100vh;background:linear-gradient(135deg,#0f172a 0%,#1e293b 100%);color:#fff;font-family:Arial,Helvetica,sans-serif;position:relative;overflow:hidden}.call-number-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem 2rem;background:rgba(15,23,42,.8);border-bottom:2px solid #334155}.restaurant-info h1{font-size:2rem;font-weight:700;margin:0 0 .25rem;color:#f8fafc}.business-mode{font-size:1rem;color:#94a3b8;margin:0}.header-controls{display:flex;gap:1rem;align-items:center}.sound-toggle{background:rgba(59,130,246,.2);border:2px solid #3b82f6;color:#3b82f6;padding:.75rem;border-radius:.5rem;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center}.sound-toggle.enabled{background:#3b82f6;color:#fff}.sound-toggle.disabled{background:rgba(239,68,68,.2);border-color:#ef4444;color:#ef4444}.sound-toggle:hover{transform:scale(1.05)}.refresh-button{background:rgba(16,185,129,.2);border:2px solid #10b981;color:#10b981;padding:.75rem;border-radius:.5rem;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center}.refresh-button:hover{background:#10b981;color:#fff;transform:scale(1.05)}.call-number-display{display:flex;min-height:calc(100vh - 200px);position:relative}.order-section{flex:1;padding:2rem;display:flex;flex-direction:column}.preparing-section{background:rgba(15,23,42,.6);border-right:2px solid #334155}.ready-section{background:rgba(15,23,42,.4)}.section-header{display:flex;align-items:center;gap:1rem;margin-bottom:2rem;padding-bottom:1rem;border-bottom:2px solid #334155}.section-icon{color:#fbbf24}.section-title{font-size:1.5rem;font-weight:700;margin:0;color:#f8fafc}.english{font-size:1rem;color:#94a3b8;font-weight:400;margin-left:.5rem}.order-count{background:#3b82f6;color:#fff;padding:.25rem .75rem;border-radius:1rem;font-size:.875rem;font-weight:700;margin-left:auto}.order-numbers-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:1rem;flex:1;align-content:start}.order-number{background:rgba(255,255,255,.1);border:2px solid rgba(255,255,255,.2);border-radius:.5rem;padding:1rem;text-align:center;font-size:1.25rem;font-weight:700;color:#f8fafc;transition:all .3s ease;min-height:60px;display:flex;align-items:center;justify-content:center}.order-number.preparing{border-color:#fbbf24;background:rgba(251,191,36,.1);animation:pulse-preparing 2s infinite}.order-number.ready{border-color:#10b981;background:rgba(16,185,129,.1);animation:pulse-ready 1.5s infinite}.order-number:hover{transform:scale(1.05);box-shadow:0 4px 12px #0000004d}.no-orders{grid-column:1 / -1;text-align:center;color:#64748b;font-size:1.125rem;padding:2rem;background:rgba(255,255,255,.05);border-radius:.5rem;border:2px dashed #475569}@keyframes pulse-preparing{0%,to{box-shadow:0 0 #fbbf2466}50%{box-shadow:0 0 0 8px #fbbf241a}}@keyframes pulse-ready{0%,to{box-shadow:0 0 #10b98166}50%{box-shadow:0 0 0 8px #10b9811a}}.footer-message{position:absolute;bottom:1rem;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:.5rem;background:rgba(15,23,42,.8);padding:.75rem 1.5rem;border-radius:2rem;border:1px solid #334155;font-size:.875rem;color:#94a3b8}.footer-icon{color:#fbbf24}.announcement-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.8);display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .3s ease}.announcement-content{background:linear-gradient(135deg,#1e293b,#334155);padding:3rem;border-radius:1rem;text-align:center;border:2px solid #fbbf24;box-shadow:0 20px 40px #00000080;animation:slideIn .5s ease}.announcement-icon{color:#fbbf24;margin-bottom:1rem;animation:bounce 1s infinite}.announcement-content h3{font-size:2rem;margin:0 0 1rem;color:#f8fafc}.announced-orders{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center}.announced-order{background:#fbbf24;color:#1e293b;padding:.5rem 1rem;border-radius:.5rem;font-weight:700;font-size:1.125rem}.loading-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(15,23,42,.9);display:flex;align-items:center;justify-content:center;z-index:999}.loading-spinner{text-align:center;color:#f8fafc}.loading-spinner p{margin-top:1rem;font-size:1.125rem}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideIn{0%{transform:translateY(-50px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes bounce{0%,20%,50%,80%,to{transform:translateY(0)}40%{transform:translateY(-10px)}60%{transform:translateY(-5px)}}@media (max-width: 768px){.call-number-display{flex-direction:column}.preparing-section{border-right:none;border-bottom:2px solid #334155}.order-numbers-grid{grid-template-columns:repeat(auto-fit,minmax(100px,1fr))}.order-number{font-size:1rem;min-height:50px}.section-title{font-size:1.25rem}.restaurant-title{font-size:1.5rem}}@media (max-width: 480px){.call-number-header{padding:1rem;flex-direction:column;gap:1rem}.order-section{padding:1rem}.order-numbers-grid{grid-template-columns:repeat(2,1fr)}.announcement-content{padding:2rem;margin:1rem}.announcement-content h3{font-size:1.5rem}}.kitchen-view{min-height:100vh;background-color:#f5f5f5;font-family:Arial,Microsoft YaHei,sans-serif}.kitchen-header{background-color:#2c3e50;color:#fff;padding:12px 20px;display:flex;align-items:center;justify-content:space-between;box-shadow:0 2px 4px #0000001a}.header-left{display:flex;gap:8px;align-items:center}.header-btn{background-color:#34495e;color:#fff;border:none;padding:8px 16px;border-radius:4px;cursor:pointer;display:flex;align-items:center;gap:6px;font-size:14px;transition:background-color .2s}.header-btn:hover{background-color:#4a6741}.header-btn.active{background-color:#e74c3c}.header-center{flex:1;max-width:400px;margin:0 20px}.search-container{position:relative;width:100%}.search-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#7f8c8d}.search-input{width:100%;padding:10px 12px 10px 40px;border:1px solid #bdc3c7;border-radius:4px;font-size:14px;background-color:#fff}.search-input:focus{outline:none;border-color:#3498db;box-shadow:0 0 0 2px #3498db33}.header-right{display:flex;align-items:center;gap:16px}.status-indicators{display:flex;gap:8px}.status-badge{display:flex;align-items:center;gap:4px;padding:6px 12px;border-radius:4px;font-size:12px;font-weight:500}.status-badge.overdue{background-color:#e74c3c;color:#fff}.status-badge.add-dish{background-color:#f39c12;color:#fff}.exit-btn{background-color:#e74c3c;color:#fff;border:none;padding:8px 16px;border-radius:4px;cursor:pointer;display:flex;align-items:center;gap:6px;font-size:14px;transition:background-color .2s}.exit-btn:hover{background-color:#c0392b}.kitchen-content{display:flex;height:calc(100vh - 60px);gap:16px;padding:16px}.order-queue-panel{flex:2;background-color:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;display:flex;flex-direction:column}.panel-header{padding:16px 20px;border-bottom:1px solid #ecf0f1;display:flex;justify-content:space-between;align-items:center}.panel-header h3{margin:0;color:#2c3e50;font-size:18px;font-weight:600}.filter-tabs{display:flex;gap:8px}.filter-tab{background-color:#ecf0f1;color:#7f8c8d;border:none;padding:6px 12px;border-radius:4px;cursor:pointer;font-size:12px;transition:all .2s}.filter-tab:hover{background-color:#d5dbdb}.filter-tab.active{background-color:#3498db;color:#fff}.order-grid{flex:1;padding:16px;display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px;overflow-y:auto}.order-card{background-color:#f8f9fa;border:2px solid #ecf0f1;border-radius:8px;padding:12px;cursor:pointer;transition:all .2s;position:relative}.order-card:hover{border-color:#3498db;box-shadow:0 4px 12px #3498db26}.order-card.selected{border-color:#e74c3c;background-color:#fdf2f2}.order-card.preparing{border-left:4px solid #f39c12}.order-card.cooking{border-left:4px solid #e67e22}.order-card.ready{border-left:4px solid #27ae60}.order-card.completed{border-left:4px solid #95a5a6}.order-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.order-number{font-weight:600;color:#2c3e50;font-size:14px}.order-time{font-size:12px;color:#7f8c8d}.order-items{margin-bottom:8px}.order-item{display:flex;align-items:center;gap:6px;margin-bottom:4px;font-size:12px}.item-quantity{background-color:#e74c3c;color:#fff;padding:2px 6px;border-radius:3px;font-weight:600;min-width:20px;text-align:center}.item-name{color:#2c3e50;flex:1}.more-items{font-size:11px;color:#7f8c8d;font-style:italic}.order-status{display:flex;justify-content:center}.status-badge{padding:4px 8px;border-radius:4px;font-size:10px;font-weight:600;text-transform:uppercase}.status-badge.preparing{background-color:#f39c12;color:#fff}.status-badge.cooking{background-color:#e67e22;color:#fff}.status-badge.ready{background-color:#27ae60;color:#fff}.status-badge.completed{background-color:#95a5a6;color:#fff}.order-details-panel{flex:1;display:flex;flex-direction:column;gap:16px}.active-orders-section{background-color:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;padding:16px;flex:1}.active-orders-section h4{margin:0 0 12px;color:#2c3e50;font-size:16px;font-weight:600}.active-orders-list{display:flex;flex-direction:column;gap:8px;max-height:200px;overflow-y:auto}.active-order-item{background-color:#f8f9fa;border-radius:6px;padding:10px;border-left:4px solid #e74c3c}.active-order-item.add-dish{border-left-color:#f39c12}.order-info{display:flex;justify-content:space-between;align-items:center;font-size:12px}.order-id{font-weight:600;color:#2c3e50}.order-items{color:#7f8c8d}.order-time{color:#e74c3c;font-weight:600}.selected-order-section{background-color:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;padding:16px;flex:1}.selected-order-section h4{margin:0 0 12px;color:#2c3e50;font-size:16px;font-weight:600}.selected-order-details{display:flex;flex-direction:column;gap:12px}.order-items-detail{display:flex;flex-direction:column;gap:8px}.order-item-detail{display:flex;align-items:center;gap:8px;padding:8px;background-color:#f8f9fa;border-radius:4px}.item-price{margin-left:auto;font-weight:600;color:#27ae60}.order-actions{display:flex;gap:8px;margin-top:12px}.action-btn{flex:1;padding:10px 16px;border:none;border-radius:4px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px;font-size:12px;font-weight:600;transition:all .2s}.action-btn.primary{background-color:#3498db;color:#fff}.action-btn.primary:hover{background-color:#2980b9}.action-btn.success{background-color:#27ae60;color:#fff}.action-btn.success:hover{background-color:#229954}.no-selection{display:flex;flex-direction:column;align-items:center;justify-content:center;height:200px;color:#7f8c8d;text-align:center}.no-selection-icon{margin-bottom:12px;opacity:.5}.no-selection p{margin:0;font-size:14px}.loading-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.loading-spinner{background-color:#fff;padding:32px;border-radius:8px;text-align:center;box-shadow:0 4px 20px #0000004d}.loading-spinner p{margin:16px 0 0;color:#2c3e50;font-size:14px}.animate-spin{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (max-width: 1200px){.kitchen-content{flex-direction:column}.order-queue-panel{flex:none;height:400px}.order-details-panel{flex:none;height:300px}}@media (max-width: 768px){.kitchen-header{flex-direction:column;gap:12px;padding:12px}.header-left{flex-wrap:wrap}.header-center{margin:0;max-width:none}.order-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}.order-actions{flex-direction:column}}.remote-queue-modal{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.remote-queue-container{background-color:#fff;border-radius:12px;box-shadow:0 20px 40px #0000004d;width:100%;max-width:600px;max-height:90vh;overflow:hidden;display:flex;flex-direction:column}.remote-queue-header{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;padding:20px;display:flex;justify-content:space-between;align-items:center}.header-left{display:flex;align-items:center;gap:12px}.header-icon{color:#f8f9fa}.remote-queue-header h2{margin:0;font-size:24px;font-weight:600}.restaurant-name{background-color:#fff3;padding:4px 12px;border-radius:20px;font-size:14px;font-weight:500}.close-btn{background:none;border:none;color:#fff;cursor:pointer;padding:8px;border-radius:6px;transition:background-color .2s}.close-btn:hover{background-color:#fff3}.remote-queue-tabs{display:flex;background-color:#f8f9fa;border-bottom:1px solid #e9ecef}.tab-btn{flex:1;background:none;border:none;padding:16px 20px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;font-size:14px;font-weight:500;color:#6c757d;transition:all .2s;border-bottom:3px solid transparent}.tab-btn:hover{background-color:#e9ecef;color:#495057}.tab-btn.active{color:#667eea;border-bottom-color:#667eea;background-color:#fff}.remote-queue-content{flex:1;overflow-y:auto;padding:0}.join-queue-section{padding:24px}.queue-status{background-color:#f8f9fa;border-radius:8px;padding:16px;margin-bottom:24px;display:flex;gap:24px}.status-item{display:flex;align-items:center;gap:8px;font-size:14px;color:#495057}.status-icon{color:#667eea}.join-form,.settings-form{display:flex;flex-direction:column;gap:20px}.form-group{display:flex;flex-direction:column;gap:8px}.form-group label{font-weight:500;color:#495057;font-size:14px}.form-group input,.form-group select,.form-group textarea{padding:12px 16px;border:2px solid #e9ecef;border-radius:8px;font-size:14px;transition:border-color .2s;background-color:#fff}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.form-group textarea{resize:vertical;min-height:80px}.checkbox-label{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:14px;color:#495057}.checkbox-label input[type=checkbox]{width:18px;height:18px;accent-color:#667eea}.checkbox-group{display:flex;flex-direction:column;gap:12px;margin-top:8px}.join-btn,.save-btn{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border:none;padding:14px 24px;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s;margin-top:8px}.join-btn:hover,.save-btn:hover{transform:translateY(-2px);box-shadow:0 8px 20px #667eea4d}.join-btn:disabled,.save-btn:disabled{opacity:.6;cursor:not-allowed;transform:none;box-shadow:none}.current-queue{margin-top:32px;padding-top:24px;border-top:1px solid #e9ecef}.current-queue h3{margin:0 0 16px;color:#495057;font-size:18px;font-weight:600}.queue-list{display:flex;flex-direction:column;gap:12px}.queue-item{display:flex;align-items:center;gap:16px;padding:12px 16px;background-color:#f8f9fa;border-radius:8px;border-left:4px solid #667eea}.queue-position{background-color:#667eea;color:#fff;padding:6px 12px;border-radius:20px;font-weight:600;font-size:12px;min-width:40px;text-align:center}.queue-details{flex:1}.queue-number{font-weight:600;color:#495057;font-size:14px}.queue-info{color:#6c757d;font-size:12px;margin-top:2px}.queue-status{font-size:12px;font-weight:500;padding:4px 8px;border-radius:4px;background-color:#0000001a}.more-queue{text-align:center;color:#6c757d;font-size:14px;font-style:italic;padding:12px;background-color:#f8f9fa;border-radius:8px}.settings-section{padding:24px}@media (max-width: 768px){.remote-queue-modal{padding:10px}.remote-queue-container{max-height:95vh}.remote-queue-header{padding:16px}.remote-queue-header h2{font-size:20px}.restaurant-name{display:none}.join-queue-section,.settings-section{padding:16px}.queue-status{flex-direction:column;gap:12px}.queue-item{flex-direction:column;align-items:flex-start;gap:8px}.queue-position{align-self:flex-start}}@media (max-width: 480px){.remote-queue-tabs{flex-direction:column}.tab-btn{padding:12px 16px}.form-group input,.form-group select,.form-group textarea{padding:10px 12px}.join-btn,.save-btn{padding:12px 20px;font-size:14px}}
