@font-face { font-family: 'text-security-disc'; src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAAAusAAsAAAAAMGgAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAPgAAAFZjRmM5Y21hcAAAAYQAAAgCAAArYmjjYVVnbHlmAAAJiAAAAEEAAABQiOYj2mhlYWQAAAnMAAAALgAAADYR8XmmaGhlYQAACfwAAAAcAAAAJAqNAyNobXR4AAAKGAAAAAgAAAAIAyAAAGxvY2EAAAogAAAABgAAAAYAKAAAbWF4cAAACigAAAAeAAAAIAEOACJuYW1lAAAKSAAAAUIAAAKOcN63t3Bvc3QAAAuMAAAAHQAAAC5lhHRpeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGScwDiBgZWBgSGVtYKBgVECQjMfYEhiYmFgYGJgZWbACgLSXFMYHIAq/rNfAHK3gEmgASACAIekCT4AAHic7dhl0zDVmUXh5+XFHYK7E0IguFtwt4QQgmtwd3d3d7cED+4SXIO7u7vbsNfaUzU1fyGcu66u1adOf+6uHhgYGGpgYGDwL37/iyEHBoZZcWDQLzUw9NK/7A5if/DA8OwPOfQknBky+0P8/PPPOcd1UJ785frr/Dq/zq/z6/w3zsCgoX/xX74GRsxbcYpRB1iDB/7PGvT/DFGDenBwe8hKD1XpoSs9TKWHrfRwlR6+0iNUesRKj1TpkSs9SqVHrfRolR690r+p9BiVHrPSY1V67EqPU+lxKz1epcev9ASVnrDSE1V64kpPUulJKz1ZpSev9BSVnrLSU1V66kr/ttLTVPp3lZ62/KJSerpKT1/pP1R6hkrPWOmZKj1zpWep9KyVnq3Ss1d6jkrPWem5Kj13peep9LyVnq/S81d6gUr/sdILVnqhSi9c6UUqvWilF6v04pVeotJLVnqpSi9d6WUqvWyll6v08pVeodIrVvpPlf5zpVeq9F8qvXKl/1rpVSr9t0qvWunVKr16pdeo9JqVXqvSa1d6nUqvW+n1Kr1+pTeo9N8rvWGlN6r0xpXepNKbVnqzSm9e6S0qvWWlt6r01pXeptLbVnq7Sm9f6R0qvWOld6r0zpXepdK7Vnq3Su9e6T0qvWel96r03pXep9L7Vnq/Su9f6QMqfWClD6r0wZU+pNKHVvqwSh9e6SMqfWSlj6r00ZU+ptLHVvq4Sh9f6RMqfWKlT6r0yZU+pdKnVvq0Sp9e6TMqfWalz6r02ZU+p9LnVvq8Sp9f6QsqfWGl/1Hpf1b6okpfXOlLKn1ppS+r9OWVvqLS/6r0lZW+qtJXV/qaSl9b6esqfX2lb6j0jZW+qdI3V/qWSt9a6dsqfXul76j0vyt9Z6XvqvTdlb6n0vdW+r5K31/pByr9YKUfqvTDlX6k0v+p9KOVfqzSj1f6iUo/WemnKv10pZ+p9LOVfq7Sz1f6hUq/WOmXKv1ypV+p9KuVfq3Sr1f6jUq/Wem3Kv12pd+p9LuVfq/S71f6g0p/WOmPKv1xpT+p9KeV/qzSn1f6i0p/WemvKv11pb+p9LeV/q7S31f6h0r/WOmfKv1zDfI26KKHED1Y9JCihxI9tOhhRA8rejjRw4seQfSIokcSPbLoUUSPKno00aOL/o3oMUSPKXos0WOLHkf0uKLHEz2+6AlETyh6ItETi55E9KSiJxM9uegpRE8peirRU4v+rehpRP9O9LSify96OtHTi/6D6BlEzyh6JtEzi55F9KyiZxM9u+g5RM8pei7Rc4ueR/S8oucTPb/oBUT/UfSCohcSvbDoRUQvKnox0YuLXkL0kqKXEr206GVELyt6OdHLi15B9Iqi/yT6z6JXEv0X0SuL/qvoVUT/TfSqolcTvbroNUSvKXot0WuLXkf0uqLXE72+6A1E/130hqI3Er2x6E1Ebyp6M9Gbi95C9JaitxK9tehtRG8rejvR24veQfSOoncSvbPoXUTvKno30buL3kP0nqL3Er236H1E7yt6P9H7iz5A9IGiDxJ9sOhDRB8q+jDRh4s+QvSRoo8SfbToY0QfK/o40ceLPkH0iaJPEn2y6FNEnyr6NNGniz5D9JmizxJ9tuhzRJ8r+jzR54u+QPSFov8h+p+iLxJ9sehLRF8q+jLRl4u+QvS/RF8p+irRV4u+RvS1oq8Tfb3oG0TfKPom0TeLvkX0raJvE3276DtE/1v0naLvEn236HtE3yv6PtH3i35A9IOiHxL9sOhHRP9H9KOiHxP9uOgnRD8p+inRT4t+RvSzop8T/bzoF0S/KPol0S+LfkX0q6JfE/266DdEvyn6LdFvi35H9Lui3xP9vugPRH8o+iPRH4v+RPSnoj8T/bnoL0R/Kfor0V+L/kb0t6K/E/296B9E/yj6J9E/K/2/v/npoocQPVj0kKKHEj206GFEDyt6ONHDix5B9IiiRxI9suhRRI8qejTRo4v+jegxRI8peizRY4seR/S4oscTPb7oCURPKHoi0ROLnkT0pKInEz256ClETyl6KtFTi/6t6GlE/070tKJ/L3o60dOL/oPoGUTPKHom0TOLnkX0rKJnEz276DlEzyl6LtFzi55H9Lyi5xM9v+gFRP9R9IKiFxK9sOhFRC8qejHRi4teQvSSopcSvbToZUQvK3o50cuLXkH0iqL/JPrPolcS/RfRK4v+q+hVRP9N9KqiVxO9uug1RK8pei3Ra4teR/S6otcTvb7oDUT/XfSGojcSvbHoTURvKnoz0ZuL3kL0lqK3Er216G1Ebyt6O9Hbi95B9I6idxK9s+hdRO8qejfRu4veQ/SeovcSvbfofUTvK3o/0fuLPkD0gaIPEn2w6ENEHyr6MNGHiz5C9JGijxJ9tOhjRB8r+jjRx4s+QfSJok8SfbLoU0SfKvo00aeLPkP0maLPEn226HNEnyv6PNHni75A9IWi/yH6n6IvEn2x6EtEXyr6MtGXi75C9L9EXyn6KtFXi75G9LWirxN9vegbRN8o+ibRN4u+RfStom8TfbvoO0T/W/Sdou8Sfbfoe0TfK/o+0feLfkD0g6IfEv2w6EdE/0f0o6IfE/246CdEPyn6KdFPi35G9LOinxP9vOgXRL8o+iXRL4t+RfSrol8T/broN0S/Kfot0W+Lfkf0u6LfE/2+6A9Efyj6I9Efi/5E9KeiPxP9uegvRH8p+ivRX4v+RvS3or8T/b3oH0T/KPon0T9rYND/AOaSEScAAHicY2BiAAKmPSy+QEqUgYFRUURcTFzMyNzM3MxEXU1dTYmdjZ2NccK/K5oaLm6L3Fw0NOEMZoVAFD6IAQD4PA9iAAAAeJxjYGRgYADilrme/fH8Nl8ZuNkvAEUYbnDPcEOmmfaw+AIpDgYmEA8AHMMJGAAAeJxjYGRgYL/AAATMCiCSaQ8DIwMqYAIAK/QBvQAAAAADIAAAAAAAAAAoAAB4nGNgZGBgYGIQA2IGMIuBgQsIGRj+g/kMAArUATEAAHicjY69TsMwFIWP+4doJYSKhMTmoUJIqOnPWIm1ZWDq0IEtTZw2VRpHjlu1D8A7MPMczAw8DM/AifFEl9qS9d1zzr3XAK7xBYHqCHTdW50aLlj9cZ1057lBfvTcRAdPnlvUnz23mXj13MEN3jhBNC6p9PDuuYYrfHquU//23CD/eG7iVnQ9t9ATD57bWIgXzx3ciw+rDrZfqmhnUnvsx2kZzdVql4Xm1DhVFsqUqc7lKBiemjOVKxNaFcvlUZb71djaRCZGb+VU51ZlmZaF0RsV2WBtbTEZDBKvB5HewkLhwLePkhRhB4OU9ZFKTCqpzems6GQI6Z7TcU5mQceQUmjkkBghwPCszhmd3HWHLh+ze8mEpLvnT8dULRLWCTMaW9LUbanSGa+mUjhv47ZY7l67rgITDHiTf/mAKU76BTuXfk8AAHicY2BigAARBuyAiZGJkZmBJSWzOJmBAQALQwHHAAAA) format('woff'); }

/* 
 * PARINTINS 2026 - STYLE SHEET (PREMIUM DESIGN SYSTEM)
 * Cores temÃ¡ticas: Vermelho do Boi Garantido e Azul do Boi Caprichoso
 */

:root {
    --bg-dark: #07090e;
    --panel-bg: rgba(13, 17, 26, 0.75);
    --panel-border: rgba(255, 255, 255, 0.08);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    /* Fontes do Google Fonts com fallbacks robustos para Emojis */
    --font-outfit: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-inter: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    
    /* Efeitos de Sombras Premium */
    --shadow-neon-red: 0 0 20px rgba(239, 68, 68, 0.25);
    --shadow-neon-blue: 0 0 20px rgba(59, 130, 246, 0.25);
    --shadow-neon-gold: 0 0 20px rgba(245, 158, 11, 0.25);
    --shadow-card: 0 12px 24px -10px rgba(0, 0, 0, 0.7);

    /* Cores dos Bois */
    --garantido-red: #f43f5e;
    --garantido-glow: rgba(244, 63, 94, 0.4);
    --caprichoso-blue: #3b82f6;
    --caprichoso-glow: rgba(59, 130, 246, 0.4);
    --arena-gold: #f59e0b;
    --arena-glow: rgba(245, 158, 11, 0.4);

    /* Tema PadrÃ£o (Arena) */
    --theme-color: var(--arena-gold);
    --theme-glow: var(--arena-glow);
    --primary-glow: linear-gradient(90deg, #991b1b 50%, #1e40af 50%);
}

/* ModificaÃ§Ãµes DinÃ¢micas de Temas */
body.theme-garantido {
    /* O vermelho exato extraÃ­do da sua imagem (#c40010) */
    --theme-color: #c40010; 
    --theme-glow: rgba(161, 11, 23, 0.853);
    
    /* Brilho primÃ¡rio utilizando a cor exata da imagem refletindo no dark mode */
    --primary-glow: linear-gradient(135deg, rgba(196, 0, 16, 0.65), rgba(12, 12, 20, 0.9));
    
    /* O foco de luz de fundo calibrado para o tom exato do Boi da Baixa do SÃ£o JosÃ© */
    background: radial-gradient(circle at top left, rgba(167, 8, 21, 0.766), rgba(4, 4, 6, 1));
}
body.theme-caprichoso {
    /* O azul-safira vibrante e oficial do Boi Caprichoso */
    --theme-color: #0044cc; 
    --theme-glow: rgba(0, 68, 204, 0.75);
    
    /* Um gradiente imponente, misturando o azul da Francesa com o fundo escuro */
    --primary-glow: linear-gradient(135deg, rgba(0, 68, 204, 0.7), rgba(8, 15, 32, 0.85));
    
    /* O foco de luz no canto superior esquerdo agora pulsa o azul do bumbÃ¡ */
    background: radial-gradient(circle at top left, rgba(0, 68, 204, 0.28), rgba(4, 6, 12, 1));
}

body.theme-arena {
    /* O dourado para os detalhes gerais */
    --theme-color: #f59e0b; 
    --theme-glow: rgba(245, 158, 11, 0.5);
    
    /* CORREÃ‡ÃƒO DO ROXO: O vermelho vai atÃ© os 40%, o azul comeÃ§a forte nos 60%. */
    /* Usamos um azul ligeiramente mais aberto (#0055ff) para o gradiente nÃ£o escurecer em roxo */
    --primary-glow: linear-gradient(135deg, 
        rgba(223, 12, 37, 0.65) 0%, 
        rgba(223, 12, 37, 0.1) 40%, 
        rgba(0, 85, 255, 0.1) 60%, 
        rgba(0, 85, 255, 0.65) 100%
    );
    
    /* Afastamos os focos de luz para os extremos para limpar o centro da tela */
    background: 
        radial-gradient(circle at top left, rgba(223, 12, 37, 0.35), transparent 40%),
        radial-gradient(circle at bottom right, rgba(0, 85, 255, 0.35), transparent 40%),
        linear-gradient(to bottom, #040406, #08080c);
}

/* Reset e EstruturaÃ§Ã£o Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: radial-gradient(circle at top left, rgba(8, 14, 28, 0.8), rgba(7, 9, 14, 1));
    color: var(--text-main);
    font-family: var(--font-inter);
    min-height: 100vh;
    padding: 3rem 1.5rem;
    display: flex;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
    transition: background 0.8s ease, color 0.3s ease;
}

/* Fundo Iluminado Neon */
.glow-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--primary-glow);
    z-index: -2;
    pointer-events: none;
    transition: background 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Detalhe Superior: Linhas Decorativas de Duel */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 50vw;
    height: 4px;
    background: linear-gradient(90deg, var(--garantido-red), transparent);
    z-index: 10;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    width: 50vw;
    height: 4px;
    background: linear-gradient(270deg, var(--caprichoso-blue), transparent);
    z-index: 10;
}

.app-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    z-index: 1;
}

/* Banner de Bois */
.bois-banner-container {
    width: 100%;
    height: 500px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    box-shadow: var(--shadow-card);
}

.bois-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bois-banner-container:hover .bois-banner-img {
    transform: scale(1.03);
}

/* Base dos CartÃµes em Glassmorphism */
.glass-panel {
    background: var(--panel-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--panel-border);
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

/* CADEÃ‡ALHO VISUAL PREMIUM */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2.5rem;
    position: relative;
    overflow: hidden;
    background: rgba(10, 14, 23, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
}

.header-actions-wrapper {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Efeito de brilho de borda inferior */
.app-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        var(--garantido-red) 0%, 
        var(--arena-gold) 50%, 
        var(--caprichoso-blue) 100%
    );
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.logo-beer {
    font-size: 3rem;
    filter: drop-shadow(0 0 15px rgba(245, 158, 11, 0.5));
    animation: floating-beer 4s infinite ease-in-out;
}

.title-wrapper h1 {
    font-family: var(--font-outfit);
    font-weight: 900;
    font-size: 2.2rem;
    letter-spacing: -1px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 30%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Tema Arena tem o tÃ­tulo dividido em Vermelho/Azul */
body.theme-arena .title-wrapper h1 {
    background: linear-gradient(95deg, var(--garantido-red) 35%, #ffffff 48%, #ffffff 52%, var(--caprichoso-blue) 65%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.theme-garantido .title-wrapper h1 {
    background: linear-gradient(135deg, #ffffff 40%, var(--garantido-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.theme-caprichoso .title-wrapper h1 {
    background: linear-gradient(135deg, #ffffff 40%, var(--caprichoso-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.title-wrapper .subtitle {
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 3px;
    color: var(--theme-color);
    text-shadow: 0 0 10px var(--theme-glow);
    transition: all 0.5s ease;
}

/* SELETOR DE TEMAS DE BOIS (GARANTIDO VS CAPRICHOSO) */
.theme-selector-wrapper {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.theme-label {
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.theme-buttons {
    display: flex;
    background: rgba(4, 6, 10, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.35rem;
    border-radius: 100px;
    gap: 0.35rem;
}

.btn-theme {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-theme .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn-theme-garantido .dot { background-color: var(--garantido-red); }
.btn-theme-caprichoso .dot { background-color: var(--caprichoso-blue); }
.btn-theme-arena .dot {
    background: linear-gradient(135deg, var(--garantido-red), var(--caprichoso-blue));
}

.btn-delete-row:hover {
    color: var(--garantido-red);
    background: rgba(237, 28, 36, 0.1);
}

.product-sell-card:active {
    transform: scale(0.92) translateY(2px) !important;
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.4), rgba(16, 185, 129, 0.2)) !important;
    border-color: #10b981 !important;
    box-shadow: inset 0 4px 10px rgba(0,0,0,0.5), 0 0 15px rgba(16, 185, 129, 0.4) !important;
    transition: all 0.05s ease-out !important;
}

@keyframes pulse-border {
    0% {
        border-color: #ff3b3b;
        box-shadow: 0 0 0 0 rgba(255, 59, 59, 0.7);
    }
    70% {
        border-color: #ff9800;
        box-shadow: 0 0 0 20px rgba(255, 59, 59, 0);
    }
    100% {
        border-color: #ff3b3b;
        box-shadow: 0 0 0 0 rgba(255, 59, 59, 0);
    }
}

.btn-theme:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.04);
}

.btn-theme.active {
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.btn-theme-garantido.active {
    background: var(--garantido-red);
    box-shadow: 0 4px 20px rgba(244, 63, 94, 0.4);
}

.btn-theme-caprichoso.active {
    background: var(--caprichoso-blue);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.btn-theme-arena.active {
    background: linear-gradient(135deg, var(--garantido-red), var(--caprichoso-blue));
    box-shadow: 0 4px 25px rgba(245, 158, 11, 0.3);
}

.btn-theme.active .dot {
    background-color: #ffffff;
    transform: scale(1.3);
}

/* PAINEL DE INDICADORES (DASHBOARD) */
.dashboard-section-title {
    align-self: center;
    font-family: var(--font-outfit);
    font-size: 1.35rem;
    font-weight: 900;
    margin: -0.35rem 0 -0.65rem;
    padding: 0.65rem 1.4rem;
    border-radius: 999px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 24px var(--theme-glow);
    text-shadow: 0 0 16px var(--theme-glow);
}

.dashboard-section-title span {
    background: linear-gradient(135deg, #ffffff 30%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

body.theme-garantido .dashboard-section-title {
    background: linear-gradient(135deg, rgba(70, 8, 14, 0.88), rgba(18, 10, 18, 0.76));
    border-color: rgba(239, 68, 68, 0.28);
}

body.theme-garantido .dashboard-section-title span {
    background: linear-gradient(135deg, #ffffff 40%, var(--garantido-red) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

body.theme-caprichoso .dashboard-section-title {
    background: linear-gradient(135deg, rgba(8, 28, 75, 0.88), rgba(8, 14, 28, 0.76));
    border-color: rgba(59, 130, 246, 0.3);
}

body.theme-caprichoso .dashboard-section-title span {
    background: linear-gradient(135deg, #ffffff 40%, var(--caprichoso-blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

body.theme-arena .dashboard-section-title {
    background:
        linear-gradient(135deg, rgba(18, 10, 18, 0.84), rgba(8, 14, 28, 0.76)) padding-box,
        linear-gradient(135deg, rgba(223, 12, 37, 0.78), rgba(245, 158, 11, 0.7), rgba(0, 85, 255, 0.78)) border-box;
    background-clip: padding-box, border-box;
    -webkit-background-clip: padding-box, border-box;
    border-color: rgba(245, 158, 11, 0.24);
}

body.theme-arena .dashboard-section-title span {
    background: linear-gradient(95deg, var(--garantido-red) 35%, #ffffff 48%, #ffffff 52%, var(--caprichoso-blue) 65%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.stat-card {
    padding: 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.stat-card.clickable {
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat-card.clickable:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: transparent;
}

#stat-revenue::before { background: var(--arena-gold); }
#stat-sales-corona::before { background: var(--garantido-red); }
#stat-sales-heineken::before { background: var(--caprichoso-blue); }
#stat-total-sold::before { background: linear-gradient(180deg, var(--garantido-red), var(--caprichoso-blue)); }

.stat-icon-wrapper {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon-wrapper {
    transform: scale(1.08);
    background: rgba(255, 255, 255, 0.06);
}

#stat-revenue .stat-icon-wrapper { color: var(--arena-gold); border-color: rgba(245, 158, 11, 0.2); }
#stat-sales-corona .stat-icon-wrapper { color: var(--garantido-red); border-color: rgba(244, 63, 94, 0.2); }
#stat-sales-heineken .stat-icon-wrapper { color: var(--caprichoso-blue); border-color: rgba(59, 130, 246, 0.2); }
#stat-total-sold .stat-icon-wrapper { color: var(--arena-gold); border-color: rgba(245, 158, 11, 0.2); }

body.theme-garantido .dashboard-stats .stat-card {
    background: linear-gradient(180deg, rgba(239, 68, 68, 0.18), rgba(19, 20, 29, 0.9));
    border: 1px solid rgba(239, 68, 68, 0.28);
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.12);
}

body.theme-garantido .dashboard-stats .stat-card::before {
    background: rgba(239, 68, 68, 0.85);
}

body.theme-caprichoso .dashboard-stats .stat-card {
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.18), rgba(12, 18, 42, 0.9));
    border: 1px solid rgba(59, 130, 246, 0.28);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.12);
}

body.theme-caprichoso .dashboard-stats .stat-card::before {
    background: rgba(59, 130, 246, 0.85);
}

body.theme-arena .dashboard-stats .stat-card {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.16), rgba(59, 130, 246, 0.16));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.12), 0 0 20px rgba(59, 130, 246, 0.08);
}

body.theme-arena .dashboard-stats .stat-card::before {
    background: linear-gradient(180deg, rgba(239, 68, 68, 0.9), rgba(59, 130, 246, 0.9));
}

body.theme-garantido .app-header,
body.theme-garantido .content-panel {
    background: rgba(10, 14, 23, 0.85);
    border-color: rgba(239, 68, 68, 0.16);
    box-shadow: 0 0 25px rgba(239, 68, 68, 0.08);
}

body.theme-garantido .glass-panel,
body.theme-garantido .nav-sidebar,
body.theme-garantido .tab-content {
    background: rgba(22, 8, 12, 0.88);
    border-color: rgba(239, 68, 68, 0.16);
}

body.theme-garantido .dashboard-stats .stat-card,
body.theme-garantido .stat-card {
    background: linear-gradient(180deg, rgba(239, 68, 68, 0.18), rgba(13, 16, 27, 0.92));
    border: 1px solid rgba(239, 68, 68, 0.22);
    box-shadow: 0 0 28px rgba(239, 68, 68, 0.16);
}

body.theme-garantido .dashboard-stats .stat-card::before,
body.theme-garantido .nav-tab-btn.active {
    background: rgba(239, 68, 68, 1);
}

body.theme-garantido .dashboard-stats .stat-icon-wrapper,
body.theme-garantido .btn-danger-outline {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
}

body.theme-garantido .content-header h2,
body.theme-garantido .stat-title,
body.theme-garantido .btn-theme.active {
    color: #ffffff;
}

body.theme-caprichoso .app-header,
body.theme-caprichoso .content-panel {
    background: rgba(10, 14, 23, 0.85);
    border-color: rgba(59, 130, 246, 0.16);
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.08);
}

body.theme-caprichoso .glass-panel,
body.theme-caprichoso .nav-sidebar,
body.theme-caprichoso .tab-content {
    background: rgba(8, 14, 28, 0.88);
    border-color: rgba(59, 130, 246, 0.16);
}

body.theme-caprichoso .dashboard-stats .stat-card,
body.theme-caprichoso .stat-card {
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.18), rgba(12, 18, 36, 0.92));
    border: 1px solid rgba(59, 130, 246, 0.22);
    box-shadow: 0 0 28px rgba(59, 130, 246, 0.16);
}

body.theme-caprichoso .dashboard-stats .stat-card::before,
body.theme-caprichoso .nav-tab-btn.active {
    background: rgba(59, 130, 246, 1);
}

body.theme-caprichoso .dashboard-stats .stat-icon-wrapper,
body.theme-caprichoso .btn-danger-outline {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
}

body.theme-caprichoso .content-header h2,
body.theme-caprichoso .stat-title,
body.theme-caprichoso .btn-theme.active {
    color: #ffffff;
}

body.theme-arena .app-header,
body.theme-arena .content-panel {
    background: rgba(10, 14, 23, 0.85);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.08), 0 0 20px rgba(59, 130, 246, 0.06);
}

body.theme-arena .glass-panel,
body.theme-arena .nav-sidebar,
body.theme-arena .tab-content {
    background: rgba(10, 14, 23, 0.88);
    border-color: rgba(245, 158, 11, 0.14);
}

body.theme-arena .dashboard-stats .stat-card,
body.theme-arena .stat-card {
    background: linear-gradient(180deg, rgba(239, 68, 68, 0.08), rgba(59, 130, 246, 0.08));
    border: 1px solid rgba(245, 158, 11, 0.14);
    box-shadow: 0 0 22px rgba(245, 158, 11, 0.08), 0 0 18px rgba(59, 130, 246, 0.06);
}

body.theme-arena .dashboard-stats .stat-card::before,
body.theme-arena .nav-tab-btn.active {
    background: linear-gradient(135deg, rgba(239, 68, 68, 1), rgba(59, 130, 246, 1));
}

body.theme-arena .dashboard-stats .stat-icon-wrapper,
body.theme-arena .btn-danger-outline {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(59, 130, 246, 0.14);
}

body.theme-arena .content-header h2,
body.theme-arena .stat-title,
body.theme-arena .btn-theme.active {
    color: #ffffff;
}

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.stat-title {
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.75px;
}

.stat-value {
    font-family: var(--font-outfit);
    font-size: 1.7rem;
    font-weight: 800;
    color: #ffffff;
}

/* LAYOUT PRINCIPAL (TAB NAV + PRINCIPAL) */
.main-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    align-items: start;
}

/* Sidebar Menu */
.nav-sidebar {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    gap: 0.75rem;
}

.nav-tab-btn {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 16px;
    color: var(--text-muted);
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 1rem;
    padding: 1.1rem 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    text-align: left;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-tab-btn i {
    width: 22px;
    height: 22px;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.nav-tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.03);
}

.nav-tab-btn:hover i {
    opacity: 1;
    transform: translateX(2px);
}

.nav-tab-btn.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.09);
    position: relative;
}

/* Indicador dinÃ¢mico de borda lateral baseado no tema */
body.theme-garantido .nav-tab-btn.active {
    border-left: 4px solid var(--garantido-red);
}
body.theme-caprichoso .nav-tab-btn.active {
    border-left: 4px solid var(--caprichoso-blue);
}
body.theme-arena .nav-tab-btn.active {
    border-left: 4px solid var(--arena-gold);
}

.nav-tab-btn.active i {
    opacity: 1;
    color: var(--theme-color);
    filter: drop-shadow(0 0 5px var(--theme-glow));
}

/* PAINEL DE CONTEÃšDO */
.content-panel {
    padding: 2.5rem;
    min-height: 550px;
}

.tab-content {
    display: none;
    animation: fade-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tab-content.active {
    display: block;
}

.content-header {
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1.5rem;
}

.content-header h2 {
    font-family: var(--font-outfit);
    font-weight: 800;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.content-header h2 span {
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.content-header p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* BARRA DE FILTRO / BUSCA */
.search-filter-bar {
    margin-bottom: 2rem;
}

.input-icon-group {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-icon-group input {
    width: 100%;
    background: rgba(4, 6, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    padding: 1rem 1rem 1rem 3.2rem;
    border-radius: 16px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.input-icon-group input:focus {
    outline: none;
    border-color: var(--theme-color);
    box-shadow: 0 0 20px var(--theme-glow);
    background: rgba(4, 6, 10, 0.8);
}

.search-icon {
    position: absolute;
    left: 1.25rem;
    color: var(--text-muted);
    width: 20px;
    height: 20px;
    pointer-events: none;
    transition: color 0.3s ease;
}

.input-icon-group input:focus + .search-icon {
    color: var(--theme-color);
}

/* CARDS DE CERVEJA (DESIGN ULTRA PREMIUM) */
.beer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
}

.beer-card {
    background: rgba(17, 24, 39, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 230px;
    position: relative;
    overflow: hidden;
}

/* AnimaÃ§Ãµes e Efeitos EspecÃ­ficos das Cervejas baseadas no Boi */
.beer-card.card-garantido {
    border-left: 4px solid var(--garantido-red);
}
.beer-card.card-garantido:hover {
    border-color: rgba(244, 63, 94, 0.4);
    box-shadow: 0 15px 35px -10px rgba(244, 63, 94, 0.25);
}

.beer-card.card-caprichoso {
    border-left: 4px solid var(--caprichoso-blue);
}
.beer-card.card-caprichoso:hover {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 15px 35px -10px rgba(59, 130, 246, 0.25);
}

.beer-card.card-neutral {
    border-left: 4px solid var(--arena-gold);
}
.beer-card.card-neutral:hover {
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 15px 35px -10px rgba(245, 158, 11, 0.25);
}

.beer-card:hover {
    transform: translateY(-6px);
    background: rgba(21, 29, 45, 0.65);
}

.beer-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.beer-badge {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-family: var(--font-outfit);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 100px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.beer-card:hover .beer-badge {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.beer-card.card-garantido:hover .beer-badge {
    border-color: rgba(244, 63, 94, 0.3);
}

.beer-card.card-caprichoso:hover .beer-badge {
    border-color: rgba(59, 130, 246, 0.3);
}

.beer-name-title {
    font-family: var(--font-outfit);
    font-weight: 800;
    font-size: 1.4rem;
    margin-bottom: 0.35rem;
    color: #ffffff;
    letter-spacing: -0.2px;
}

.beer-style {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.beer-card-img-container {
    width: 100%;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0.5rem 0 1rem 0;
}

.beer-card-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
}

.beer-price-tag {
    font-family: var(--font-outfit);
    font-size: 1.5rem;
    font-weight: 900;
    color: #ffffff;
    margin-top: auto;
    margin-bottom: 1.25rem;
}

.card-garantido .beer-price-tag { color: var(--garantido-red); }
.card-caprichoso .beer-price-tag { color: var(--caprichoso-blue); }
.card-neutral .beer-price-tag { color: var(--arena-gold); }

.beer-stock-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.beer-stock-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.stock-num {
    font-weight: 700;
    color: #ffffff;
}

.beer-stock-bar-container {
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    overflow: hidden;
}

.beer-stock-bar {
    height: 100%;
    border-radius: 100px;
    width: 0;
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.5s ease;
}

.beer-card-actions {
    margin-top: 1.25rem;
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-edit-stock,
.btn-renew-stock,
.btn-remove-stock,
.btn-toggle-status,
.btn-mute-alert {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    padding: 0.72rem 0.85rem;
    border-radius: 14px;
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 0.78rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.btn-renew-stock {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.28);
    color: #d1fae5;
}

.btn-remove-stock {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #fecaca;
}

.btn-edit-stock:hover,
.btn-renew-stock:hover,
.btn-remove-stock:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-renew-stock:hover {
    background: rgba(16, 185, 129, 0.16);
    border-color: rgba(16, 185, 129, 0.42);
}

.btn-remove-stock:hover {
    background: rgba(239, 68, 68, 0.16);
    border-color: rgba(239, 68, 68, 0.45);
}

.btn-edit-stock i,
.btn-renew-stock i,
.btn-remove-stock i {
    width: 16px;
    height: 16px;
    opacity: 0.8;
}

/* Indicadores de saÃºde do estoque */
.stock-bar-high { background: linear-gradient(90deg, #10b981, #059669); }
.stock-bar-med { background: linear-gradient(90deg, #f59e0b, #d97706); }
.stock-bar-low { background: linear-gradient(90deg, #ef4444, #dc2626); }

/* ESTILIZAÃ‡ÃƒO DOS FORMULÃRIOS */
.form-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 550px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form-group label {
    font-family: var(--font-outfit);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select {
    background: rgba(4, 6, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    padding: 1rem 1.2rem;
    border-radius: 14px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: var(--font-inter);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(148, 163, 184, 0.8)' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    background-size: 1.1em;
    padding-right: 3rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--theme-color);
    box-shadow: 0 0 20px var(--theme-glow);
    background: rgba(4, 6, 10, 0.8);
}

/* ForÃ§ar maiÃºsculas visualmente nos campos de identificaÃ§Ã£o */
#beer-name, #beer-type, 
#food-name, #food-type {
    text-transform: uppercase;
}


/* SUB-ABAS PARA CADASTRO */
.register-subtabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.5rem;
}

.subtab-btn {
    padding: 0.8rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: var(--font-outfit);
    border-bottom: 2px solid transparent;
    position: relative;
}

.subtab-btn:hover {
    color: var(--text-main);
}

.subtab-btn.active {
    color: var(--theme-color);
    border-bottom-color: var(--theme-color);
    box-shadow: inset 0 -1px 0 var(--theme-glow);
}

.subtab-content {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.subtab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mini-painÃ©is estatÃ­sticos em formulÃ¡rios */
.inline-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.25rem;
    margin: 0.5rem 0;
}

.mini-stat {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.mini-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.mini-val {
    font-family: var(--font-outfit);
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
}

/* Bloco Calculadora Total do Pedido */
.total-calculator {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.01);
}

.total-calculator span {
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.total-calculator strong {
    font-family: var(--font-outfit);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--theme-color);
    text-shadow: 0 0 10px var(--theme-glow);
    transition: color 0.5s ease;
}

/* BotÃµes de AÃ§Ã£o (Glows e Efeitos) */
.btn-submit {
    background: linear-gradient(135deg, var(--theme-color) 0%, rgba(0, 0, 0, 0.4) 100%);
    color: #ffffff;
    font-family: var(--font-outfit);
    font-weight: 800;
    font-size: 1.05rem;
    padding: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    box-shadow: 0 8px 25px var(--theme-glow), inset 0 0 12px rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.btn-submit::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg);
    transition: 0.6s;
}

.btn-submit:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 35px var(--theme-glow);
    filter: brightness(1.1);
}

.btn-submit:hover::after {
    left: 150%;
}

.btn-submit:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-submit:disabled {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* RELATÃ“RIOS E TABELAS */
.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.history-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.history-search-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.history-search-group label {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

#history-filter-date,
#history-filter-name {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--text-main);
    padding: 0.7rem 0.9rem;
    border-radius: 12px;
    min-width: 180px;
}

#history-filter-name::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

#history-filter-name:focus {
    outline: none;
    border-color: var(--theme-color);
    box-shadow: 0 0 15px var(--theme-glow);
}

#history-filter-date::-webkit-calendar-picker-indicator {
    filter: invert(1);
}

.history-table-wrapper::-webkit-scrollbar {
    width: 10px;
}

.history-table-wrapper::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.04);
}

.history-table-wrapper::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.4);
    border-radius: 999px;
}

.history-table-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(148, 163, 184, 0.6);
}

.btn-danger-outline {
    background: transparent;
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #ef4444;
    padding: 0.75rem 1.4rem;
    border-radius: 12px;
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.2s ease;
}

.btn-danger-outline:hover {
    background: rgba(239, 68, 68, 0.08);
    border-color: #ef4444;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.15);
}

.sales-summary-panel {
    margin-top: 1.5rem;
    display: grid;
    gap: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 19, 35, 0.82);
    border-radius: 22px;
}

.sales-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 1rem;
}

.summary-vendor-tabs {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.btn-tab-summary, .btn-tab-expense {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    padding: 0.85rem 1.2rem;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-tab-summary:hover, .btn-tab-expense:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

/* Fernanda: Boi Caprichoso (Azul) */
.btn-tab-summary[data-vendor="Fernanda"].active,
.btn-tab-expense[data-vendor="Fernanda"].active {
    background: linear-gradient(135deg, var(--caprichoso-blue) 0%, #1d4ed8 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
    border-color: transparent;
}

/* Ricardo: Boi Garantido (Vermelho) */
.btn-tab-summary[data-vendor="Ricardo"].active,
.btn-tab-expense[data-vendor="Ricardo"].active {
    background: linear-gradient(135deg, var(--garantido-red) 0%, #b91c1c 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(244, 63, 94, 0.4);
    border-color: transparent;
}

.summary-date-filter {
    margin-top: 1rem;
    display: flex;
    align-items: end;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.summary-date-filter label {
    color: var(--text-muted);
    font-family: var(--font-outfit);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.summary-date-filter input {
    background: rgba(4, 8, 20, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-main);
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    font-family: var(--font-inter);
}

.summary-date-filter input:focus {
    outline: none;
    border-color: var(--theme-color);
    box-shadow: 0 0 15px var(--theme-glow);
}

.summary-date-filter input::-webkit-calendar-picker-indicator {
    filter: invert(1);
}

.summary-date-filter button {
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.11);
    color: var(--text-main);
    border-radius: 12px;
    padding: 0.75rem 0.95rem;
    font-family: var(--font-outfit);
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
}

.summary-date-filter button:hover {
    border-color: var(--theme-color);
    color: #ffffff;
}

#expenses-clear-date {
    background: linear-gradient(135deg, var(--garantido-red) 0%, var(--caprichoso-blue) 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.25);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#expenses-clear-date:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35), 0 0 12px rgba(59, 130, 246, 0.3);
    border-color: rgba(255, 255, 255, 0.35);
}

.summary-vendor-panel {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.summary-vendor-main {
    grid-column: span 2;
}

.summary-card {
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.summary-card strong {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.summary-card span {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
}

.vendor-details-section {
    margin-top: 1.5rem;
}

.section-title {
    font-family: var(--font-outfit);
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.vendor-beers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-height: 65vh;
    overflow-y: auto;
    padding-right: 8px;
}

.vendor-beers-grid::-webkit-scrollbar {
    width: 6px;
}
.vendor-beers-grid::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.04);
    border-radius: 4px;
}
.vendor-beers-grid::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
}

.vendor-day-dashboard {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    padding: 1.25rem;
    background: linear-gradient(180deg, rgba(21, 27, 48, 0.96), rgba(11, 15, 29, 0.96));
    border: 1px solid rgba(83, 104, 155, 0.28);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.24);
}

.vendor-day-dashboard::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 8% 0%, rgba(34, 211, 238, 0.16), transparent 32%),
        radial-gradient(circle at 100% 8%, rgba(168, 85, 247, 0.12), transparent 28%);
    pointer-events: none;
}

.vendor-day-header,
.vendor-day-totals,
.vendor-bar-chart {
    position: relative;
    z-index: 1;
}

.vendor-day-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.vendor-day-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.vendor-day-label {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.vendor-day-header h4 {
    margin: 0;
    color: #ffffff;
    font-family: var(--font-outfit);
    font-size: 1.45rem;
    font-weight: 900;
}

.vendor-day-pill {
    flex-shrink: 0;
    border-radius: 999px;
    padding: 0.45rem 0.75rem;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.22), rgba(59, 130, 246, 0.2));
    border: 1px solid rgba(34, 211, 238, 0.24);
    color: #dffbff;
    font-family: var(--font-outfit);
    font-weight: 800;
    font-size: 0.86rem;
}

.btn-values-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 42px;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(96, 165, 250, 0.35);
    background: rgba(15, 23, 42, 0.72);
    color: #dbeafe;
    font-family: var(--font-outfit);
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn-values-toggle:hover {
    transform: translateY(-1px);
    border-color: rgba(96, 165, 250, 0.7);
    background: rgba(37, 99, 235, 0.22);
}

.btn-values-toggle i {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.btn-values-toggle-compact {
    min-height: 36px;
    padding: 0.45rem 0.7rem;
    font-size: 0.78rem;
}

.vendor-day-totals {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.vendor-day-totals div {
    min-height: 78px;
    padding: 0.9rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.065);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.vendor-day-totals strong {
    color: var(--text-muted);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.vendor-day-totals span {
    color: #ffffff;
    font-family: var(--font-outfit);
    font-size: 1.15rem;
    font-weight: 900;
}

.vendor-bar-chart {
    min-height: 300px;
    padding: 1.25rem 0.75rem 0.9rem;
    border-radius: 16px;
    background:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        rgba(4, 8, 20, 0.44);
    background-size: 100% 48px, auto;
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 96px;
    gap: 0.55rem;
    align-items: end;
    justify-content: start;
    overflow-x: auto;
}

.vendor-chart-item {
    height: 270px;
    display: grid;
    grid-template-rows: 1fr auto auto;
    gap: 0.24rem;
    align-items: end;
    min-width: 96px;
}

.vendor-chart-value {
    color: #ffffff;
    font-family: var(--font-outfit);
    font-size: 0.76rem;
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
}

.vendor-chart-bar-wrap {
    width: 100%;
    height: 206px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
}

.vendor-chart-bar {
    width: 66px;
    min-height: 10px;
    border-radius: 8px 8px 2px 2px;
    background: linear-gradient(180deg, #a5b4fc 0%, #6366f1 52%, #3b82f6 100%);
    box-shadow: 0 0 22px rgba(99, 102, 241, 0.28);
}

.vendor-chart-name {
    color: var(--text-main);
    font-family: var(--font-outfit);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    overflow-wrap: anywhere;
}

.vendor-chart-meta {
    display: grid;
    gap: 0.12rem;
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
    margin-top: -0.05rem;
}

.vendor-beer-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    padding: 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    min-height: 245px;
    background: linear-gradient(180deg, rgba(21, 27, 48, 0.96), rgba(11, 15, 29, 0.96));
    border: 1px solid rgba(83, 104, 155, 0.28);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.24);
}

.vendor-beer-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 0%, rgba(34, 211, 238, 0.16), transparent 34%),
        radial-gradient(circle at 100% 12%, rgba(168, 85, 247, 0.12), transparent 30%);
    pointer-events: none;
}

.vendor-beer-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.vendor-beer-label {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.vendor-beer-name {
    font-family: var(--font-outfit);
    font-size: 1.18rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin: 0;
}

.vendor-beer-units {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    border-radius: 999px;
    padding: 0.45rem 0.75rem;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.22), rgba(59, 130, 246, 0.2));
    border: 1px solid rgba(34, 211, 238, 0.24);
    color: #dffbff;
    font-family: var(--font-outfit);
    font-weight: 800;
    font-size: 0.88rem;
}

.vendor-bar-list {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.9rem;
}

.vendor-bar-row {
    display: grid;
    gap: 0.45rem;
}

.vendor-bar-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.vendor-bar-meta strong {
    color: var(--text-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.vendor-bar-meta span {
    color: var(--text-main);
    font-weight: 800;
    text-align: right;
    font-size: 0.9rem;
}

.vendor-bar-track {
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(4, 8, 20, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.vendor-bar {
    height: 100%;
    min-width: 10px;
    border-radius: inherit;
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.2);
}

.vendor-bar-units {
    background: linear-gradient(90deg, #22d3ee, #60a5fa);
}

.vendor-bar-revenue {
    background: linear-gradient(90deg, #8b5cf6, #ec4899);
}

.vendor-bar-cost {
    background: linear-gradient(90deg, #f59e0b, #f97316);
}

.vendor-bar-profit {
    background: linear-gradient(90deg, #10b981, #22c55e);
}

.vendor-empty-state {
    grid-column: 1 / -1;
    min-height: 170px;
    padding: 2rem;
}

.history-table-wrapper {
    background: rgba(4, 6, 10, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow-x: auto;
    overflow-y: auto;
    max-height: 55vh;
    width: 100%;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}

.history-table th {
    background: rgba(10, 14, 23, 0.8);
    font-family: var(--font-outfit);
    font-weight: 700;
    color: var(--text-muted);
    padding: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.history-table th:nth-child(3),
.history-table td:nth-child(3) {
    text-align: center;
}

/* removed duplicate sales summary table styles */

.history-table td {
    padding: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--text-main);
}


.history-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.history-table tr:last-child td {
    border-bottom: none;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5rem 2rem;
    color: var(--text-muted);
    gap: 1.25rem;
}

.empty-state i {
    width: 56px;
    height: 56px;
    stroke-width: 1.25;
    opacity: 0.5;
}

/* NOTIFICAÃ‡Ã•ES FLUTUANTES (TOAST) */
#toast-container {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    width: min(92vw, 460px);
    z-index: 9999;
}

.toast {
    background: rgba(10, 14, 23, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 5px solid var(--theme-color);
    color: #ffffff;
    padding: 1.1rem 1.6rem;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.95rem;
    width: 100%;
    min-width: 0;
    max-width: 460px;
    backdrop-filter: blur(10px);
    animation: slide-in-toast 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.toast.toast-success { border-left-color: #10b981; }
.toast.toast-error { border-left-color: var(--garantido-red); }
.toast.toast-warning { border-left-color: var(--arena-gold); }
.toast.toast-info { border-left-color: var(--caprichoso-blue); }

.toast i {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Toast de Alerta de Estoque Baixo Extra Chamativo */
.toast.toast-stock-alert {
    background: rgba(26, 18, 10, 0.98) !important; /* Fundo escuro com tom quente */
    border: 2px solid #ff9800 !important; /* Borda laranja grossa */
    border-left: 8px solid #ff5252 !important; /* Lateral esquerda vermelha para urgência */
    box-shadow: 0 0 20px rgba(255, 152, 0, 0.4), 0 10px 30px rgba(0, 0, 0, 0.8) !important;
    animation: slide-in-toast 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards, pulse-border 1.5s infinite alternate !important;
    padding: 1.2rem 1.6rem !important;
}

@keyframes pulse-border {
    0% {
        border-color: #ff9800;
        box-shadow: 0 0 15px rgba(255, 152, 0, 0.3), 0 10px 30px rgba(0, 0, 0, 0.8);
    }
    100% {
        border-color: #ff5252;
        box-shadow: 0 0 25px rgba(255, 82, 82, 0.6), 0 10px 30px rgba(0, 0, 0, 0.8);
    }
}

.toast-stock-alert .toast-triangle-icon {
    font-size: 2.2rem;
    margin-right: 12px;
    animation: flash-icon 1s infinite alternate;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@keyframes flash-icon {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.15); opacity: 1; filter: drop-shadow(0 0 8px #ff9800); }
}

.toast-stock-alert .toast-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.toast-stock-alert .toast-title {
    font-family: var(--font-outfit);
    font-weight: 900;
    font-size: 0.85rem;
    color: #ff5252;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-shadow: 0 0 5px rgba(255, 82, 82, 0.3);
}

.toast-stock-alert .toast-message {
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: 500;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ANIMAÃ‡Ã•ES */
@keyframes floating-beer {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(5deg); }
}

@keyframes fade-in {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slide-in-toast {
    from { opacity: 0; transform: translateY(-18px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 520px) {
    #toast-container {
        top: 0.75rem;
        width: calc(100vw - 1rem);
    }

    .toast {
        padding: 0.9rem 1rem;
        border-radius: 10px;
        font-size: 0.88rem;
    }
}

/* RESPONSIVIDADE E ADAPTAÃ‡ÃƒO PARA CELULARES */
@media (max-width: 950px) {
    body {
        padding: 1.5rem 1rem;
    }
    
    .app-header {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
        padding: 1.5rem;
        text-align: center;
    }
    
    .logo-area {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .theme-selector-wrapper {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .header-actions-wrapper {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        width: 100%;
    }
    
    .main-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .nav-sidebar {
        flex-direction: row;
        overflow-x: auto;
        padding: 0.5rem;
        border-radius: 16px;
    }
    
    .nav-tab-btn {
        padding: 0.85rem 1.1rem;
        font-size: 0.9rem;
        flex-shrink: 0;
        border-radius: 12px;
    }
    
    .nav-tab-btn span {
        display: none; /* Esconder texto no mobile, manter apenas Ã­cones */
    }
    
    body.theme-garantido .nav-tab-btn.active,
    body.theme-caprichoso .nav-tab-btn.active,
    body.theme-arena .nav-tab-btn.active {
        border-left: none;
        border-bottom: 3px solid var(--theme-color);
    }
    
    .content-panel {
        padding: 1.5rem;
    }
}

@media (max-width: 640px) {
    body {
        padding: 0.75rem;
        padding-bottom: 0; /* Remove padding bottom para não encostar na nav inferior */
    }

    .app-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 0.75rem 1rem;
        gap: 0.5rem;
        border-radius: 16px;
    }
    
    .logo-area {
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .logo-beer {
        font-size: 1.5rem;
    }
    
    .title-wrapper h1 {
        font-size: 1.1rem;
        line-height: 1.2;
    }
    
    .title-wrapper p.subtitle {
        display: none; /* Oculta no mobile para poupar espaço */
    }
    
    .header-actions-wrapper {
        flex-direction: row;
        width: auto;
        gap: 0.5rem;
    }
    
    .theme-selector-wrapper {
        flex-direction: row;
    }
    
    .theme-label {
        display: none; /* Oculta rótulo */
    }
    
    .theme-buttons {
        gap: 0.3rem;
    }
    
    .btn-theme {
        padding: 0;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        justify-content: center;
        font-size: 0; /* Oculta o texto e deixa só o dot de cor */
    }
    
    .btn-theme .dot {
        margin: 0;
    }
    
    #btn-logout {
        padding: 0.4rem;
    }

    .app-container,
    .main-layout,
    .content-panel,
    .tab-content {
        width: 100%;
        min-width: 0;
    }

    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .stat-card {
        padding: 0.85rem 0.5rem;
        min-height: auto;
        flex-direction: column;
        text-align: center;
        gap: 0.4rem;
        justify-content: center;
    }
    
    .stat-info {
        align-items: center;
    }

    .stat-icon-wrapper {
        width: 56px;
        height: 56px;
        border-radius: 14px;
    }

    .nav-sidebar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        background: rgba(10, 14, 23, 0.95);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        padding: 0.65rem 0.2rem;
        padding-bottom: env(safe-area-inset-bottom, 1rem); /* iPhone support */
        z-index: 1000;
        border-radius: 24px 24px 0 0;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: none;
        gap: 0;
        overflow: visible;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.4);
    }

    .nav-tab-btn {
        min-width: 0;
        flex: 1;
        padding: 0.5rem 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.35rem;
        text-align: center;
        border-radius: 0;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }

    .nav-tab-btn i {
        width: 20px;
        height: 20px;
    }

    .nav-tab-btn span {
        display: none;
    }

    .nav-tab-btn::after {
        content: attr(data-mobile-label);
        display: block;
        max-width: 100%;
        color: inherit;
        font-family: var(--font-outfit);
        font-size: 0.68rem;
        font-weight: 800;
        line-height: 1.05;
        overflow-wrap: anywhere;
    }

    body.theme-garantido .nav-tab-btn.active,
    body.theme-caprichoso .nav-tab-btn.active,
    body.theme-arena .nav-tab-btn.active {
        border-left: none;
        border-bottom: none;
    }

    body.theme-garantido .nav-tab-btn.active::after { color: var(--garantido-red); }
    body.theme-garantido .nav-tab-btn.active i { color: var(--garantido-red); }

    body.theme-caprichoso .nav-tab-btn.active::after { color: var(--caprichoso-blue); }
    body.theme-caprichoso .nav-tab-btn.active i { color: var(--caprichoso-blue); }

    body.theme-arena .nav-tab-btn.active::after { color: var(--arena-gold); }
    body.theme-arena .nav-tab-btn.active i { color: var(--arena-gold); }

    .content-panel {
        padding: 1rem;
        margin-bottom: 85px; /* Espaço para o menu inferior */
    }

    .content-header {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }

    .content-header h2 {
        font-size: 1.35rem;
        line-height: 1.15;
    }

    .form-grid {
        max-width: none;
        width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .beer-grid, 
    .product-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .destination-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .history-header {
        align-items: stretch;
    }

    .history-actions,
    .history-search-group,
    #history-filter-date,
    #history-filter-name,
    .btn-danger-outline {
        width: 100%;
        min-width: 0;
    }

    .history-actions {
        gap: 0.8rem;
    }

    .history-table-wrapper {
        overflow-y: auto;
        overflow-x: hidden;
        max-height: 65vh;
        background: transparent;
        border: 0;
        padding-right: 5px;
    }

    .history-table,
    .history-table thead,
    .history-table tbody,
    .history-table tr,
    .history-table td {
        display: block;
        width: 100%;
    }

    .history-table thead {
        display: none;
    }

    .history-table tr {
        margin-bottom: 0.8rem;
        padding: 0.9rem;
        border-radius: 14px;
        background: rgba(4, 6, 10, 0.5);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .history-table td {
        display: flex;
        justify-content: space-between;
        gap: 1rem;
        padding: 0.45rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        text-align: right;
        overflow-wrap: anywhere;
    }

    .history-table td:last-child {
        border-bottom: 0;
    }

    .history-table td::before {
        flex-shrink: 0;
        color: var(--text-muted);
        font-family: var(--font-outfit);
        font-size: 0.72rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        text-align: left;
    }

    .history-table td:nth-child(1)::before { content: "Data / Hora"; }
    .history-table td:nth-child(2)::before { content: "Cerveja"; }
    .history-table td:nth-child(3)::before { content: "Quantidade"; }
    .history-table td:nth-child(4)::before { content: "PreÃ§o Venda"; }
    .history-table td:nth-child(5)::before { content: "Vlr. Total"; }
}

/* ============================================================
   DESPESAS GERAL - TAB STYLES
   ============================================================ */

/* Grid de cards de resumo */
.expenses-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.expense-stat-card {
    padding: 1.5rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expense-stat-card:hover {
    transform: translateY(-3px);
}

.expense-stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
}

.exp-card-fat::before   { background: #4ade80; }
.exp-card-custo::before { background: #f87171; }
.exp-card-resultado::before { background: #818cf8; }

.exp-card-fat    { border-color: rgba(74, 222, 128, 0.2); }
.exp-card-custo  { border-color: rgba(248, 113, 113, 0.2); }
.exp-card-resultado { border-color: rgba(129, 140, 248, 0.2); }

.expense-stat-icon {
    font-size: 2rem;
    line-height: 1;
    flex-shrink: 0;
}

.expense-stat-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.expense-stat-info span {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    font-family: var(--font-outfit);
}

.expense-stat-info strong {
    font-size: 1.45rem;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--font-outfit);
}

/* FormulÃ¡rio de despesa */
.expense-form-panel {
    padding: 1.75rem;
    margin-bottom: 2rem;
    border-radius: 20px;
}

.expense-form-title {
    font-family: var(--font-outfit);
    font-weight: 800;
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

/* Lista de despesas */
.expense-list-section {
    margin-top: 0.5rem;
}

.expense-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 14px;
    margin-bottom: 0.75rem;
    transition: all 0.25s ease;
}

.expense-item:hover {
    border-color: rgba(255, 255, 255, 0.14);
    transform: translateX(3px);
}

.expense-item-left {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
    min-width: 0;
}

.expense-item-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

/* Badges de categoria */
.expense-cat-badge {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: var(--font-outfit);
    letter-spacing: 0.3px;
    width: fit-content;
}

.expense-cat-fardo    { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
.expense-cat-isca     { background: rgba(52, 211, 153, 0.12); color: #34d399; border: 1px solid rgba(52, 211, 153, 0.25); }
.expense-cat-retirada { background: rgba(248, 113, 113, 0.12); color: #f87171; border: 1px solid rgba(248, 113, 113, 0.25); }
.expense-cat-outro    { background: rgba(148, 163, 184, 0.1); color: #94a3b8; border: 1px solid rgba(148, 163, 184, 0.2); }

.expense-descricao {
    font-size: 0.95rem;
    font-weight: 600;
    color: #e2e8f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.expense-data {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.expense-valor {
    font-family: var(--font-outfit);
    font-weight: 800;
    font-size: 1.05rem;
    color: #f87171;
    white-space: nowrap;
}

/* BotÃ£o de remover despesa */
.btn-delete-expense {
    background: rgba(248, 113, 113, 0.08);
    border: 1px solid rgba(248, 113, 113, 0.2);
    color: #f87171;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.btn-delete-expense:hover {
    background: rgba(248, 113, 113, 0.2);
    border-color: rgba(248, 113, 113, 0.5);
    transform: scale(1.1);
}

.btn-delete-expense i {
    width: 16px;
    height: 16px;
}

/* Responsivo despesas */
@media (max-width: 640px) {
    .summary-date-filter,
    .expenses-summary-grid,
    .expense-form-panel,
    .vendor-day-dashboard,
    .vendor-bar-chart {
        min-width: 0;
        width: 100%;
    }

    .summary-date-filter {
        align-items: stretch;
    }

    .summary-date-filter label,
    .summary-date-filter input,
    .summary-date-filter button,
    #expenses-clear-date,
    #expenses-values-toggle {
        width: 100%;
        min-width: 0;
    }

    .expense-stat-card {
        padding: 1.1rem;
        gap: 0.9rem;
    }

    .expense-stat-info {
        min-width: 0;
    }

    .expense-stat-info strong {
        font-size: clamp(1.05rem, 7vw, 1.45rem);
        overflow-wrap: anywhere;
    }

    .total-calculator {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }

    .total-calculator strong {
        max-width: 100%;
        font-size: clamp(1.4rem, 8vw, 2rem);
        overflow-wrap: anywhere;
    }

    .vendor-day-header {
        align-items: stretch;
        flex-direction: column;
    }

    .vendor-day-actions {
        justify-content: space-between;
    }

    .btn-values-toggle {
        width: 100%;
    }

    .btn-values-toggle-compact {
        width: auto;
        flex: 1 1 140px;
    }

    .expenses-summary-grid {
        grid-template-columns: 1fr;
    }

    .expense-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .expense-item-right {
        width: 100%;
        justify-content: space-between;
    }
}

/* ============================================================
   ESTILIZAÃ‡ÃƒO DISCRETA DO CALENDÃRIO (NATIVO)
   ============================================================ */

input[type="date"] {
    cursor: pointer; /* Indica que Ã© clicÃ¡vel */
    color-scheme: dark; /* ForÃ§a o calendÃ¡rio popup a ser escuro */
    position: relative; /* Essencial para posicionar o Ã­cone */
    min-width: 180px; /* Garante um tamanho mÃ­nimo */
    
    /* Estilo Glassmorphism */
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff; /* Cor do texto digitado */
    font-family: var(--font-outfit);
    font-weight: 600;
    padding: 0.8rem 1.2rem;
    padding-right: 3.5rem; /* EspaÃ§o extra para o Ã­cone do calendÃ¡rio */
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);

    /* Usando !important para garantir que esses estilos prevaleÃ§am */
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    padding: 0.8rem 1.2rem !important; /* Preenchimento interno */
    padding-right: 3.5rem !important; /* Garante espaÃ§o para o Ã­cone */
    border-radius: 12px !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

input[type="date"]:hover {
    background: rgba(255, 255, 255, 0.07) !important; /* Fundo mais claro no hover */
    border-color: var(--theme-color) !important; /* Borda com a cor do tema */
    box-shadow: 0 0 15px var(--theme-glow); /* Brilho neon do tema */
}

/* EstilizaÃ§Ã£o DinÃ¢mica do Ãcone de CalendÃ¡rio */
input[type="date"]::-webkit-calendar-picker-indicator {
    -webkit-appearance: none; /* Remove estilo padrÃ£o do Chrome */
    appearance: none; /* Remove estilo padrÃ£o */
    
    position: absolute; /* Posiciona o Ã­cone */
    right: 0.8rem; /* Alinha Ã  direita, dentro do padding */
    top: 50%; /* Centraliza verticalmente */
    transform: translateY(-50%); /* Ajuste fino para centralizaÃ§Ã£o */
    width: 24px; /* Tamanho do Ã­cone */
    height: 24px; /* Tamanho do Ã­cone */
    cursor: pointer; /* Indica que Ã© clicÃ¡vel */
    
    background-color: var(--theme-color); /* Cor dinÃ¢mica do Ã­cone */
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='4' rx='2' ry='2'/%3E%3Cline x1='16' x2='16' y1='2' y2='6'/%3E%3Cline x1='8' x2='8' y1='2' y2='6'/%3E%3Cline x1='3' x2='21' y1='10' y2='10'/%3E%3C/svg%3E"); /* Ãcone SVG */
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='4' rx='2' ry='2'/%3E%3Cline x1='16' x2='16' y1='2' y2='6'/%3E%3Cline x1='8' x2='8' y1='2' y2='6'/%3E%3Cline x1='3' x2='21' y1='10' y2='10'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat; /* NÃ£o repetir o Ã­cone */
    mask-repeat: no-repeat;
    -webkit-mask-size: contain; /* Ajustar o Ã­cone ao espaÃ§o */
    mask-size: contain;
    
    opacity: 0.8; /* Opacidade padrÃ£o */
    transition: opacity 0.3s ease, background-color 0.3s ease; /* TransiÃ§Ã£o suave */
}

.home-filter-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0 1.5rem;
    padding: 0.8rem;
    background: rgba(13, 17, 26, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow-card);
}

.home-title {
    font-family: var(--font-outfit);
    font-size: 1.2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.2rem;
}

.home-title span {
    background: linear-gradient(135deg, #ffffff 20%, var(--theme-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 8px var(--theme-glow));
}

/* EstilizaÃ§Ã£o do Input de Data como BotÃ£o Premium */
input[type="date"]#home-filter-date {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 2px solid var(--theme-color) !important;
    box-shadow: 0 0 15px var(--theme-glow), inset 0 0 10px rgba(255, 255, 255, 0.05) !important;
    padding: 0.5rem 3.8rem 0.5rem 1.2rem !important;
    font-size: 0.95rem !important;
    text-align: center;
    width: auto;
    min-width: 180px;
}

input[type="date"]#home-filter-date:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    transform: scale(1.02);
    box-shadow: 0 0 25px var(--theme-glow) !important;
}

/* Remove as duplicatas do final do arquivo para evitar conflitos */

/* =====================================================
   CARRINHO DE COMPRAS - SISTEMA DE MÃšLTIPLOS PRODUTOS
   ===================================================== */

/* BotÃ£o Adicionar ao Carrinho */
.btn-add-cart {
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    border: 2px solid var(--theme-color);
    background: rgba(255, 255, 255, 0.04);
    color: var(--theme-color);
    font-family: var(--font-outfit);
    font-weight: 800;
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 0 18px var(--theme-glow);
}

.btn-add-cart:hover:not(:disabled) {
    background: var(--theme-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 28px var(--theme-glow);
}

.btn-add-cart:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    box-shadow: none;
    border-color: rgba(255,255,255,0.15);
    color: var(--text-muted);
}

.btn-add-cart i {
    width: 20px;
    height: 20px;
}

/* Painel do Carrinho */
.cart-panel {
    margin-top: 1.5rem;
    padding: 1.5rem;
    border-radius: 20px;
    animation: fade-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.cart-header h3 {
    font-family: var(--font-outfit);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.cart-header h3 i {
    width: 20px;
    height: 20px;
    color: var(--theme-color);
    filter: drop-shadow(0 0 6px var(--theme-glow));
}

/* BotÃ£o limpar carrinho */
.btn-clear-cart {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.45rem 0.9rem;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
}

.btn-clear-cart:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
    transform: scale(1.04);
}

.btn-clear-cart i {
    width: 14px;
    height: 14px;
}

/* Lista de itens */
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1rem;
    max-height: 320px;
    overflow-y: auto;
    padding-right: 4px;
}

.cart-items::-webkit-scrollbar {
    width: 4px;
}
.cart-items::-webkit-scrollbar-track { background: transparent; }
.cart-items::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.12);
    border-radius: 99px;
}

/* Item individual do carrinho */
.cart-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    transition: background 0.2s ease;
    animation: slide-in-up 0.25s ease forwards;
}

.cart-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.cart-item-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 8px;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
    flex-shrink: 0;
}

.cart-item-img-placeholder {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.cart-item-name {
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-qty {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.cart-item-subtotal {
    font-family: var(--font-outfit);
    font-weight: 800;
    font-size: 0.98rem;
    color: var(--theme-color);
    text-shadow: 0 0 10px var(--theme-glow);
    white-space: nowrap;
    flex-shrink: 0;
}

/* BotÃ£o remover item */
.btn-remove-cart {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
    padding: 0;
}

.btn-remove-cart:hover {
    background: rgba(239, 68, 68, 0.2);
    transform: scale(1.1);
}

.btn-remove-cart i {
    width: 14px;
    height: 14px;
}

/* Rodapé do carrinho */
.cart-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Destination Cards Grid */
.destination-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.dest-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.5rem 0.25rem;
    border-radius: 10px;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-inter);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    min-height: 52px;
}

.dest-card svg,
.dest-card i {
    width: 16px;
    height: 16px;
    opacity: 0.6;
    transition: all 0.2s ease;
}

.dest-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
    transform: translateY(-1px);
}

.dest-card:hover svg,
.dest-card:hover i {
    opacity: 1;
}

.dest-card.selected {
    background: rgba(16, 185, 129, 0.15);
    border-color: #10b981;
    color: #10b981;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.25);
}

.dest-card.selected svg,
.dest-card.selected i {
    opacity: 1;
    color: #10b981;
}

.dest-card[data-dest^="mesa-"].selected {
    background: rgba(251, 146, 60, 0.15);
    border-color: #fb923c;
    color: #fb923c;
    box-shadow: 0 0 12px rgba(251, 146, 60, 0.25);
}

.dest-card[data-dest^="mesa-"].selected svg,
.dest-card[data-dest^="mesa-"].selected i {
    color: #fb923c;
}

@media (max-width: 480px) {
    .destination-cards-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.35rem;
    }
    .dest-card {
        padding: 0.4rem 0.15rem;
        font-size: 0.65rem;
        min-height: 46px;
    }
    .dest-card svg,
    .dest-card i {
        width: 14px;
        height: 14px;
    }
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0.25rem;
}

.cart-total-row span {
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cart-total-row strong {
    font-family: var(--font-outfit);
    font-weight: 900;
    font-size: 1.5rem;
    color: #ffffff;
    text-shadow: 0 0 16px var(--theme-glow);
}

/* BotÃ£o Confirmar Pedido */
.btn-confirm-order {
    width: 100%;
    font-size: 1.1rem;
    padding: 1.1rem;
    letter-spacing: 1px;
}

/* AnimaÃ§Ã£o slide in */
@keyframes slide-in-up {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* MODAL PAGAMENTO */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: var(--panel-bg);
    width: 90%;
    max-width: 400px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(0,0,0,0.8);
    animation: fade-in 0.3s ease-out forwards;
}

.payment-methods-grid {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.payment-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-family: var(--font-outfit);
    font-size: 1.1rem;
    font-weight: 700;
    padding: 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.payment-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.payment-btn.selected {
    background: rgba(245, 158, 11, 0.15);
    border-color: var(--theme-color);
    box-shadow: 0 0 15px var(--theme-glow);
}

.pay-icon {
    font-size: 1.5rem;
}

/* Custom Select Dropdown */
.custom-select {
    position: relative;
    width: 100%;
    outline: none;
}

.custom-select-trigger {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--panel-border);
    padding: 0.8rem 1rem;
    border-radius: 12px;
    color: var(--text-color);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.custom-select:focus .custom-select-trigger,
.custom-select.open .custom-select-trigger {
    border-color: var(--theme-color);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.custom-select-display {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.custom-select-display img,
.custom-option img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 4px;
}

.custom-select-options {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: #1e212b;
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    z-index: 100;
    max-height: 250px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.custom-select.open .custom-select-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-option {
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.custom-option:last-child {
    border-bottom: none;
}

.custom-option:hover {
    background: rgba(255, 255, 255, 0.05);
}

.custom-option.selected {
    background: rgba(255, 255, 255, 0.1);
    color: var(--theme-color);
    font-weight: 600;
}

/* TELA DE LOGIN ESTILIZADA */
.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.login-modern {
    background: radial-gradient(circle at top, #1a1a2e 0%, #0d0d14 70%);
}

.login-container {
    width: 100%;
    max-width: 400px;
    animation: slideUpFade 0.5s ease;
}

.login-neon-panel {
    background: transparent;
    box-shadow: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-header-img-container {
    width: 100%;
    height: 320px;
    overflow: visible;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    margin-top: -50px;
    z-index: 2;
}

.login-capa-img-full {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 30px rgba(255, 50, 50, 0.4)) drop-shadow(0 0 30px rgba(50, 100, 255, 0.4));
    animation: floatImage 4s ease-in-out infinite;
}

@keyframes floatImage {
    0% { transform: translateY(0) scale(1.08); }
    50% { transform: translateY(-15px) scale(1.08); }
    100% { transform: translateY(0) scale(1.08); }
}

.login-content {
    width: 100%;
    padding: 30px 24px;
    text-align: center;
    background: rgba(15, 15, 20, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    position: relative;
    z-index: 1;
}

.login-neon-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: white;
    margin-bottom: 0.1rem;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.login-neon-subtitle {
    font-size: 0.8rem;
    color: #94a3b8;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 2rem;
}

.login-section-label {
    text-align: center;
    color: #cbd5e1;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.login-input-group {
    position: relative;
    margin-bottom: 1.2rem;
    background: rgba(25, 25, 35, 0.6);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.5);
}

.login-input-group:focus-within {
    border-color: rgba(255,255,255,0.3);
    box-shadow: 0 0 15px rgba(255, 50, 50, 0.2), inset 0 0 10px rgba(0,0,0,0.5);
}

.login-input-icon {
    color: #64748b;
    width: 24px;
    height: 24px;
    margin-right: 12px;
}

.login-input-icon-right {
    color: #64748b;
    width: 20px;
    height: 20px;
    margin-left: 12px;
}

.login-input-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.login-input-wrapper label {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-bottom: 0.2rem;
}

.login-input-wrapper input {
    width: 100%;
    background: transparent;
    border: none;
    color: white;
    font-size: 1rem;
    padding: 0;
    outline: none;
}

.btn-login-neon {
    width: 100%;
    margin-top: 1.5rem;
    padding: 1.2rem;
    border-radius: 30px;
    border: none;
    background: linear-gradient(90deg, #1e3a8a, #7f1d1d);
    color: white;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(127, 29, 29, 0.4);
    transition: all 0.3s ease;
}

.btn-login-neon:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(127, 29, 29, 0.6);
}

.login-footer-links {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.login-link-blue {
    color: #60a5fa;
    text-decoration: none;
}

.login-link-red {
    color: #f87171;
    text-decoration: none;
}

.login-footer-bottom {
    margin-top: 2rem;
    font-size: 0.8rem;
    color: #64748b;
}

/* TABLE CARD STYLES */
.table-card {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.table-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.7);
}

.table-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
}

.table-card.table-disponivel::before {
    background: #10b981;
}

.table-card.table-disponivel {
    border-left: 2px solid rgba(16, 185, 129, 0.2);
}

.table-card.table-ocupada::before {
    background: var(--garantido-red);
}

.table-card.table-ocupada {
    border-left: 2px solid rgba(244, 63, 150, 0.2);
    animation: pulse-table-border 2s infinite alternate;
}

@keyframes pulse-table-border {
    0% {
        box-shadow: 0 0 10px rgba(244, 63, 94, 0.1), 0 12px 24px -10px rgba(0, 0, 0, 0.7);
        border-color: rgba(244, 63, 94, 0.2);
    }
    100% {
        box-shadow: 0 0 20px rgba(244, 63, 94, 0.4), 0 12px 24px -10px rgba(0, 0, 0, 0.7);
        border-color: rgba(244, 63, 94, 0.6);
    }
}

.table-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.table-title {
    font-family: var(--font-outfit);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.table-status-badge {
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.table-disponivel .table-status-badge {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.table-ocupada .table-status-badge {
    background: rgba(244, 63, 94, 0.15);
    color: var(--garantido-red);
    border: 1px solid rgba(244, 63, 94, 0.25);
}

.table-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.table-info-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.table-info-value {
    font-family: var(--font-outfit);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
}

/* Tables Grid - 2 columns layout */
.tables-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
}

@media (min-width: 768px) {
    .tables-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1rem !important;
    }
}

@media (max-width: 480px) {
    .tables-grid {
        gap: 0.5rem !important;
    }
    .tables-grid .table-card {
        padding: 0.85rem;
        gap: 0.4rem;
    }
    .tables-grid .table-title {
        font-size: 1rem;
    }
    .tables-grid .table-info-value {
        font-size: 1.15rem;
    }
    .tables-grid .table-info-label {
        font-size: 0.7rem;
    }
    .tables-grid .table-status-badge {
        font-size: 0.6rem;
        padding: 0.15rem 0.45rem;
    }
}

/* Cash change input focus */
#cash-received-input:focus {
    border-color: #10b981;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
}

/* Product Selection Cards Grid */
.product-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.product-sell-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem 0.75rem;
    border-radius: 16px;
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(145deg, rgba(35, 35, 35, 0.7), rgba(15, 15, 15, 0.9));
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    overflow: hidden;
}

.product-sell-card:hover {
    background: linear-gradient(145deg, rgba(45, 45, 45, 0.8), rgba(20, 20, 20, 0.95));
    border-color: rgba(255, 255, 255, 0.15);
}

.product-sell-card:active {
    transform: scale(0.92) translateY(2px) !important;
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.4), rgba(16, 185, 129, 0.2)) !important;
    border-color: #10b981 !important;
    box-shadow: inset 0 4px 10px rgba(0,0,0,0.5), 0 0 15px rgba(16, 185, 129, 0.4) !important;
    transition: all 0.05s ease-out !important;
}

.product-sell-card.selected {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.4) !important;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4), inset 0 0 10px rgba(16, 185, 129, 0.2);
    transform: scale(1.02);
}

.product-sell-card.selected .product-sell-price {
    color: #fff !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.product-sell-card.selected::after {
    content: attr(data-qty);
    position: absolute;
    top: 10px;
    right: 10px;
    background: #10b981;
    color: white;
    min-width: 28px;
    height: 28px;
    padding: 0 6px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
    z-index: 2;
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

.product-sell-img {
    height: 95px;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.6));
    transition: transform 0.3s ease;
}

.product-sell-card.selected .product-sell-img {
    transform: scale(1.1) translateY(-2px);
    filter: drop-shadow(0 8px 16px rgba(16, 185, 129, 0.5));
}

.product-sell-info {
    display: flex;
    flex-direction: column;
    width: 100%;
    z-index: 1;
}

.product-sell-name {
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: #ffffff;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-sell-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 0.25rem;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.product-sell-stock {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 600;
}

.product-sell-price {
    font-size: 1.05rem;
    font-weight: 900;
    color: #10b981;
    font-family: var(--font-outfit);
    white-space: nowrap;
}

@media (min-width: 768px) {
    .product-cards-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
}

/* ==========================================================================
   CATEGORY PILLS (SEPARAÇÃO DE PRODUTOS)
   ========================================================================== */
.category-pills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.cat-pill {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted, #94a3b8);
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.cat-pill i {
    width: 16px;
    height: 16px;
}

.cat-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateY(-1px);
}

.cat-pill.active {
    background: linear-gradient(135deg, rgba(239, 68, 68, 1), rgba(59, 130, 246, 1));
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 18px rgba(239, 68, 68, 0.4), 0 4px 18px rgba(59, 130, 246, 0.4);
    font-weight: 800;
}

/* TEMA GARANTIDO (VERMELHO) */
body.theme-garantido .cat-pill.active {
    background: rgba(239, 68, 68, 1) !important;
    color: #ffffff !important;
    border-color: rgba(239, 68, 68, 0.8) !important;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.6) !important;
}

body.theme-garantido .cat-pill:hover:not(.active) {
    border-color: rgba(239, 68, 68, 0.5);
    background: rgba(239, 68, 68, 0.15);
    color: #ffffff;
}

/* TEMA CAPRICHOSO (AZUL) */
body.theme-caprichoso .cat-pill.active {
    background: rgba(59, 130, 246, 1) !important;
    color: #ffffff !important;
    border-color: rgba(59, 130, 246, 0.8) !important;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.6) !important;
}

body.theme-caprichoso .cat-pill:hover:not(.active) {
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(59, 130, 246, 0.15);
    color: #ffffff;
}

/* TEMA ARENA (GRADIENTE VERMELHO / AZUL) */
body.theme-arena .cat-pill.active {
    background: linear-gradient(135deg, rgba(239, 68, 68, 1), rgba(59, 130, 246, 1)) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.4), 0 4px 20px rgba(59, 130, 246, 0.4) !important;
}

body.theme-arena .cat-pill:hover:not(.active) {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}



