*/ ================================*/
   WARDWAY CONTROL PANEL — CORE CSS
   ================================ */
/* ---------- THEME VARIABLES ---------- */
:root {
  --bg: #0f2a3a;
  --panel: rgba(255,255,255,0.06);
  --text: #eef3f7;
}

/* ---------- GLOBAL TEXT COLOR ---------- */
html, body {
  color: var(--text);
}
/* ---------- BACKGROUND ---------- */
html, body {
  min-height: 100vh;
  margin: 0;

  background:
    linear-gradient(
      rgba(10, 35, 55, 0.45),
      rgba(10, 35, 55, 0.65)
    ),
    url('/assets/img/control-room.jpg') center center / cover no-repeat fixed;

  color: var(--text);
}

/* ---------- BACKGROUND OVERLAY ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.35) 0%,
    rgba(0,0,0,0.15) 60%,
    rgba(0,0,0,0.45) 100%
  );
  pointer-events: none;
  z-index: -1;
}

/* ---------- GLASS WALL PANELS (left) ---------- */

body::before {
  content: "";
  position: fixed;
  top: 14vh;
  left: 14vw;
  width: 22vw;
  height: 42vh;

  border-radius: 22px;
  overflow: hidden;

  background:
    linear-gradient(
      rgba(255,255,255,0.10),
      rgba(255,255,255,0.05)
    ),
    url("/assets/img/control-room.jpg") center / cover no-repeat;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.25),
    inset 0 -14px 30px rgba(0,0,0,0.45),
    0 22px 50px rgba(0,0,0,0.45);

  z-index: 0;
  pointer-events: none;
}

/* CENTER PANEL */
/*body::after {
  content: "";
  position: fixed;
  top: 14vh;
  left: 39vw;
  width: 22vw;
  height: 42vh;

  border-radius: 22px;
  overflow: hidden;

  background:
    linear-gradient(rgba(255,255,255,0.08), rgba(255,255,255,0.05)),
    url("/assets/img/wardway-map-glass.png") center center / cover no-repeat;

  backdrop-filter: blur(12px);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.25),
    inset 0 -14px 30px rgba(0,0,0,0.45),
    0 22px 50px rgba(0,0,0,0.45);

  z-index: 0;
  pointer-events: none;
}
*/
/* RIGHT PANEL */
/*html::before {
  content: "";
  position: fixed;
  top: 14vh;
  left: 64vw;
  width: 22vw;
  height: 42vh;

  border-radius: 22px;
  overflow: hidden;

  background:
    linear-gradient(rgba(255,255,255,0.08), rgba(255,255,255,0.05)),
    url("/assets/img/wardway-map-glass.png") right center / cover no-repeat;

  backdrop-filter: blur(12px);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.25),
    inset 0 -14px 30px rgba(0,0,0,0.45),
    0 22px 50px rgba(0,0,0,0.45);

  z-index: 0;
  pointer-events: none;
}

/* ---------- GLASS WALL PANELS (TRUE DISCRETE) ---------- */

/* LEFT PANEL */
/*body::before {
  content: "";
  position: fixed;
  top: 14vh;
  left: 14vw;
  width: 22vw;
  height: 42vh;

  border-radius: 22px;
  overflow: hidden;

  background:
    linear-gradient(rgba(255,255,255,0.08), rgba(255,255,255,0.05)),
    url("/assets/img/wardway-map-glass.png") left center / cover no-repeat;

  backdrop-filter: blur(12px);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.25),
    inset 0 -14px 30px rgba(0,0,0,0.45),
    0 22px 50px rgba(0,0,0,0.45);

  z-index: 1;
  pointer-events: none;
}

/* CENTER PANEL */
/*body::after {
  content: "";
  position: fixed;
  top: 14vh;
  left: 38vw;
  width: 22vw;
  height: 42vh;

  border-radius: 22px;
  overflow: hidden;

  background:
    linear-gradient(rgba(255,255,255,0.08), rgba(255,255,255,0.05)),
    url("/assets/img/wardway-map-glass.png") center center / cover no-repeat;

  backdrop-filter: blur(12px);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.25),
    inset 0 -14px 30px rgba(0,0,0,0.45),
    0 22px 50px rgba(0,0,0,0.45);

  z-index: 1;
  pointer-events: none;
}
/* =========================
   CONTROL ROOM HEADER
   ========================= */

.cp-header {
  display: flex;
  align-items: flex-start;
  padding-top: 20px;      /* controls logo drop */
  padding-left: 3in;
  max-height: 120px;      /* caps header height */
  overflow: visible;     /* allows logo to exceed slightly if needed */
}

.cp-brand-logo {
  max-height: 160px;
  width: auto;
} 
/* === TEMP DEBUG CUT === */
/* ---------- GRID ---------- */
/*------ TILES ---------- */
/* =========================
   CONTROL ROOM GRID (ROWS)
   ========================= */
.cp-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;

  max-width: 1400px;
  margin: 0 auto;
  padding: 24px;

  position: relative;
  z-index: 1;
}
 <!--
  <!-- MAIN CONTROL GRID -->
<main class="cp-grid">

  <section class="control-tile large">
    <h3>System Infrastructure</h3>
    <p>Status, networking, domains.</p>
  </section>

  <section class="control-core"></section>

  <section class="control-tile large">
    <h3>Operations Stack</h3>
    <p>ERP, Commerce, Services.</p>
  </section>

  <section class="tile-group"></section>

</main>
-->
  
.cp-tile {
  background: rgba(255,255,255,0.07);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 1.5rem;
  text-decoration: none;
  display: block;
  backdrop-filter: blur(8px);
}

.tile-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.tile-title {
  font-size: 1.1rem;
  font-weight: 600;
}

.tile-desc {
  font-size: 0.9rem;
  opacity: 0.85;
}

.tile-group {
  grid-column: 1 / -1;
  grid-row: 2;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

/* =========================
   TILE GRID NORMALIZATION
   ========================= */

.control-tile {
  position: relative !important;
}
/* =========================
   REGULAR TILE RESET
   ========================= */
  /*
.control-tile:not(.large) {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  margin-top: 40px;
}
*/

/* control tiles enabled */
.control-tile {
  display: block;
}


/* ---------- STATUS BADGES ---------- */
.tile-badge {
  display: inline-block;
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

.tile-badge.online {
  background: rgba(95,211,162,0.25);
  color: #5fd3a2;
}

.tile-badge.maintenance {
  background: rgba(255,193,7,0.25);
  color: #ffc107;
}

.tile-badge.offline {
  background: rgba(220,53,69,0.25);
  color: #dc3545;
}
/* ---------- INSTALLATION SUMMARY DRAWER (GLASS TILE) ---------- */

#install-bar {
  position: fixed;
  top: 0px;   /* was 0px */
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  min-width: 360px;
  max-width: 520px;

  height: 44px;
  line-height: 44px;
  text-align: center;

  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.16);

  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  z-index: 2000;
}

/* =========================
   INSTALL DRAWER (STABLE)
   ========================= */

/* Internal spacing polish */
#install-drawer h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.install-section {
  margin-bottom: 1rem;
}

.install-summary {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.install-actions {
  margin-top: 1.25rem;
  display: flex;
  justify-content: space-between;
}
/* =========================
   INSTALL INPUT ALIGNMENT
   ========================= */

.install-inputs {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 14px;
  margin-bottom: 18px;
}

.install-inputs label {
  display: grid;
  grid-template-rows: auto auto;
  row-gap: 6px;

  width: 100%;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
}

.install-inputs input {
  width: 100%;
  height: 36px;

  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);

  background: rgba(0,0,0,0.35);
  color: #fff;

  box-sizing: border-box;
  line-height: 1.2;
}

.install-inputs input:focus {
  outline: none;
  border-color: rgba(95,211,162,0.8);
}
/* =========================
   FAR WALL – 3 PANEL GRID
   ========================= */

.far-wall {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 3vw;

  max-width: 1400px;
  margin: 8vh auto 0 auto;
  padding: 0 3vw;

  position: relative;
  z-index: 1;
}

.far-panel {
  position: relative;

  min-height: 42vh;
  border-radius: 22px;
  overflow: hidden;

  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.25),
    0 18px 40px rgba(0,0,0,0.35);
}

/* Center panel = Control Room image */
.far-panel.center {
  background:
    linear-gradient(rgba(255,255,255,0.10), rgba(255,255,255,0.04)),
    url('/assets/img/control-room.jpg') center center / cover no-repeat;
}

/* KILL LEGACY WALL PANELS */
.wall-panel,
.wall-panel::before,
.wall-panel::after,
body::before,
body::after {
  display: none !important;
  content: none !important;
}
/* =========================
   CONTROL PANEL HEADER
   ========================= */

.cp-header {
  position: relative;
  z-index: 10;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 16px 32px;

  background: linear-gradient(
    rgba(10, 35, 55, 0.85),
    rgba(10, 35, 55, 0.65)
  );

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  border-bottom: 1px solid rgba(255,255,255,0.15);
}
/* =========================
   FAR WALL – SIDE PANELS
   ========================= */

.far-panel.left,
.far-panel.right {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.12);
}
/* =========================
   FAR WALL – PANEL REFINEMENT
   ========================= */

/* Bring side panels inward for depth */
.far-wall {
  grid-template-columns: 0.9fr 1.4fr 0.9fr;
  gap: 0.12vw; /* was larger before */
  position: relative;
  z-index: 1;
}

/* =========================
   SIDE PANEL SPLITS
   ========================= */

.far-panel.split {
  display: grid;
  grid-template-rows: 1fr 1fr;
}

/* Inner panes (illusion of displays) */
.far-panel.split .pane {
  background: rgba(255,255,255,0.035);
}

/* Divider between stacked displays */
.far-panel.split .pane.top {
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

/* Depth shading for realism */
.far-panel.split .pane.top {
  box-shadow: inset 0 -8px 16px rgba(0,0,0,0.25);
}

.far-panel.split .pane.bottom {
  box-shadow: inset 0 8px 16px rgba(0,0,0,0.25);
}
/* =========================
   HEADER LOGO VERTICAL OFFSET
   ========================= */

.cp-brand-logo {
  margin-top: 34px; /* ~1/3 inch downward adjustment */
}
/* =========================
   ATMOSPHERIC DEPTH
   ========================= */

/* Subtle vertical light falloff for depth */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.00) 0%,
    rgba(0, 0, 0, 0.10) 100%
  );
}
/* =========================
   ATMOSPHERIC DEPTH (VISIBLE TEST)
   ========================= */

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;

  /* sits above background, below panels */
  z-index: 1;

  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.00) 0%,
    rgba(0, 0, 0, 0.22) 100%
  );
}
/* =========================
   ATMOSPHERIC DEPTH – EDGE VIGNETTE
   ========================= */

html::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;

  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.00) 40%,
    rgba(0, 0, 0, 0.18) 100%
  );
}
/* =========================
   DISPLAY LABELS (FINAL)
   ========================= */

.display-label {
  position: absolute;

  top: 18px;     /* push down */
  left: 22px;    /* push inward */

  z-index: 4;
  pointer-events: none;

  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;

  color: rgba(255,255,255,0.34);
}

/* =========================
   INSTALL DRAWER — OVERRIDE LOCK
   ========================= 

#install-drawer {
  position: fixed !important;
  left: 50% !important;
  transform: translateX(-50%) !important;

  width: 900px !important;
  max-width: 95vw !important;
  height: 60vh !important;

  background: rgba(15, 42, 58, 0.97) !important;
  backdrop-filter: blur(10px) !important;

  bottom: -100% !important;
  transition: bottom 0.35s ease !important;

  z-index: 10000 !important;
  padding: 1.5rem !important;
  overflow-y: auto !important;
}

#install-drawer.open {
  bottom: 0 !important;
}

*/

/* =========================
   INSTALL SUMMARY BAR (FINAL)
   ========================= */

#install-bar {
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);

  width: 600px;          /* was 900px */
  max-width: 90vw;

  z-index: 20000;
  pointer-events: auto;
  cursor: pointer;

  background: rgba(15, 42, 58, 0.9);
  backdrop-filter: blur(8px);

  padding: 0.6rem 1rem;  /* slightly tighter */
  border-radius: 12px;
  text-align: center;
  font-size: 0.95rem;
}

   /* =========================
   INSTALL DRAWER — HARD OVERRIDE (ARCHIVED)
   =========================

#install-drawer {
  position: fixed !important;
  left: 50% !important;
  transform: translateX(-50%) !important;

  bottom: -110vh !important;
  top: auto !important;

  visibility: hidden !important;
}

#install-drawer.open {
  bottom: 0 !important;
  visibility: visible !important;
}

*/

/* =====================================================
   CONTROL ROOM SIDE TRAY (2.0)
   ===================================================== */

.cr-tray {
  position: fixed;
  top: 0;
  right: 0;

  width: 600px;        /* increased from 420 */
  max-width: 95vw;     /* slightly increased for responsiveness */
  height: 100vh;

  background: rgba(15, 42, 58, 0.96);
  backdrop-filter: blur(12px);

  box-shadow: -20px 0 40px rgba(0,0,0,0.45);

  transform: translateX(100%);
  transition: transform 600ms cubic-bezier(.25,.8,.25,1);

  z-index: 10000;
}

.cr-tray.open {
  transform: translateX(0);
}

.cr-tray-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.cr-tray-title {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.8;
}

/* =========================
   CONTROL ROOM LAYER FIX
   ========================= */

/* Center wall */
.far-wall {
  position: relative;
  z-index: 1;
}

/* Side tray */
#cr-tray {
  position: fixed;
  z-index: 900;
}

/*==== OLD INSTALL DRAWER RULES (DISABLED) ====

#install-drawer {
  position: fixed;
  bottom: -100%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  max-width: 95vw;
  height: 60vh;
  background: rgba(15, 42, 58, 0.97);
  backdrop-filter: blur(10px);
  transition: bottom 0.35s ease;
  z-index: 1000;
  pointer-events: auto;
}

#install-drawer.open {
  bottom: 0;
}
*/

/* =========================
   INSTALL DRAWER (FINAL – ACTIVE)
   ========================= */
/* LEGACY INSTALL DRAWER — DISABLED
#install-drawer {
  position: fixed;
  bottom: -100%;
  left: 50%;
  transform: translateX(-50%);

  width: 900px;
  max-width: 95vw;
  height: 60vh;

  background: rgba(15, 42, 58, 0.97);
  backdrop-filter: blur(10px);

  transition: bottom 0.35s ease;
  z-index: 1000;

  overflow-y: auto;
  pointer-events: auto;
}

#install-drawer.open {
  bottom: 0;
}
*/

#install-drawer {
  color: #eef3f7;           /* restore light text */
}
#install-drawer input,
#install-drawer select,
#install-drawer textarea {
 color: #eef3f7;
  background: rgba(0,0,0,0.35);
}
/* =========================
   INSTALL SUMMARY BAR TEXT
   ========================= */

.install-summary,
.install-summary *,
#install-summary,
#install-summary * {
  color: #eef3f7;
}
.install-summary {
  background: rgba(15, 42, 58, 0.97);
}

.install-summary input,
.install-summary select {
   color: #eef3f7;
  background: rgba(0,0,0,0.35);
}

/* ===== DEBUG: FORCE SUMMARY COLOR ===== */
* {
  outline: 0;
}

/* OPEN STATE 
#install-drawer.open {
  bottom: 0;
}
*/
/* =========================
   DRAWER SCRIM
   ========================= */
#drawer-scrim {
  position: fixed;
  inset: 0;
 
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);

  opacity: 0;
  pointer-events: none;

  transition: opacity 0.25s ease;

  z-index: 9000;
}

/* active state */
#drawer-scrim.active {
  opacity: 1;
  pointer-events: auto;
}
/* =========================
   INSTALL DRAWER (OVERLAY)
   ========================= */
#install-drawer {
  position: fixed;
  left: 50%;
  bottom: 0;

  transform: translate(-50%, 100%);
  width: 520px;
  height: 70vh;

  background: rgba(15, 42, 58, 0.9);
  backdrop-filter: blur(14px);

  border-radius: 18px 18px 0 0;

  transition: transform 0.35s ease;

  z-index: 99999;

  padding: 1.5rem;
  overflow-y: auto;
}

#install-drawer.open {
  transform: translate(-50%, 0);
}

/* Prevent interaction behind drawer */
body.drawer-open .cp-grid {
  pointer-events: none;
}
/* FINAL CONTROL ROOM OVERRIDES */

/* Profile / Tray */
aside,
aside * {
  color: #eef3f7 !important;
}

/* Install Drawer */
#install-drawer,
#install-drawer * {
  color: #eef3f7 !important;
}

/* Install Summary (THIS was missing) */
.install-summary,
.install-summary *,
#install-summary,
#install-summary *,
#install-bar,
#install-bar * {
  color: #eef3f7 !important;
}
/* =========================
   TILE ICON STYLING
   ========================= */

.tile-illustration {
  width: 105px;
  height: auto;
  display: block;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.25));
  transition: transform 0.25s ease;
}

.card:hover .tile-illustration {
  transform: translateY(-6px);
}

.card {
  transition: transform 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
}
/* =========================
   INSTALL FORM SPACING
   ========================= */

.install-section {
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.install-section strong {
  display: block;
  margin-bottom: 0.9rem;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  opacity: 0.85;
}

.install-section label {
  display: block;
  margin-top: 0.75rem;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  opacity: 0.8;
}

.install-section input,
.install-section textarea {
  width: 70%;
  max-width: 520px;
  padding: 0.6rem 0.75rem;
  margin-bottom: 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
  color: #eef2f1;
}

.install-section textarea {
  resize: vertical;
}

.ssh-mode {
  margin-bottom: 1rem;
}

.ssh-mode label {
  display: inline-block;
  margin-right: 1.5rem;
  font-size: 0.85rem;
}
/* =========================
   DEPLOYMENT MAP FIX
   ========================= */

#deployment-map {
  width: 100%;
  height: 400px;
  border-radius: 16px;

  background: #0b1c26;  /* deep dark fallback */
}
/* =========================
   CONTROL ROOM MAP PANEL TONE
   ========================= */

.cr-tray-body {
  background: #0f2a3a;
}
/* =========================
   SYSTEM METRICS PANEL
   ========================= */

.system-metric {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
  color: #cfefff; /* soft control room blue */
}

.system-metric span {
  font-weight: 600;
  color: #00d4ff; /* highlight color */
}

/* =========================
   SYSTEM METRICS PANEL (GRID SAFE)
   ========================= */

.far-panel.left .display-label {
  text-align: center;
  font-size: 0.9rem;
  letter-spacing: 0.25em;
  margin: 0.6rem 0;
  color: #00d4ff;
}

.far-panel.split .pane {
  box-sizing: border-box;
}

.far-panel.left .pane.top {
  padding: 1rem 1.2rem;
}

.system-metric {
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
  color: #cfefff;
}

.system-metric span {
  font-weight: 600;
  color: #00d4ff;
}

/* =========================
   SYSTEM LABEL SEPARATION
   ========================= */

.far-panel.left .display-label {
  text-align: center;
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  padding: 0.6rem 0;
  color: #00d4ff;
  border-bottom: 1px solid rgba(0,212,255,0.25);
  margin-bottom: 0.8rem;
}
/* ===================================
   SYSTEMS LABEL — INSIDE TOP PANE
   =================================== */

.far-panel.left .pane.top .display-label {
  position: relative;
  top: auto;
  left: auto;
  z-index: auto;
  display: block;
  text-align: center;
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  margin-bottom: 0.8rem;
  color: #00d4ff;
}
/* =========================
   NETWORK MAP HERO LAYOUT
   ========================= */

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

#deployment-map {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 20vh;
}
/* =========================
   HEADER NAV LINK
   ========================= */

.cp-header {
  display: flex;
  align-items: center;
}

.cp-nav-link {
  margin-left: auto;
  margin-right: 2rem;

  color: #ffffff;          /* White for readability */
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.05em;

  transition: 0.3s ease;
}

.cp-nav-link:hover {
  color: #00c8ff;          /* VBIO cyan on hover */
}
/* =========================
   RIGHT PROFILE PANEL FIX
   ========================= */

.profile-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  overflow: hidden;
}

.profile-panel .drone-illustration {
  width: 120px;        /* adjust if needed */
  max-width: 40%;
  height: auto;
  margin-bottom: 1rem;
}

.profile-panel h3,
.profile-panel p {
  color: #eef2f1;
  position: relative;
  z-index: 2;
}
/* =====================================
   VBIO RIGHT TRAY DRONE FIX
   ===================================== */

/* Make tray body stack cleanly */
.cr-tray-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Shrink drone */
.profile-drone {
  width: 160px;       /* adjust 90–130 if needed */
  height: auto;
  margin: 0 auto 1rem auto;
  display: block;
}

/* Ensure text is visible */
.cr-profile h4,
.cr-profile p {
  color: #eef2f1;
}
.cr-profile h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  letter-spacing: 0.05em;
}

.cr-profile p {
  font-size: 0.85rem;
  opacity: 0.85;
  line-height: 1.4;
  margin-bottom: 1.2rem;
}
/* =====================================
   FUTURISTIC TRAY ENHANCEMENT
   ===================================== */

/* =====================================
   CONTROL ROOM SIDE TRAY – SLIDE FIX
   ===================================== */

.cr-tray {
  position: fixed;
  top: 0;
  right: 0;

  width: 380px; /* keep your width */
  height: auto;          /* no full screen height */
  max-height: 90vh;      /* prevents it from getting too tall */
  overflow-y: auto;      /* scroll if content grows */

  backdrop-filter: blur(14px);
  background: rgba(12, 26, 38, 0.98);
  border-left: 1px solid rgba(0, 180, 255, 0.25);
  box-shadow: -10px 0 40px rgba(0, 150, 255, 0.15);

  transform: translateX(100%);
  transition: transform 0.35s ease;
  z-index: 1000;
}

.cr-tray.open {
  transform: translateX(0);
}

/* Open state */
.cr-tray.open {
  transform: translateX(0);
}
.cr-profile {
  padding: 1rem;
  border: 1px solid rgba(0, 180, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.3s ease;
  cursor: pointer;
}

.cr-profile:hover {
  border-color: rgba(0, 200, 255, 0.6);
  box-shadow: 0 0 15px rgba(0, 200, 255, 0.25);
  transform: translateY(-2px);
}

.cr-profile.active {
  border-color: #00d4ff;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}
.cr-profile h4 {
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #00d4ff;
}

.cr-profile p {
  font-size: 0.8rem;
  opacity: 0.75;
  color: #d9f7ff;
}
.profile-drone {
  width: 150px;
  filter: drop-shadow(0 0 15px rgba(0, 200, 255, 0.6));
  animation: droneFloat 4s ease-in-out infinite;
}

@keyframes droneFloat {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-6px); }
  100% { transform: translateY(0px); }
}
/* =====================================
   DRONE ANIMATION
   ===================================== */

.profile-drone {
  width: 155px; /* slightly larger */
  height: auto;
  display: block;
  margin: 0 auto 1.5rem auto;

  filter: drop-shadow(0 0 18px rgba(0, 200, 255, 0.7));

  animation: droneHover 5s ease-in-out infinite;
}

/* Smooth hover motion */
@keyframes droneHover {
  0%   { transform: translateY(0px) rotate(0deg); }
  25%  { transform: translateY(-6px) rotate(-1deg); }
  50%  { transform: translateY(-10px) rotate(1deg); }
  75%  { transform: translateY(-6px) rotate(-1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}
/* =====================================
   CONTROL ROOM LOGO
   ===================================== */

.control-logo {
  position: fixed;
  top: 18px;
  left: 20px;
  z-index: 2000;
}

.control-logo img {
  height: 42px;   /* adjust size */
  width: auto;
  opacity: 0.95;
  transition: opacity 0.3s ease;
}

.control-logo img:hover {
  opacity: 1;
}
/* =====================================
   CONTROL ROOM HEADER LAYOUT
   ===================================== */

.cp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 14px 24px;
  position: relative;
}

/* Left side (Profiles button + logo) */
.cp-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Logo styling */
.cp-brand-logo {
  height: 160px;
  width: auto;
}

/* Network link stays right */
.cp-nav-link {
  margin-left: auto;
}
/* =====================================
   FUTURISTIC PROFILE BUTTON
   ===================================== */

.cp-tray-toggle {
  position: relative;
  padding: 10px 18px;

  background: linear-gradient(145deg, #0f2433, #0c1f2c);
  border: 1px solid rgba(0, 200, 255, 0.35);
  border-radius: 8px;

  color: #00d4ff;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;

  cursor: pointer;
  overflow: hidden;

  transition: all 0.25s ease;
}

.cp-tray-toggle:hover {
  border-color: #00e5ff;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.5);
  transform: translateY(-2px);
}

.cp-tray-toggle:active {
  transform: translateY(0);
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
}

.cp-tray-toggle .btn-indicator {
  position: absolute;
  bottom: 0;
  left: -100%;
  width: 100%;
  height: 2px;

  background: linear-gradient(90deg, transparent, #00d4ff, transparent);
  animation: scanLine 3s linear infinite;
}

@keyframes scanLine {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* =========================
   VBIO COCKPIT CONSOLE
   ========================= */

.vbio-console {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;

  height: 80px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 28px;

  background: rgba(10,18,24,0.85);
  backdrop-filter: blur(12px);

  border-top: 1px solid rgba(255,255,255,0.08);

  z-index: 9000;
}

/* left side */
.console-left {
  font-size: 14px;
  letter-spacing: 1px;
  color: #9be3ff;
}

/* center button group */
.console-center {
  display: flex;
  gap: 14px;
}

/* buttons */
.console-btn {
  background: rgba(0,160,255,0.18);
  border: 1px solid rgba(0,160,255,0.45);
  color: #cfefff;

  padding: 8px 16px;
  border-radius: 6px;

  cursor: pointer;
  transition: all 0.2s ease;
}

.console-btn:hover {
  background: rgba(0,160,255,0.35);
}

/* deploy button highlight */
.deploy-btn {
  background: rgba(95,211,162,0.25);
  border-color: rgba(95,211,162,0.6);
}

/* right side status */
.console-right {
  font-size: 13px;
  color: #9fbec9;
}

.status-ready {
  color: #5fd3a2;
  font-weight: 600;
}

/* =========================
   MAP OVERLAY SYSTEM
   ========================= */

#map-overlay {
  position: fixed;
  inset: 0;
  z-index: 8000;

  opacity: 0;
  pointer-events: none;

  transition: opacity 0.9s ease;
}

/* when deployment mode activates */

#map-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* map inside overlay */

#map-overlay #deployment-map {
  position: absolute;
  inset: 0;
  height: calc(100% - 80px); /* leave room for console */
}

.map {
  height: 420px;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
}

.map-header{
  position: absolute;
  z-index: 900;
  margin: 15px;
  padding: 6px 12px;
  background: rgba(10,20,30,0.6);
  backdrop-filter: blur(6px);
  border-radius: 6px;
}

.map-header h2{
  margin:0;
  font-size:14px;
  letter-spacing:0.06em;
  color:#d8ecff;
}

/* Map legend */

.map-legend{
  position:absolute;
  bottom:12px;
  right:12px;
  background:rgba(10,20,30,0.85);
  backdrop-filter:blur(6px);
  padding:8px 12px;
  border-radius:6px;
  font-size:12px;
  color:#d8ecff;
  z-index:900;
}

.map-legend div{
  display:flex;
  align-items:center;
  margin:3px 0;
}

.map-legend span{
  width:10px;
  height:10px;
  border-radius:50%;
  display:inline-block;
  margin-right:6px;
}

.legend-core{
  background:#00e1ff;
}

.legend-partner{
  background:#00ff9c;
}

/* Pulsing network nodes */
.leaflet-interactive {
  animation: nodePulse 2.5s infinite;
}

@keyframes nodePulse {
  0% {
    stroke-width: 1;
    opacity: 0.9;
  }
  50% {
    stroke-width: 4;
    opacity: 1;
  }
  100% {
    stroke-width: 1;
    opacity: 0.9;
  }
}
/* animated network links */
.leaflet-interactive[stroke-dasharray] {
  animation: dashMove 8s linear infinite;
}

@keyframes dashMove {
  to {
    stroke-dashoffset: -100;
  }
}

/* animated network links */
.leaflet-interactive[stroke-dasharray] {
  animation: dashMove 8s linear infinite;
}

@keyframes dashMove {
  to {
    stroke-dashoffset: -100;
  }
}

/* =========================
   SYSTEM ACTIVITY CONSOLE
========================= */

.console{
  max-width:1100px;
  margin:30px auto;
  padding:15px;
  background:#050a10;
  border:1px solid #0f2535;
  border-radius:8px;
}

.console-title{
  font-size:12px;
  letter-spacing:0.08em;
  color:#7fd7ff;
  margin-bottom:10px;
}

.console-log{
  font-family:monospace;
  font-size:12px;
  color:#8fd3ff;
  background:#02060a;
  padding:10px;
  border-radius:6px;
  max-height:160px;
  overflow-y:auto;
}

.console-line{
  padding:2px 0;
}

/* Pulsing network nodes */

.leaflet-interactive {
  animation: nodePulse 2.5s infinite;
}

@keyframes nodePulse {

  0%{
    stroke-width:1;
    opacity:0.9;
  }

  50%{
    stroke-width:4;
    opacity:1;
  }

  100%{
    stroke-width:1;
    opacity:0.9;
  }

}

.op-button{
display:block;
padding:8px 10px;
margin:6px 0;
background:transparent;
color:white;
border:1px solid rgba(255,255,255,0.25);
border-radius:6px;
text-decoration:none;
font-size:13px;
letter-spacing:.04em;
cursor:pointer;
transition:all .2s ease;
}

.op-button:hover{
background:rgba(255,255,255,0.08);
border-color:#4fd1c5;
color:#4fd1c5;
}

/* VBIO robot */

.vbio-robot{
width:40px;
margin-bottom:6px;
animation: vbio-float 4s ease-in-out infinite;
}

@keyframes vbio-float{
0%{transform:translateY(0px);}
50%{transform:translateY(-4px);}
100%{transform:translateY(0px);}
}

/* =========================
   VBIO PLATFORM PANEL
========================= */

.vbio-platform{
display:flex;
flex-direction:column;
align-items:center;
justify-content:flex-start;
text-align:center;
gap:10px;
padding-top:160px;
}

.vbio-robot{
width:120px;
display:block;
margin:12px auto;
animation: vbio-float 4s ease-in-out infinite;
}

@keyframes vbio-float{
0%{transform:translateY(0px);}
50%{transform:translateY(-4px);}
100%{transform:translateY(0px);}
}

.vbio-btn{
padding:6px 12px;
margin-top:6px;
background:transparent;
border:1px solid rgba(255,255,255,.25);
color:white;
border-radius:4px;
cursor:pointer;
font-size:12px;
}

.vbio-btn:hover{
border-color:#4fd1c5;
color:#4fd1c5;
}

/* =========================
   VBIO ROBOT ANIMATION
========================= */

.vbio-robot{
width:56px;
display:block;
margin:10px auto;
animation: vbio-float 4s ease-in-out infinite;
}

@keyframes vbio-float{

0%{
transform:translateY(0px);
}

50%{
transform:translateY(-6px);
}

100%{
transform:translateY(0px);
}

}

/* =========================
   VBIO ROBOT
========================= */

.vbio-platform img.vbio-robot{
width:120px !important;
height:auto;
display:block;
margin:12px auto;
animation: vbio-float 4s ease-in-out infinite;
}

@keyframes vbio-float{
0%{transform:translateY(0px);}
50%{transform:translateY(-6px);}
100%{transform:translateY(0px);}
}
