/* Magic PTT theme tokens for Allmon3 (Network Ops console) */

:root {
  /* Top navbar — slate-900 */
  --am3-navbar-background: rgba(15, 23, 42, 1);
  --am3-navbar-color: rgba(241, 245, 249, 1);

  /* Node title bar — subtle glass (Magic Ops cards style) */
  --am3-nodetitle-background: rgba(15, 23, 42, 0.2);
  --am3-nodetitle-color: rgba(241, 245, 249, 1);
  --am3-nodetitle-button-hl: rgba(45, 212, 191, 1);

  /* Connection table */
  --am3-conntable-header-text: rgba(226, 232, 240, 1);
  --am3-conntable-header-bg: rgba(15, 23, 42, 1);
  --am3-conntable-border-color: rgba(51, 65, 85, 1);

  /* Keyed / active link — emerald (RX lamp) */
  --am3-conntable-conn-keyed-color: rgba(2, 6, 23, 1);
  --am3-conntable-conn-keyed-bg-color: rgba(52, 211, 153, 1);

  /* Connecting */
  --am3-conntable-conn-noconn-color: rgba(226, 232, 240, 1);
  --am3-conntable-conn-noconn-bg-color: rgba(30, 41, 59, 1);

  /* TX indicators — soft rose (matches PTT “on air” feel) */
  --am3-node-tx-local-color: rgba(2, 6, 23, 1);
  --am3-node-tx-local-bg-color: rgba(251, 113, 133, 1);

  --am3-node-tx-network-color: rgba(2, 6, 23, 1);
  --am3-node-tx-network-bg-color: rgba(244, 114, 182, 1);

  --am3-node-tx-telemetry-color: rgba(2, 6, 23, 1);
  --am3-node-tx-telemetry-bg-color: rgba(251, 191, 36, 1);

  --am3-node-tx-playback-remote-color: rgba(2, 6, 23, 1);
  --am3-node-tx-playback-remote-bg-color: rgba(251, 113, 133, 1);

  /* Idle / no TX — muted teal */
  --am3-node-no-tx-color: rgba(226, 232, 240, 1);
  --am3-node-no-tx-bg-color: rgba(19, 78, 74, 1);
}

/* Page background handled by magic-ops theme */
body.magic-ops {
  background-color: #020617 !important;
  background-image: none !important;
}

/* Sidebar nav buttons */
.btn-secondary {
  --bs-btn-color: #e2e8f0;
  --bs-btn-bg: #1e293b;
  --bs-btn-border-color: #334155;
  --bs-btn-hover-color: #f8fafc;
  --bs-btn-hover-bg: #0e7490;
  --bs-btn-hover-border-color: #0891b2;
  --bs-btn-focus-shadow-rgb: 56, 189, 248;
  --bs-btn-active-color: #f8fafc;
  --bs-btn-active-bg: #155e75;
  --bs-btn-active-border-color: #0e7490;
  --bs-btn-disabled-color: #64748b;
  --bs-btn-disabled-bg: #1e293b;
  --bs-btn-disabled-border-color: #334155;
}

/* Patriotic touches later: add accent borders or header stripes here, e.g.
 * .navbar { border-bottom: 3px solid linear-gradient(...); }
 */

/* --- Remove AllStar / Allmon3 branding (survives updates; lives in custom.css) --- */
footer {
  display: none !important;
}

/* Sidebar: ASL star logo + "Allmon v3" + version number */
nav#sidebarMenu .text-center.text-wrap {
  display: none !important;
}

nav#sidebarMenu img[alt="asl-logo"] {
  display: none !important;
}

/* Optional: your own sidebar footer text (uncomment and edit) */
/*
nav#sidebarMenu::after {
  content: "SHTF Radio Networks";
  display: block;
  text-align: center;
  font-size: 0.75rem;
  color: #94a3b8;
  padding: 1rem 0.5rem;
}
*/
