
/* BLACKBIRD-PROJECT // terminal HUD theme */
:root{
  --bb-green:#39ff72;
  --bb-green-soft:#58ff88;
  --bb-white:#f4f7f5;
  --bb-black:#000;
}

/* Terminal grid / HUD background */
html,body{
  background-color:#020503 !important;
  color:var(--bb-white) !important;
  background-image:
    linear-gradient(rgba(57,255,114,.055) 1px,transparent 1px),
    linear-gradient(90deg,rgba(57,255,114,.055) 1px,transparent 1px),
    linear-gradient(rgba(57,255,114,.018) 1px,transparent 1px),
    linear-gradient(90deg,rgba(57,255,114,.018) 1px,transparent 1px) !important;
  background-size:64px 64px,64px 64px,16px 16px,16px 16px !important;
}

/* Keep original layout, but push the visual language toward the Blackbird HUD */
body:before{
  content:"BLACKBIRD-PROJECT://NETWORK";
  position:fixed;
  top:10px;
  left:14px;
  z-index:9999;
  font-family:monospace;
  font-weight:700;
  letter-spacing:1.2px;
  color:var(--bb-green);
  text-shadow:0 0 8px rgba(57,255,114,.55);
  pointer-events:none;
}
body:after{
  content:"● ONLINE";
  position:fixed;
  top:10px;
  right:14px;
  z-index:9999;
  font-family:monospace;
  font-weight:700;
  letter-spacing:1px;
  color:var(--bb-green);
  text-shadow:0 0 8px rgba(57,255,114,.45);
  pointer-events:none;
}

/* Force the remaining OpenSpeedTest blue accent to Blackbird green */
svg [style*="#39ff72"],
svg [style*="#4d4d4d"]{ }

/* Common SVG blue/blackbird colors */
svg .openSpeedtestApp *[style*="#39ff72"]{
  fill:var(--bb-green-soft) !important;
}
svg .openSpeedtestApp *[style*="#4d4d4d"]{
  fill:#dce5df !important;
}

/* White utility icons requested by the user */
#userIcon, #serverIcon,
img[src*="user"], img[src*="server"]{
  filter:brightness(0) invert(1) !important;
  opacity:1 !important;
}

/* If the icons are SVG image objects, keep them visually white */
svg image[href*="user"], svg image[href*="server"],
svg image[xlink\:href*="user"], svg image[xlink\:href*="server"]{
  filter:brightness(0) invert(1) !important;
}

/* Terminal cursor */
.bb-terminal-cursor{
  display:inline-block;
  width:.62em;
  height:1em;
  margin-left:.16em;
  vertical-align:-.12em;
  background:var(--bb-green);
  box-shadow:0 0 9px rgba(57,255,114,.55);
  animation:bbBlink .85s steps(1,end) infinite;
}
@keyframes bbBlink{50%{opacity:0}}

/* Green native buttons / progress */
button,
input[type="button"],
input[type="submit"]{
  border-color:var(--bb-green) !important;
}

/* Embedded SVG utility icons: explicitly white */
#OpenSpeedtest #personLeft,
#OpenSpeedtest #doc,
#OpenSpeedtest .personLeft,
#OpenSpeedtest .doc {
  fill:#ffffff !important;
  opacity:1 !important;
}

/* The user/server icons are intentionally pure white. */
.bb-white-icon { filter:none !important; opacity:1 !important; }
