/* Estilos Customizados e Polimentos UI do FoodMenu */
:root {
    --primary-color: #e11d48;
}

/* Scrollbar moderno e sutil */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Categorias com scroll horizontal suave */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Efeito Glassmorphism */
.glass-effect {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.dark .glass-effect {
    background: rgba(15, 23, 42, 0.85);
}

/* Transições suaves */
.transition-card {
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.transition-card:hover {
    transform: translateY(-2px);
}

/* Regras Globais de Impressão */
@media print {
    .no-print, .print-hidden, .print\:hidden, header, nav, footer {
        display: none !important;
    }
    body {
        background: #ffffff !important;
        color: #000000 !important;
    }
}

/* Impressão de Comanda Térmica - apenas se a classe .printing-thermal estiver ativa no body */
@media print {
    body.printing-thermal * {
        visibility: hidden !important;
    }
    body.printing-thermal #thermal-receipt,
    body.printing-thermal #thermal-receipt * {
        visibility: visible !important;
    }
    body.printing-thermal #thermal-receipt {
        position: absolute;
        left: 0;
        top: 0;
        width: 80mm;
        margin: 0;
        padding: 5mm;
        font-family: 'Courier New', Courier, monospace;
        font-size: 12px;
        line-height: 1.3;
        color: #000;
        background: #fff;
    }
}
