/* 3D Panel red dark theme — matches dashboard.css :root.red-theme */
:root {
  --q-primary: #dc2626 !important;
  --q-secondary: #b91c1c !important;
  --q-accent: #ef4444 !important;
  --q-dark: #1a0f12 !important;
  --q-dark-page: #0f0a0c !important;
  --q-positive: #10b981 !important;
  --q-negative: #ef4444 !important;
  --q-warning: #f59e0b !important;
}
.bg-primary, .q-btn--unelevated.bg-primary, .q-toolbar.bg-primary {
  background: #dc2626 !important;
  color: #ffffff !important;
}
.text-primary { color: #dc2626 !important; }
.q-drawer, .q-header, .q-footer, .q-bar, .q-tabs {
  background: #1a0f12 !important;
  color: #eceef1 !important;
  border-color: rgba(220, 38, 38, 0.2) !important;
}
body, .q-layout {
  background: #0f0a0c !important;
  color: #eceef1 !important;
}
html, body, #q-app, .scroll, .q-page, .q-layout__section {
  background: #0f0a0c !important;
  color: #eceef1 !important;
}
.q-layout .fullscreen.scroll {
  background: #0f0a0c !important;
  color: #eceef1 !important;
}
.q-card, .q-menu, .q-list {
  background: #1a0f12 !important;
  border-color: rgba(220, 38, 38, 0.15) !important;
  color: #eceef1 !important;
}
.q-item, .q-item__label, .q-field__native, .q-field__label, .q-tab {
  color: #b8bcc4 !important;
}
.q-item--active, .q-router-link--active, .q-tab--active {
  color: #dc2626 !important;
}
.q-table thead tr, .q-table__top, .q-table__bottom {
  background: #251318 !important;
  color: #eceef1 !important;
}
.q-table tbody td {
  color: #eceef1 !important;
  border-color: #3d1f26 !important;
}
.q-table tbody tr:hover {
  background: #2d151a !important;
}
.q-btn--flat { color: #b8bcc4 !important; }
.q-field--outlined .q-field__control {
  background: #1a0f12 !important;
  color: #eceef1 !important;
}
.q-separator { background: #3d1f26 !important; }
.q-dialog__backdrop, .q-menu__backdrop {
  background: rgba(15, 10, 12, 0.38) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.q-dialog .fullscreen { background: transparent !important; }
/* Hide Help nav (docs link) on deployed RMM */
a.q-item[href*='docs.tacticalrmm.com'], a.q-item[href*='amidaware.github.io'] { display: none !important; }
.q-drawer a.q-item[href*='/help'] { display: none !important; }
/* Hide upstream Tactical RMM "vX available" update chip on managed 3D RMM */
.q-toolbar-title a[href*='github.com/amidaware/tacticalrmm/releases'] { display: none !important; }
.q-toolbar-title .q-chip:has(a[href*='amidaware/tacticalrmm/releases']) { display: none !important; }
