/* body {
    background-color: skyblue;
} */
/* Color de fondo del body ahora se controla por JavaScript según el tema */

/* UX Mejoras UI Meseros */
#category-filter-container::-webkit-scrollbar {
    display: none;
}
#category-filter-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

@keyframes pulse-anim {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
.pulse-anim {
    animation: pulse-anim 0.3s ease-in-out;
}

.local-qty-input::-webkit-outer-spin-button,
.local-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.local-qty-input[type=number] {
  -moz-appearance: textfield;
}

/* --- Micro-animations for Premium UX --- */
@keyframes pulse-success { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }
@keyframes bounce-cart { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes highlight-fade { 0% { background-color: rgba(16, 183, 89, 0.2); } 100% { background-color: transparent; } }
@keyframes slide-in-right { 0% { transform: translateX(20px); opacity: 0; } 100% { transform: translateX(0); opacity: 1; } }
.anim-pulse-success { animation: pulse-success 0.3s ease-in-out; }
.anim-bounce-cart { animation: bounce-cart 0.4s ease-in-out; }
.anim-highlight { animation: highlight-fade 1s ease-out; }
.anim-slide-in { animation: slide-in-right 0.3s ease-out; }
.glass-card { background: rgba(255, 255, 255, 0.8) !important; backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.3); }

/* --- Kitchen KDS Alerts --- */
@keyframes flash-red {
    0% { background-color: #ef4444; box-shadow: 0 0 0px rgba(239, 68, 68, 0); }
    50% { background-color: #b91c1c; box-shadow: 0 0 20px rgba(239, 68, 68, 0.6); }
    100% { background-color: #ef4444; box-shadow: 0 0 0px rgba(239, 68, 68, 0); }
}

.kds-alert-warning .card-header { 
    background-color: #f59e0b !important; 
    color: white !important; 
}
.kds-alert-warning {
    border-color: #f59e0b !important;
    border-width: 2px !important;
}

.kds-alert-danger .card-header { 
    animation: flash-red 1s infinite; 
    color: white !important; 
    border-bottom: none !important;
}
.kds-alert-danger { 
    border-color: #ef4444 !important; 
    border-width: 3px !important; 
    transform: scale(1.02);
    z-index: 10;
}
