/* ════════════════════════════════════════════════════
   QUINTAL GASTROBAR - TEMA GALÁXIA
   CSS ÚNICO - Substitui TODOS os temas anteriores
   ════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ════════════════════════════════════
   VARIÁVEIS
   ════════════════════════════════════ */
:root {
    --bg-dark: #0a0818;
    --bg-card: rgba(18, 16, 40, 0.75);
    --bg-card-hover: rgba(28, 24, 58, 0.85);
    --bg-input: rgba(14, 12, 32, 0.85);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.12);
    --text-primary: #FFFFFF;
    --text-secondary: #b0b0c8;
    --text-muted: #707090;
    --primary: #E85D04;
    --primary-dark: #D35400;
    --primary-light: #FF8C42;
    --success: #27AE60;
    --danger: #E74C3C;
    --warning: #F39C12;
    --info: #3498DB;
    --font-body: 'Poppins', 'DM Sans', sans-serif;
    --sidebar-width: 200px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.4);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.5);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.6);
    --shadow-glow: 0 0 20px rgba(232,93,4,0.3);
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
}

/* ════════════════════════════════════
   FUNDO GALÁXIA
   ════════════════════════════════════ */
html, body {
    background: #0a0818 !important;
    font-family: var(--font-body) !important;
    color: var(--text-primary);
    margin: 0; padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 600px 300px at 70% 75%, rgba(180,60,140,.30) 0%, transparent 70%),
        radial-gradient(ellipse 500px 250px at 55% 80%, rgba(120,40,160,.25) 0%, transparent 70%),
        radial-gradient(ellipse 400px 200px at 85% 70%, rgba(200,80,160,.15) 0%, transparent 70%),
        radial-gradient(ellipse 300px 300px at 30% 60%, rgba(60,30,120,.25) 0%, transparent 70%),
        radial-gradient(ellipse 800px 400px at 50% 90%, rgba(100,30,80,.20) 0%, transparent 70%),
        radial-gradient(ellipse 1200px 600px at 60% 100%, rgba(80,20,60,.25) 0%, transparent 60%);
}

#galaxyStarsCanvas { position: fixed !important; inset: 0; z-index: 0 !important; pointer-events: none !important; }
.app-container { position: relative; z-index: 1; }
.main-content { position: relative; z-index: 1; background: transparent !important; }
.main-content::before { display: none !important; }

/* ── Cardápio Público (.layout) ── */
.layout .sidebar { width: 80px !important; min-width: 80px !important; }
.layout .main { position: relative; z-index: 1; background: transparent !important; margin-left: 80px !important; flex: 1; min-height: 100vh; display: flex; flex-direction: column; }

/* ════════════════════════════════════
   SIDEBAR
   ════════════════════════════════════ */
.sidebar {
    width: var(--sidebar-width) !important;
    min-width: var(--sidebar-width) !important;
    height: 100vh;
    position: fixed;
    left: 0; top: 0;
    background: rgba(12, 10, 28, 0.92) !important;
    border-right: 1px solid rgba(255,255,255,.06) !important;
    display: flex;
    flex-direction: column;
    z-index: 100;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.main-content { margin-left: var(--sidebar-width) !important; flex: 1; min-height: 100vh; display: flex; flex-direction: column; }

.brand { background: transparent !important; position: relative; padding-bottom: 1px; }
.brand::after { content: ""; position: absolute; bottom: 0; left: 5%; width: 90%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.1), transparent); }
.brand-icon { display: flex !important; align-items: center !important; justify-content: center !important; overflow: hidden !important; height: auto !important; max-height: 120px !important; }
.brand-logo { 
  width: 150% !important; 
  height: auto !important; 
  max-width: none !important; 
  object-fit: contain !important; 
  transform: scale(1) !important; 
  display: block !important; 
  margin-top: 20px !important; 
}
.brand-text { display: none; }

/* NAV MENU */
.nav-menu { flex: 1; padding: 6px 8px; overflow-y: auto; }

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    margin-bottom: 1px;
    border-radius: 10px;
    color: rgba(255,255,255,.5);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: .82rem;
    transition: all .2s ease;
    text-decoration: none;
    position: relative;
}

.nav-item::before { display: none !important; }

.nav-item:hover {
    background: rgba(255,255,255,.05);
    color: rgba(255,255,255,.85);
}

.nav-item.active {
    background: linear-gradient(135deg, rgba(70,100,240,.28), rgba(90,60,220,.18));
    color: #fff;
    font-weight: 600;
}

.nav-item.active::before {
    display: block !important;
    content: '';
    position: absolute;
    left: 0; top: 20%;
    height: 60%; width: 3px;
    background: #6b7cff;
    border-radius: 0 3px 3px 0;
    transform: none;
}

.nav-icon { width: 18px; min-width: 18px; font-size: .85rem; text-align: center; color: rgba(255,255,255,.4); }
.nav-icon i { font-size: .85rem; color: inherit; opacity: .55; }
.nav-item.active .nav-icon, .nav-item.active .nav-icon i { color: #fff; opacity: 1; }
.nav-item:hover .nav-icon, .nav-item:hover .nav-icon i { color: rgba(255,255,255,.7); }
.nav-text { font-family: var(--font-body); }

/* SIDEBAR FOOTER */
.sidebar-footer { border-top: 1px solid rgba(255,255,255,.06); background: transparent; padding: 12px 16px; text-align: center; }
.clock { color: rgba(255,255,255,.6) !important; font-family: var(--font-body) !important; font-weight: 600 !important; font-size: 1.4rem !important; letter-spacing: 1px; }
.date { font-size: .8rem; color: var(--text-muted); }

/* ════════════════════════════════════
   TOP BAR
   ════════════════════════════════════ */
.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: #0c0c1c !important;
    border-bottom: 1px solid rgba(255,255,255,.04);
    position: sticky;
    top: 0;
    z-index: 50;
}

.page-title h1 { font-family: var(--font-body); font-size: 1.1rem; font-weight: 700; color: #fff; margin: 0; display: flex; align-items: center; gap: 10px; }
.page-title h1 i { font-size: .85rem; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; background: rgba(232,93,4,.15); color: var(--primary); border-radius: 10px; }
.page-title p { font-size: .72rem; color: var(--text-muted); margin: 2px 0 0 42px; }
.top-actions, .top-bar-actions { display: flex; align-items: center; gap: 14px; }

/* USER INFO */
.user-info { display: flex; align-items: center; gap: 12px; padding: 6px 16px 6px 6px; background: rgba(18,16,40,.75); border-radius: 50px; border: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(12px); }
.user-info-avatar-ring { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; background: linear-gradient(135deg, #f97316, #ec4899, #8b5cf6); padding: 2.5px; }
.user-info-avatar { width: 100%; height: 100%; border-radius: 50%; background: rgba(18,16,40,.9); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: .9rem; font-weight: 700; }
.user-info-details { display: flex; flex-direction: column; gap: 2px; }
.user-info-name { font-weight: 700; color: #fff; font-size: .85rem; }
.user-info-type { font-size: .55rem; padding: 2px 8px; background: linear-gradient(135deg, #f97316, #8b5cf6); color: white; border-radius: 6px; font-weight: 700; letter-spacing: .8px; width: fit-content; }
.btn-logout { width: 42px !important; height: 42px !important; min-width: 42px; padding: 0 !important; border-radius: 50% !important; font-size: 1.05rem; background: rgba(255,255,255,.04) !important; border: 1px solid rgba(255,255,255,.08) !important; color: var(--text-muted) !important; display: flex !important; align-items: center !important; justify-content: center !important; cursor: pointer; }
.btn-logout:hover { border-color: #ef4444 !important; color: #ef4444 !important; background: rgba(239,68,68,.08) !important; }
.btn-logout-text { display: none !important; }
.status-indicator { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: rgba(255,255,255,.05); border-radius: 50px; font-size: .82rem; color: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.08); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-muted); }
.status-indicator.online .status-dot { background: var(--success); box-shadow: 0 0 10px var(--success); }

/* ════════════════════════════════════
   TIPOGRAFIA
   ════════════════════════════════════ */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-body); color: #fff; font-weight: 700; }
p { color: var(--text-secondary); }
a { text-decoration: none; color: inherit; }

/* ════════════════════════════════════
   STAT CARDS
   ════════════════════════════════════ */
.stat-card { border: none !important; border-radius: 18px; position: relative; overflow: hidden; }
.stat-card.color-orange { background: linear-gradient(150deg, #d4562e, #e87940 40%, #f09848 70%, #e06830) !important; box-shadow: 0 6px 28px rgba(212,86,46,.3); }
.stat-card.color-blue { background: linear-gradient(150deg, #1a7a80, #1e9890 40%, #28b0a0 70%, #1a8878) !important; box-shadow: 0 6px 28px rgba(26,122,128,.3); }
.stat-card.color-green { background: linear-gradient(150deg, #0e88a8, #18a8c8 40%, #20c0d8 70%, #1098b8) !important; box-shadow: 0 6px 28px rgba(14,136,168,.3); }
.stat-card.color-purple { background: linear-gradient(150deg, #a050e0, #c070f0 35%, #d898ff 65%, #e0a8ff) !important; box-shadow: 0 6px 28px rgba(160,80,224,.3); }
.stat-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 50%; background: linear-gradient(180deg, rgba(255,255,255,.1), transparent); pointer-events: none; border-radius: 18px 18px 0 0; z-index: 0; }
.stat-card > * { position: relative; z-index: 1; }
.stat-card:hover { transform: translateY(-4px); }
.stat-card-value { font-family: var(--font-body) !important; font-weight: 700; color: #fff !important; font-size: 1.8rem; letter-spacing: 0; }
.stat-card-label { font-family: var(--font-body); font-weight: 500; color: rgba(255,255,255,.85) !important; }
.stat-card-icon { background: none !important; }
.stat-card-icon i { }
.stat-card-trend { font-family: var(--font-body); color: rgba(255,255,255,.55) !important; }
.stat-card-footer { border-top: 1px solid rgba(255,255,255,.1); background: transparent !important; }
.stat-bg-circle { position: absolute; border-radius: 50%; background: rgba(255,255,255,.08); }

/* ════════════════════════════════════
   QUICK ACTIONS
   ════════════════════════════════════ */
.quick-action { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: 14px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: all .25s ease; cursor: pointer; }
.quick-action:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); box-shadow: 0 8px 28px rgba(0,0,0,.25); transform: translateY(-3px); }
.quick-action-text { font-family: var(--font-body); font-weight: 600; }
.section-title { font-family: var(--font-body); }
.dashboard-greeting h2 { font-family: var(--font-body); font-weight: 700; }

/* ════════════════════════════════════
   CARDS GENÉRICOS / GLASSMORPHISM
   ════════════════════════════════════ */
.card, .config-section, .section-card, .chart-card, .form-panel, .list-panel,
.table-container, .caixa-stat-card, .date-filter-container {
    background: var(--bg-card); border: 1px solid var(--border-color);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
}
.comanda-card, .product-card, .item-card {
    background: var(--bg-card); border: 1px solid var(--border-color);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.comanda-card:hover, .product-card:hover, .item-card:hover {
    border-color: var(--border-light); box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.form-panel-header, .list-panel-header { background: rgba(14,12,32,.6); border-bottom: 1px solid rgba(255,255,255,.06); }

/* ════════════════════════════════════
   INPUTS / FORMS
   ════════════════════════════════════ */
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea {
    background: var(--bg-input) !important; border: 1px solid var(--border-color) !important;
    color: #fff !important; font-family: var(--font-body); border-radius: var(--radius-md);
    padding: var(--spacing-md); transition: all .2s ease;
}
input:not([type="checkbox"]):not([type="radio"]):focus, select:focus, textarea:focus {
    border-color: rgba(130,140,255,.5) !important; box-shadow: 0 0 0 3px rgba(130,140,255,.15) !important; outline: none;
}
input::placeholder, textarea::placeholder { color: rgba(255,255,255,.3) !important; }

/* ════════════════════════════════════
   BUTTONS
   ════════════════════════════════════ */
.btn { font-family: var(--font-body); font-weight: 600; border-radius: var(--radius-md); cursor: pointer; transition: all .2s ease; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: none; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; box-shadow: 0 4px 16px rgba(232,93,4,.3); }
.btn-primary:hover { box-shadow: 0 6px 24px rgba(232,93,4,.45); }
.btn-secondary { background: rgba(255,255,255,.06) !important; border: 1px solid rgba(255,255,255,.1) !important; color: rgba(255,255,255,.8) !important; }
.btn-secondary:hover { background: rgba(255,255,255,.1) !important; border-color: rgba(255,255,255,.18) !important; }
.btn-success { background: linear-gradient(135deg, var(--success), #1E8449); color: white; box-shadow: 0 4px 16px rgba(39,174,96,.3); }
.btn-success:hover { box-shadow: 0 6px 24px rgba(39,174,96,.45); }
.btn-danger { background: linear-gradient(135deg, var(--danger), #C0392B); color: white; }
.btn-warning { background: linear-gradient(135deg, var(--warning), #D68910); color: white; }

/* ════════════════════════════════════
   MODAIS
   ════════════════════════════════════ */
.modal { background: rgba(18,16,40,.95) !important; border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); box-shadow: 0 24px 64px rgba(0,0,0,.5); border-radius: var(--radius-xl); }
.modal-overlay { background: rgba(5,3,15,.7) !important; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal-header { border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(20,18,45,.5); }
.modal-footer { border-top: 1px solid rgba(255,255,255,.08); background: rgba(20,18,45,.5); }

/* ════════════════════════════════════
   TABELAS
   ════════════════════════════════════ */
th { background: rgba(14,12,32,.8); color: rgba(255,255,255,.6); font-family: var(--font-body); border-bottom: 1px solid rgba(255,255,255,.08); }
td { border-bottom: 1px solid rgba(255,255,255,.05); font-family: var(--font-body); }
tr:hover td { background: rgba(255,255,255,.03); }

/* ════════════════════════════════════
   TABS / FILTROS
   ════════════════════════════════════ */
.report-tab, .financeiro-tab, .date-shortcut, .config-tab, .filter-btn {
    background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.6); font-family: var(--font-body); border-radius: 10px;
}
.report-tab.active, .financeiro-tab.active, .date-shortcut.active, .config-tab.active, .filter-btn.active {
    background: var(--primary); border-color: var(--primary); color: #fff;
}

/* ════════════════════════════════════
   TOASTS / LOADING
   ════════════════════════════════════ */
.toast { background: rgba(18,16,40,.95); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); font-family: var(--font-body); }
.loading-overlay { background: #0a0818 !important; }

/* ════════════════════════════════════
   SCROLLBAR
   ════════════════════════════════════ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.2); }

/* ════════════════════════════════════════════════════
   PDV
   ════════════════════════════════════════════════════ */
.products-panel { background: rgba(18,16,40,.65); border: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: var(--radius-xl); overflow: hidden; }
.products-header { border-bottom: 1px solid rgba(255,255,255,.06); }
.categories-bar { background: rgba(14,12,32,.5); border-bottom: 1px solid rgba(255,255,255,.06); }
.category-btn { color: rgba(255,255,255,.55); font-family: var(--font-body); font-size: .82rem; background: transparent; border: none; cursor: pointer; }
.category-btn:hover { background: rgba(255,255,255,.06); color: rgba(255,255,255,.9); }
.category-btn.active { background: var(--primary); color: #fff; border-radius: 20px; }
.search-box input { font-family: var(--font-body); }

.products-grid .product-card { background: rgba(16,14,36,.7); border: 1px solid rgba(255,255,255,.07); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.products-grid .product-card:hover { border-color: rgba(232,93,4,.5); background: rgba(20,18,44,.85); box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.product-name, .product-card-name { font-family: var(--font-body); color: rgba(255,255,255,.9); }
.product-price, .product-card-price { font-family: var(--font-body); }
.product-img { background: rgba(255,255,255,.04); }

.order-panel { background: rgba(18,16,40,.85); border: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-radius: var(--radius-xl); overflow: hidden; }
.order-header { border-bottom: 1px solid rgba(255,255,255,.06); }
.order-header h3 { font-family: var(--font-body); color: #fff; font-size: .95rem; }

.tipo-pedido-btn { background: rgba(14,12,32,.7); border: 2px solid rgba(255,255,255,.1); color: rgba(255,255,255,.6); font-family: var(--font-body); cursor: pointer; }
.tipo-pedido-btn:hover { border-color: var(--primary); }
.tipo-pedido-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.mesa-section label, .delivery-section label { color: rgba(255,255,255,.6); font-family: var(--font-body); }
.order-item { background: rgba(20,18,44,.6); border: 1px solid rgba(255,255,255,.06); border-radius: 10px; font-family: var(--font-body); }
.order-item:hover { background: rgba(25,22,52,.8); }
.qty-btn { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #fff; cursor: pointer; }
.qty-btn:hover { background: var(--primary); border-color: var(--primary); }

.order-footer { background: rgba(12,10,28,.85) !important; border-top: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.order-row { font-family: var(--font-body); }
.order-row.subtotal { color: rgba(255,255,255,.55); }
.order-row.total { color: #fff; border-top: 1px solid rgba(255,255,255,.08); }
.order-row.total span:last-child { color: var(--primary); }

.btn-finalize { background: linear-gradient(135deg, #27AE60, #1E8449) !important; color: #fff !important; font-family: var(--font-body); font-weight: 700; border: none !important; border-radius: 12px !important; box-shadow: 0 4px 16px rgba(39,174,96,.3); }
.btn-finalize:hover { background: linear-gradient(135deg, #2ECC71, #27AE60) !important; box-shadow: 0 6px 24px rgba(39,174,96,.45); }

.order-empty { color: rgba(255,255,255,.3); }
.suggestions-list { background: rgba(18,16,40,.95); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(16px); }
.suggestion-item:hover { background: rgba(255,255,255,.05); }

/* PDV Layout */
.pdv-container { height: calc(100vh - 100px) !important; }
.order-panel { height: calc(100vh - 100px) !important; max-height: calc(100vh - 100px) !important; display: flex !important; flex-direction: column !important; }
.products-panel { max-height: calc(100vh - 100px) !important; }
.order-items { flex: 1 !important; overflow-y: auto !important; min-height: 0 !important; }
.order-footer { flex-shrink: 0 !important; margin-bottom: 0 !important; }

/* ════════════════════════════════════
   ANIMAÇÕES
   ════════════════════════════════════ */
@keyframes galaxyFadeInUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
.stat-card { animation: galaxyFadeInUp .5s ease-out backwards; }
.stat-card:nth-child(1) { animation-delay: .1s; } .stat-card:nth-child(2) { animation-delay: .18s; }
.stat-card:nth-child(3) { animation-delay: .26s; } .stat-card:nth-child(4) { animation-delay: .34s; }
.quick-action { animation: galaxyFadeInUp .5s ease-out backwards; }
.quick-action:nth-child(1) { animation-delay: .3s; } .quick-action:nth-child(2) { animation-delay: .36s; }
.quick-action:nth-child(3) { animation-delay: .42s; } .quick-action:nth-child(4) { animation-delay: .48s; }

/* ════════════════════════════════════
   MOBILE
   ════════════════════════════════════ */
@media (max-width: 768px) {
    body::before {
        background: radial-gradient(ellipse 400px 200px at 60% 80%, rgba(140,50,120,.22) 0%, transparent 70%),
            radial-gradient(ellipse 300px 200px at 40% 60%, rgba(60,30,100,.18) 0%, transparent 70%),
            radial-gradient(ellipse 500px 300px at 50% 90%, rgba(80,20,60,.18) 0%, transparent 60%) !important;
    }
    .sidebar { display: none !important; position: absolute !important; left: -9999px !important; width: 0 !important; height: 0 !important; pointer-events: none !important; visibility: hidden !important; }
    .layout .sidebar { display: none !important; width: 0 !important; min-width: 0 !important; }
    .main-content { margin-left: 0 !important; width: 100% !important; }
    .layout .main { margin-left: 0 !important; width: 100% !important; }
    .app-container { display: block !important; }
    .pdv-container { height: auto !important; }
    .products-panel, .order-panel { max-height: none !important; height: auto !important; overflow: visible !important; }
}

/* ════════════════════════════════════════════════════


/* ════════════════════════════════════════════════════════════════
   ██  GALAXY LIGHT THEME — Premium Clean White Design
   ██  Fundo branco limpo, cards brancos com sombra suave,
   ██  zero elementos escuros, visual profissional e elegante
   ════════════════════════════════════════════════════════════════ */

/* ── VARIÁVEIS DO TEMA CLARO ── */
html.galaxy-light {
    --bg-dark:        #F0F4F8 !important;
    --bg-card:        #FFFFFF !important;
    --bg-card-hover:  #F7F9FC !important;
    --bg-input:       #F4F6FA !important;
    --border-color:   #E4E9F0 !important;
    --border-light:   #EEF2F7 !important;
    --text-primary:   #1A2035 !important;
    --text-secondary: #4A5568 !important;
    --text-muted:     #8A95A8 !important;
    --shadow-sm:      0 1px 4px rgba(0,0,0,.06) !important;
    --shadow-md:      0 4px 16px rgba(0,0,0,.07) !important;
    --shadow-lg:      0 8px 32px rgba(0,0,0,.08) !important;
    --shadow-glow:    0 0 20px rgba(232,93,4,.15) !important;
    --secondary:      #FFFFFF !important;
    --secondary-light: #F7F9FC !important;
    /* Cardápio Digital custom vars */
    --cd-bg:     #F0F4F8 !important;
    --cd-card:   #FFFFFF !important;
    --cd-card2:  #F4F6FA !important;
    --cd-border: #E4E9F0 !important;
    --cd-text:   #1A2035 !important;
    --cd-text2:  #4A5568 !important;
    --cd-text3:  #8A95A8 !important;
}

/* ── FUNDO BRANCO LIMPO ── */
html.galaxy-light,
html.galaxy-light body {
    background: #F0F4F8 !important;
    background-attachment: fixed !important;
    color: #1A2035 !important;
}

/* ── VARIÁVEIS LIGHT ── override das variáveis do main.css */
html.galaxy-light {
    --bg-dark: #F0F4F8;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F7F9FC;
    --bg-input: #F4F6FA;
    --text-primary: #1A2035;
    --text-secondary: #4A5568;
    --text-muted: #8A95A8;
    --border-color: #E4E9F0;
    --border-light: #D1D9E6;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.1);
    --secondary: #F7F9FC;
    --secondary-light: #EDF0F7;
}

html.galaxy-light body::before {
    background:
        radial-gradient(ellipse 800px 500px at 100% 0%, rgba(232,93,4,.04) 0%, transparent 60%),
        radial-gradient(ellipse 600px 400px at 0% 100%, rgba(91,95,199,.03) 0%, transparent 60%) !important;
}

/* Canvas visível em ambos os temas (efeitos controlados por galaxy-stars.js) */

/* ── SIDEBAR ── */
html.galaxy-light .sidebar {
    background: #FFFFFF !important;
    background-image: none !important;
    border-right: 1px solid #E4E9F0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 2px 0 12px rgba(0,0,0,.05) !important;
}
html.galaxy-light .brand { background: #FFFFFF !important; }
html.galaxy-light .brand::after { background: linear-gradient(90deg, transparent, #E4E9F0, transparent) !important; }
html.galaxy-light .nav-item { color: #6B7280 !important; }
html.galaxy-light .nav-item:hover { background: #F4F6FA !important; color: #1A2035 !important; }
html.galaxy-light .nav-item.active {
    background: linear-gradient(135deg, rgba(232,93,4,.10), rgba(232,93,4,.06)) !important;
    color: var(--primary) !important; font-weight: 600 !important;
    box-shadow: none !important;
}
html.galaxy-light .nav-item.active::before { background: var(--primary) !important; }
html.galaxy-light .nav-icon, html.galaxy-light .nav-icon i { color: #9CA3AF !important; opacity: 1 !important; }
html.galaxy-light .nav-item.active .nav-icon, html.galaxy-light .nav-item.active .nav-icon i { color: var(--primary) !important; opacity: 1 !important; }
html.galaxy-light .nav-item:hover .nav-icon i { color: #4B5563 !important; opacity: 1 !important; }
html.galaxy-light .clock { color: #374151 !important; }
html.galaxy-light .date { color: #9CA3AF !important; }
html.galaxy-light .sidebar-footer { border-top: 1px solid #E4E9F0 !important; background: #FAFBFC !important; }

/* ── TOP BAR ── */
html.galaxy-light .top-bar {
    background: #FFFFFF !important;
    border-bottom: 1px solid #E4E9F0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 1px 8px rgba(0,0,0,.05) !important;
}
html.galaxy-light .page-title h1 { color: #1A2035 !important; }
html.galaxy-light .page-title h1 i { background: rgba(232,93,4,.08) !important; color: var(--primary) !important; }
html.galaxy-light .page-title p { color: #8A95A8 !important; }

/* ── TIPOGRAFIA ── */
html.galaxy-light h1, html.galaxy-light h2, html.galaxy-light h3,
html.galaxy-light h4, html.galaxy-light h5, html.galaxy-light h6 { color: #1A2035 !important; }
html.galaxy-light p { color: #4A5568 !important; }
html.galaxy-light label { color: #374151 !important; }
html.galaxy-light .text-muted { color: #8A95A8 !important; }
html.galaxy-light .section-title { color: #4A5568 !important; }
html.galaxy-light strong, html.galaxy-light b { color: #1A2035 !important; }
html.galaxy-light span { color: inherit !important; }

/* ── MAIN CONTENT ── */
html.galaxy-light .main-content { background: rgba(240,244,248,0.85) !important; }
html.galaxy-light .layout .main { background: rgba(240,244,248,0.85) !important; }

/* ── CARDS — Brancos sólidos com sombra suave ── */
html.galaxy-light .card,
html.galaxy-light .config-section,
html.galaxy-light .section-card,
html.galaxy-light .chart-card,
html.galaxy-light .form-panel,
html.galaxy-light .list-panel,
html.galaxy-light .table-container,
html.galaxy-light .date-filter-container,
html.galaxy-light .config-card,
html.galaxy-light .report-card,
html.galaxy-light .garcom-card,
html.galaxy-light .comanda-card,
html.galaxy-light .item-card,
html.galaxy-light .cliente-stat,
html.galaxy-light .cd-stat,
html.galaxy-light .caixa-stat-card,
html.galaxy-light .stat-card-fin,
html.galaxy-light .relatorio-stat,
html.galaxy-light .cat-item {
    background: #FFFFFF !important;
    border: 1px solid #E4E9F0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.06) !important;
    color: #1A2035 !important;
}
html.galaxy-light .card:hover,
html.galaxy-light .comanda-card:hover,
html.galaxy-light .item-card:hover,
html.galaxy-light .garcom-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,.09) !important;
    transform: translateY(-2px);
    border-color: #D1D9E6 !important;
}
html.galaxy-light .form-panel-header,
html.galaxy-light .list-panel-header {
    background: #F7F9FC !important;
    border-bottom: 1px solid #E4E9F0 !important;
    color: #374151 !important;
}

/* ── STAT CARDS — Mantém gradientes vibrantes onde existem ── */
html.galaxy-light .stat-card {
    box-shadow: 0 4px 20px rgba(0,0,0,.08) !important;
    border: none !important;
}
/* Stat cards COM gradiente: texto branco */
html.galaxy-light .stat-card.color-orange,
html.galaxy-light .stat-card.color-blue,
html.galaxy-light .stat-card.color-green,
html.galaxy-light .stat-card.color-purple {
    border: none !important;
}
html.galaxy-light .stat-card.color-orange .stat-card-value,
html.galaxy-light .stat-card.color-blue .stat-card-value,
html.galaxy-light .stat-card.color-green .stat-card-value,
html.galaxy-light .stat-card.color-purple .stat-card-value { color: #fff !important; }
html.galaxy-light .stat-card.color-orange .stat-card-label,
html.galaxy-light .stat-card.color-blue .stat-card-label,
html.galaxy-light .stat-card.color-green .stat-card-label,
html.galaxy-light .stat-card.color-purple .stat-card-label { color: rgba(255,255,255,.88) !important; }
html.galaxy-light .stat-card.color-orange .stat-card-icon,
html.galaxy-light .stat-card.color-blue .stat-card-icon,
html.galaxy-light .stat-card.color-green .stat-card-icon,
html.galaxy-light .stat-card.color-purple .stat-card-icon { background: rgba(255,255,255,.22) !important; color: #fff !important; }

/* Stat cards SEM classe de cor (garçons, relatórios, etc): fundo branco, texto escuro */
html.galaxy-light .stat-card:not(.color-orange):not(.color-blue):not(.color-green):not(.color-purple) {
    background: #FFFFFF !important;
    border: 1px solid #E4E9F0 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,.06) !important;
}
html.galaxy-light .stat-card:not(.color-orange):not(.color-blue):not(.color-green):not(.color-purple) .stat-card-value,
html.galaxy-light .stat-card:not(.color-orange):not(.color-blue):not(.color-green):not(.color-purple) .stat-card-sub { color: #1A2035 !important; }
html.galaxy-light .stat-card:not(.color-orange):not(.color-blue):not(.color-green):not(.color-purple) .stat-card-label { color: #4A5568 !important; }
html.galaxy-light .stat-card:not(.color-orange):not(.color-blue):not(.color-green):not(.color-purple) .stat-card-icon { background: rgba(232,93,4,.08) !important; color: var(--primary) !important; }

/* Stat cards de RELATÓRIOS (.destaque, .info, .purple, .success) — fundo branco + borda colorida no topo */
html.galaxy-light .stat-card.destaque,
html.galaxy-light .stat-card.info,
html.galaxy-light .stat-card.purple,
html.galaxy-light .stat-card.success {
    background: #FFFFFF !important;
    border: 1px solid #E4E9F0 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,.06) !important;
}
html.galaxy-light .stat-card.destaque .stat-card-value { color: var(--primary) !important; }
html.galaxy-light .stat-card.info .stat-card-value { color: #3B82F6 !important; }
html.galaxy-light .stat-card.purple .stat-card-value { color: #8B5CF6 !important; }
html.galaxy-light .stat-card.success .stat-card-value { color: #10B981 !important; }
html.galaxy-light .stat-card.destaque .stat-card-label,
html.galaxy-light .stat-card.info .stat-card-label,
html.galaxy-light .stat-card.purple .stat-card-label,
html.galaxy-light .stat-card.success .stat-card-label { color: #4A5568 !important; }
html.galaxy-light .stat-card.destaque .stat-card-icon i { color: var(--primary) !important; }
html.galaxy-light .stat-card.info .stat-card-icon i { color: #3B82F6 !important; }
html.galaxy-light .stat-card.purple .stat-card-icon i { color: #8B5CF6 !important; }
html.galaxy-light .stat-card.success .stat-card-icon i { color: #10B981 !important; }
html.galaxy-light .stat-card-trend { color: #6B7280 !important; }
html.galaxy-light .stat-card-footer { border-top-color: #E4E9F0 !important; }

/* ── CAIXA STAT CARDS ── */
html.galaxy-light .caixa-stat-card { background: #FFFFFF !important; box-shadow: 0 2px 12px rgba(0,0,0,.06) !important; color: #1A2035 !important; border: 1px solid #E4E9F0 !important; }
html.galaxy-light .caixa-stat-card h4, html.galaxy-light .caixa-stat-card .caixa-stat-label { color: #4A5568 !important; }
html.galaxy-light .caixa-stat-card .caixa-stat-value { color: #1A2035 !important; }

/* ── QUICK ACTIONS ── */
html.galaxy-light .quick-action {
    background: #FFFFFF !important;
    border: 1px solid #E4E9F0 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.05) !important;
    backdrop-filter: none !important;
}
html.galaxy-light .quick-action:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,.09) !important;
    border-color: #D1D9E6 !important;
    background: #FAFBFC !important;
}
html.galaxy-light .quick-action-text { color: #1A2035 !important; }

/* ── DASHBOARD ── */
html.galaxy-light .dashboard-greeting h2 { color: #1A2035 !important; }
html.galaxy-light .dashboard-greeting p { color: #6B7280 !important; }

/* ── INPUTS ── */
html.galaxy-light input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
html.galaxy-light select,
html.galaxy-light textarea {
    background: #FFFFFF !important;
    border: 1px solid #D1D9E6 !important;
    color: #1A2035 !important;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.04) !important;
}
html.galaxy-light input:focus, html.galaxy-light select:focus, html.galaxy-light textarea:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(232,93,4,.10) !important;
    background: #FFFFFF !important;
}
html.galaxy-light input::placeholder, html.galaxy-light textarea::placeholder { color: #9CA3AF !important; }

/* ── BUTTONS ── */
html.galaxy-light .btn-secondary {
    background: #FFFFFF !important;
    border: 1px solid #D1D9E6 !important;
    color: #374151 !important;
    box-shadow: 0 1px 4px rgba(0,0,0,.05) !important;
}
html.galaxy-light .btn-secondary:hover {
    background: #F7F9FC !important;
    border-color: #B8C4D4 !important;
    color: #1A2035 !important;
}

/* ── USER INFO ── */
html.galaxy-light .user-info { background: #FFFFFF !important; border: 1px solid #E4E9F0 !important; box-shadow: 0 2px 8px rgba(0,0,0,.05) !important; }
html.galaxy-light .user-info-name { color: #1A2035 !important; }
html.galaxy-light .user-info-avatar { background: rgba(232,93,4,.08) !important; color: var(--primary) !important; }
html.galaxy-light .btn-logout { background: #F4F6FA !important; border: 1px solid #E4E9F0 !important; color: #6B7280 !important; }
html.galaxy-light .btn-logout:hover { border-color: #EF4444 !important; color: #EF4444 !important; background: rgba(239,68,68,.05) !important; }
html.galaxy-light .status-indicator { background: #FFFFFF !important; border: 1px solid #E4E9F0 !important; color: #6B7280 !important; }

/* ── MODALS ── */
html.galaxy-light .modal { background: #FFFFFF !important; border: 1px solid #E4E9F0 !important; box-shadow: 0 20px 60px rgba(0,0,0,.12) !important; backdrop-filter: none !important; }
html.galaxy-light .modal-overlay { background: rgba(0,0,0,.35) !important; backdrop-filter: blur(4px) !important; }
html.galaxy-light .modal-header { border-bottom: 1px solid #E4E9F0 !important; background: #F7F9FC !important; color: #1A2035 !important; }
html.galaxy-light .modal-footer { border-top: 1px solid #E4E9F0 !important; background: #F7F9FC !important; }
html.galaxy-light .modal h3, html.galaxy-light .modal h4, html.galaxy-light .modal .modal-title { color: #1A2035 !important; }
html.galaxy-light .modal p, html.galaxy-light .modal span, html.galaxy-light .modal label { color: #4A5568 !important; }

/* ── TABLES ── */
html.galaxy-light th { background: #F4F6FA !important; color: #374151 !important; border-bottom: 1px solid #E4E9F0 !important; font-weight: 600 !important; }
html.galaxy-light td { border-bottom: 1px solid #EEF2F7 !important; color: #1A2035 !important; }
html.galaxy-light tr:hover td { background: #F7F9FC !important; }

/* ── TABS / FILTROS ── */
html.galaxy-light .report-tab, html.galaxy-light .financeiro-tab, html.galaxy-light .date-shortcut,
html.galaxy-light .config-tab, html.galaxy-light .filter-btn, html.galaxy-light .tipo-filtro {
    background: #FFFFFF !important;
    border: 1px solid #E4E9F0 !important;
    color: #4A5568 !important;
    box-shadow: 0 1px 4px rgba(0,0,0,.04) !important;
}
html.galaxy-light .report-tab:hover, html.galaxy-light .config-tab:hover,
html.galaxy-light .financeiro-tab:hover, html.galaxy-light .date-shortcut:hover {
    background: #F7F9FC !important;
    border-color: #D1D9E6 !important;
}
html.galaxy-light .report-tab.active, html.galaxy-light .financeiro-tab.active,
html.galaxy-light .date-shortcut.active, html.galaxy-light .config-tab.active,
html.galaxy-light .filter-btn.active, html.galaxy-light .tipo-filtro.active {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(232,93,4,.25) !important;
}

/* ── PDV ── */
html.galaxy-light .products-panel { background: #FFFFFF !important; border: 1px solid #E4E9F0 !important; box-shadow: 0 2px 12px rgba(0,0,0,.05) !important; backdrop-filter: none !important; }
html.galaxy-light .categories-bar { background: #F7F9FC !important; border-bottom: 1px solid #E4E9F0 !important; }
html.galaxy-light .category-btn { color: #6B7280 !important; }
html.galaxy-light .category-btn:hover { background: #F0F4F8 !important; color: #1A2035 !important; }
html.galaxy-light .category-btn.active { background: var(--primary) !important; color: #fff !important; }
html.galaxy-light .products-grid .product-card { background: #FFFFFF !important; border: 1px solid #E4E9F0 !important; box-shadow: 0 1px 6px rgba(0,0,0,.05) !important; }
html.galaxy-light .products-grid .product-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.09) !important; border-color: var(--primary) !important; }
html.galaxy-light .product-name, html.galaxy-light .product-card-name { color: #1A2035 !important; }
html.galaxy-light .product-img { background: #F4F6FA !important; }
html.galaxy-light .order-panel { background: #FFFFFF !important; border: 1px solid #E4E9F0 !important; box-shadow: 0 2px 12px rgba(0,0,0,.05) !important; backdrop-filter: none !important; }
html.galaxy-light .order-header { border-bottom: 1px solid #E4E9F0 !important; background: #F7F9FC !important; }
html.galaxy-light .order-header h3 { color: #1A2035 !important; }
html.galaxy-light .tipo-pedido-btn { background: #FFFFFF !important; border: 2px solid #E4E9F0 !important; color: #4A5568 !important; }
html.galaxy-light .tipo-pedido-btn:hover { border-color: var(--primary) !important; }
html.galaxy-light .tipo-pedido-btn.active { background: var(--primary) !important; border-color: var(--primary) !important; color: #fff !important; }
html.galaxy-light .order-item { background: #F7F9FC !important; border: 1px solid #E4E9F0 !important; color: #1A2035 !important; }
html.galaxy-light .order-item:hover { background: #EEF2F7 !important; }
html.galaxy-light .order-item-name { color: #1A2035 !important; }
html.galaxy-light .qty-btn { background: #FFFFFF !important; border: 1px solid #D1D9E6 !important; color: #374151 !important; }
html.galaxy-light .qty-btn:hover { background: var(--primary) !important; border-color: var(--primary) !important; color: #fff !important; }
html.galaxy-light .order-footer { background: #F7F9FC !important; border-top: 1px solid #E4E9F0 !important; }
html.galaxy-light .order-row.subtotal { color: #6B7280 !important; }
html.galaxy-light .order-row.total { color: #1A2035 !important; border-top: 1px solid #E4E9F0 !important; }
html.galaxy-light .order-empty { color: #9CA3AF !important; }
html.galaxy-light .search-box input { background: #FFFFFF !important; }
html.galaxy-light .suggestions-list { background: #FFFFFF !important; border: 1px solid #E4E9F0 !important; box-shadow: 0 8px 24px rgba(0,0,0,.08) !important; }
html.galaxy-light .suggestion-item:hover { background: #F7F9FC !important; }

/* ── COMANDAS ── */
html.galaxy-light .kanban-col { background: rgba(255,255,255,.6) !important; border-radius: 16px !important; border: 1px solid #E4E9F0 !important; }
html.galaxy-light .kanban-analise { background: #FFF5F0 !important; }
html.galaxy-light .kanban-producao { background: #FFFBEB !important; }
html.galaxy-light .kanban-prontos { background: #F0FFF4 !important; }
html.galaxy-light .kanban-col-header { color: #fff !important; }
html.galaxy-light .kcard { background: #FFFFFF !important; border: 1px solid #E4E9F0 !important; box-shadow: 0 2px 8px rgba(0,0,0,.05) !important; color: #1A2035 !important; }
html.galaxy-light .kcard:hover { box-shadow: 0 6px 20px rgba(0,0,0,.09) !important; border-color: #D1D9E6 !important; }
html.galaxy-light .kcard-nome { color: #1A2035 !important; }
html.galaxy-light .kcard-info { color: #6B7280 !important; }
html.galaxy-light .kcard-total { color: #1A2035 !important; }
html.galaxy-light .comandas-section { background: rgba(255,255,255,.7) !important; border: 1px solid #E4E9F0 !important; }
html.galaxy-light .comanda-card { background: #FFFFFF !important; border: 1px solid #E4E9F0 !important; box-shadow: 0 2px 8px rgba(0,0,0,.06) !important; }
html.galaxy-light .comanda-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.09) !important; }

/* Barra superior de Comandas (busca + stats) */
html.galaxy-light .stat-box,
html.galaxy-light .comanda-stat-box {
    background: #FFFFFF !important;
    border: 1px solid #E4E9F0 !important;
    color: #1A2035 !important;
}

/* ── RELATÓRIOS ── */
html.galaxy-light .relatorio-stat { background: #FFFFFF !important; border: 1px solid #E4E9F0 !important; color: #1A2035 !important; box-shadow: 0 2px 8px rgba(0,0,0,.05) !important; }
html.galaxy-light .garcom-item, html.galaxy-light .garcom-row { background: #FFFFFF !important; border: 1px solid #E4E9F0 !important; color: #1A2035 !important; }
html.galaxy-light .chart-container { background: #FFFFFF !important; border: 1px solid #E4E9F0 !important; }

/* ── FINANCEIRO ── */
html.galaxy-light .alerta-vencimento { background: rgba(239,68,68,.06) !important; border: 1px solid rgba(239,68,68,.15) !important; color: #1A2035 !important; }
html.galaxy-light .total-row { background: #F4F6FA !important; color: #1A2035 !important; }
html.galaxy-light .cat-item { background: #FFFFFF !important; border: 1px solid #E4E9F0 !important; color: #1A2035 !important; }

/* ── CAIXA ── */
html.galaxy-light .caixa-hero { background: #FFFFFF !important; border: 1px solid #E4E9F0 !important; }
html.galaxy-light .caixa-actions .btn { box-shadow: 0 2px 8px rgba(0,0,0,.06) !important; }
html.galaxy-light .movimento-item,
html.galaxy-light .item-row {
    background: #FFFFFF !important;
    border: 1px solid #EEF2F7 !important;
    color: #1A2035 !important;
    box-shadow: none !important;
}
html.galaxy-light .movimento-item:hover, html.galaxy-light .item-row:hover {
    background: #F7F9FC !important;
}
html.galaxy-light .movimentacoes-panel, html.galaxy-light .movimentacoes-list {
    background: #FFFFFF !important;
    border: 1px solid #E4E9F0 !important;
}

/* ── PRODUTOS ── */
html.galaxy-light .product-card { background: #FFFFFF !important; border: 1px solid #E4E9F0 !important; color: #1A2035 !important; box-shadow: 0 1px 6px rgba(0,0,0,.05) !important; }
html.galaxy-light .product-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.09) !important; border-color: #D1D9E6 !important; }

/* ── GARÇONS ── */
html.galaxy-light .garcom-card { background: #FFFFFF !important; border: 1px solid #E4E9F0 !important; color: #1A2035 !important; box-shadow: 0 2px 8px rgba(0,0,0,.05) !important; }
html.galaxy-light .ranking-item { background: #FFFFFF !important; border: 1px solid #E4E9F0 !important; color: #1A2035 !important; }
html.galaxy-light .top-garcom, html.galaxy-light .top-garcom-banner { background: linear-gradient(135deg, rgba(232,93,4,.08), rgba(232,93,4,.04)) !important; border: 1px solid rgba(232,93,4,.15) !important; color: #1A2035 !important; }

/* ── CLIENTES ── */
html.galaxy-light .cliente-card { background: #FFFFFF !important; border: 1px solid #E4E9F0 !important; color: #1A2035 !important; box-shadow: 0 2px 8px rgba(0,0,0,.05) !important; }

/* ── CONFIGURAÇÕES ── */
html.galaxy-light .toggle-group { color: #374151 !important; }
html.galaxy-light .color-option { box-shadow: 0 2px 8px rgba(0,0,0,.10) !important; }

/* ── BADGES ── */
html.galaxy-light .badge { font-weight: 600 !important; }
html.galaxy-light .badge-status { font-weight: 600 !important; }

/* ── SCROLLBAR ── */
html.galaxy-light ::-webkit-scrollbar-track { background: #F0F4F8 !important; }
html.galaxy-light ::-webkit-scrollbar-thumb { background: #CBD5E0 !important; border-radius: 3px !important; }
html.galaxy-light ::-webkit-scrollbar-thumb:hover { background: #A0AEC0 !important; }

/* ── TOAST / LOADING ── */
html.galaxy-light .toast { background: #FFFFFF !important; border: 1px solid #E4E9F0 !important; color: #1A2035 !important; box-shadow: 0 8px 32px rgba(0,0,0,.10) !important; }
html.galaxy-light .loading-overlay { background: #F0F4F8 !important; }

/* ── MOBILE ── */
html.galaxy-light .mobile-bottom-nav { background: #FFFFFF !important; border-top: 1px solid #E4E9F0 !important; box-shadow: 0 -4px 16px rgba(0,0,0,.06) !important; }
html.galaxy-light .mobile-bottom-nav a { color: #6B7280 !important; }
html.galaxy-light .mobile-bottom-nav a.active { color: var(--primary) !important; }

/* ── WILDCARD: Qualquer elemento com cor de fundo escura hardcoded ── */
html.galaxy-light [style*="background:#1"],
html.galaxy-light [style*="background: #1"],
html.galaxy-light [style*="background:#0"],
html.galaxy-light [style*="background: #0"],
html.galaxy-light [style*="background:#2"],
html.galaxy-light [style*="background: #2"] {
    background: #FFFFFF !important;
    color: #1A2035 !important;
    border: 1px solid #E4E9F0 !important;
}

/* ── CARDÁPIO DIGITAL — Override variáveis próprias --cd-* ── */
}
html.galaxy-light [class*="cd-"] {
    color: #1A2035;
}
/* Tabs do cardápio digital */
html.galaxy-light .cd-tabs-bar {
    background: #FFFFFF !important;
    border: 1px solid #E4E9F0 !important;
}
html.galaxy-light .cd-tab {
    color: #4A5568 !important;
    background: transparent !important;
}
html.galaxy-light .cd-tab:hover { background: #F4F6FA !important; color: #1A2035 !important; }
html.galaxy-light .cd-tab.active { background: var(--cd-acc, var(--primary)) !important; color: #fff !important; }
/* Stats do cardápio digital */
html.galaxy-light .cd-stat { background: #FFFFFF !important; border: 1px solid #E4E9F0 !important; }
html.galaxy-light .cd-stat-num { color: var(--primary) !important; }
html.galaxy-light .cd-stat-lbl { color: #4A5568 !important; }
/* Painel direito de config */
html.galaxy-light .cd-config-panel,
html.galaxy-light [class*="cd-config"],
html.galaxy-light [class*="cd-form"],
html.galaxy-light [class*="cd-right"],
html.galaxy-light [class*="cd-panel"] {
    background: #FFFFFF !important;
    border: 1px solid #E4E9F0 !important;
    color: #1A2035 !important;
}
html.galaxy-light .cd-qr-config { background: #FFFFFF !important; border: 1px solid #E4E9F0 !important; }
/* Inputs dentro do cardápio digital */
html.galaxy-light .cd-input,
html.galaxy-light [class*="cd-"] input,
html.galaxy-light [class*="cd-"] select,
html.galaxy-light [class*="cd-"] textarea {
    background: #F4F6FA !important;
    border: 1px solid #D1D9E6 !important;
    color: #1A2035 !important;
}
/* Cards de produto no cardápio */
html.galaxy-light .cd-prod-card { background: #FFFFFF !important; border: 1px solid #E4E9F0 !important; }
html.galaxy-light .cd-cat-header { background: #F7F9FC !important; border-bottom: 1px solid #E4E9F0 !important; }
html.galaxy-light .cd-cat-name { color: #1A2035 !important; }
html.galaxy-light .cd-prod-name { color: #1A2035 !important; }
html.galaxy-light .cd-prod-price { color: var(--primary) !important; }
html.galaxy-light .cd-prod-desc { color: #4A5568 !important; }
/* Slider / toggle */
html.galaxy-light .cd-slider { background: #D1D9E6 !important; border-color: #D1D9E6 !important; }
html.galaxy-light .cd-slider::before { background: #FFFFFF !important; }
/* Seção de identidade/config lateral */
html.galaxy-light .cd-section-title { color: #4A5568 !important; }
html.galaxy-light .cd-label { color: #374151 !important; }

/* ── CAIXA MOVIMENTOS ── */
.caixa-movimentos { background: rgba(18,16,40,.85) !important; border: 1px solid rgba(255,255,255,.08) !important; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-radius: 18px !important; }
.cx-mov-header { background: rgba(12,10,28,.6) !important; border-bottom: 1px solid rgba(255,255,255,.06) !important; }
.movimento-item { background: rgba(12,10,28,.5) !important; border-bottom: 1px solid rgba(255,255,255,.06) !important; }
.movimento-item:hover { background: rgba(20,18,48,.7) !important; }
.cx-resumo-card { background: rgba(18,16,40,.85) !important; border: 1px solid rgba(255,255,255,.08) !important; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }

html.galaxy-light .caixa-movimentos { background: #FFFFFF !important; border: 1px solid #E4E9F0 !important; backdrop-filter: none !important; }
html.galaxy-light .cx-mov-header { background: #F7F9FC !important; border-bottom: 1px solid #E4E9F0 !important; }
html.galaxy-light .cx-mov-title { color: #1A2035 !important; }
html.galaxy-light .movimento-item { background: #FFFFFF !important; border-bottom: 1px solid #F0F2F5 !important; }
html.galaxy-light .movimento-item:hover { background: #F7F9FC !important; }
html.galaxy-light .movimento-desc { color: #1A2035 !important; }
html.galaxy-light .movimento-forma { background: #F0F2F5 !important; color: #4A5568 !important; }
html.galaxy-light .movimento-hora { color: #9CA3AF !important; }
html.galaxy-light .cx-resumo-card { background: #FFFFFF !important; border: 1px solid #E4E9F0 !important; backdrop-filter: none !important; }

/* ── PRINT ── */
@media print {
    body::before, #galaxyStarsCanvas { display: none !important; }
    body { background: #fff !important; color: #000 !important; }
    .sidebar { display: none !important; }
}
