@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700&display=swap');

*{
margin:0;
padding:0;
box-sizing:border-box;
}

body {
  background: #555;
  font-family: Orbitron, sans-serif;
  color: #74ffff;
  position: relative; /* Acts as the new full-screen anchor for the CRT lines */
  overflow-x: hidden; /* Prevents visual elements from spilling off the screen edges */
}


.container {
  width: 95%;
  margin: auto;
  /* REMOVED: position: relative and overflow: hidden are gone from here */
}


header{

display:flex;
justify-content:space-between;
align-items:center;

padding:20px 0;

}

.logoArea{

display:flex;
align-items:center;
gap:25px;

}

.logo {
  width: 120px;
  opacity: 0.9;
  /* Turns the image grayscale, pumps up contrast, and tints it blue-cyan */
  filter: grayscale(100%) brightness(1.5) contrast(1.2) sepia(100%) hue-rotate(150deg) saturate(500%);
  
  /* Adds your signature cyber-glow around the circle edge */
  filter: drop-shadow(0 0 15px rgb(102, 255, 255)); 
  
  transition: filter 0.3s ease;
  animation: crt-wobble-heavy .6s infinite ease-in-out alternate;
}

/* Brightens the "hologram" logo up when hovered over */
.logo:hover {
  filter: grayscale(100%) brightness(1.5) contrast(1.2) sepia(100%) hue-rotate(150deg) saturate(500%) drop-shadow(0 0 15px #66ffff);
}

.title h1 {
  font-size: 70px;
  line-height: .9;
  text-shadow: 0 0 5px #66ffff, 0 0 15px rgba(102, 255, 255, 0.4);
  animation: crt-wobble-heavy .6s infinite ease-in-out alternate;
}

.title h2 {
  font-size: 70px;
  line-height: .9;
  text-shadow: 0 0 5px #66ffff, 0 0 15px rgba(102, 255, 255, 0.4);
  animation: crt-wobble-light .6s infinite ease-in-out alternate;
}

.status{

border:2px solid #66ffff;

padding:10px 20px;

text-align:center;

}

.status span{

color:#00ffff;

}

.content{

display:grid;

grid-template-columns:220px 1fr;

gap:20px;

margin-top:20px;

}

aside{

display:flex;

flex-direction:column;

gap:2px;

}

aside a{

background:black;

color:#6fffff;

padding:18px;

text-decoration:none;

text-align:center;

transition:.3s;

}



main{

display:grid;

grid-template-columns:350px 1fr;

gap:20px;

}

.card{
  background-color: #050b10;

border:2px solid #66ffff;

padding:30px;

min-height:260px;

}



.card h2{

font-size:20px;

margin-bottom:20px;

}

.card p{
      flex-shrink: 0; /* Prevents the card from squishing/stretching in width */
  flex-grow: 0;   /* Prevents the card from expanding to fill empty space */

font-size:15px;

line-height:1.5;

}

footer {
  width: 100%; /* Creates a clean gap on the left and right sides */
  max-width: 2000px; /* Locks it from stretching too wide on huge monitors */
  margin: 200px auto 200px auto; /* The last '40px' creates the gap at the absolute bottom */
  position: relative;
  left: auto;
  transform: none;
  padding: 0;
}

.footer-terminal {
  /* RESTORED: Re-enables the full box outline so it matches your other cards */
  border: 2px solid #66ffff; 
  background: #1b1b1b;
  box-shadow: 0 0 15px rgba(102, 255, 255, 0.1);
  font-family: 'Orbitron', sans-serif;
  width: 100%;
}

.footer-header {
  display: flex;
  justify-content: space-between;
  background: rgba(102, 255, 255, 0.1);
  border-bottom: 1px solid #66ffff;
  padding: 12px 30px; /* Expanded padding on header line edges */
  font-size: 12px;
  letter-spacing: 2px;
}

.system-node {
  color: #66ffff;
  font-weight: 600;
}

.live-clock {
  color: #66ffff;
}

/* CHANGED: Boosted gap spaces to pull columns wide to the screen edges */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)); 
  gap: 30px; 
  padding: 40px 30px; 
  border-bottom: 1px dashed rgba(102, 255, 255, 0.2);
  align-items: start;
}

.footer-col h4 {
  font-size: 14px;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.footer-col p {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(116, 255, 255, 0.8);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: #66ffff;
  text-decoration: none;
  font-size: 12px;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  text-shadow: 0 0 5px #66ffff;
  opacity: 0.8;
}

.sys-metrics {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: rgba(116, 255, 255, 0.8);
}

.footer-copyright {
  display: flex;
  justify-content: space-between;
  padding: 12px 30px; /* Matches grid edge offsets */
  font-size: 10px;
  color: rgba(116, 255, 255, 0.4);
  letter-spacing: 1px;
}



.status{
    position:relative;
    display:inline-block;

    border:2px solid #66ffff;
    padding:20px;
    margin-top:30px;

    color:#66ffff;
}

.status-title{
    position:absolute;
    top:-20px;
    left:30px;

    background:#555;      /* Must match your page background */
    padding:0 8px;

    font-size:11px;
    color:#66ffff;

    z-index:10;
}

.online{
    display:flex;
    align-items:center;
    gap:8px;
}

.dot{
    width:10px;
    height:10px;
    border-radius:50%;
    background:#00ffff;

    animation:blink 3s infinite;
}

@keyframes blink{
    50%{
        opacity:0;
    }
}

.cyber-btn, 
.slot-btn {
  display: block !important;
  width: 100% !important; /* Spans smoothly to fit whatever container card it is inside */
  height: auto !important; /* Removes the heavy 60px layout freeze constraint */
  text-align: center !important;
  text-decoration: none !important;
  background: #111 !important; /* Matches the solid dark background of your schedule cells */
  color: #66ffff !important;
  border: 1px solid #66ffff !important; /* Drops the heavy 2px lines for a crisp 1px matrix line */
  padding: 12px 0 !important; /* Matches the exact spacing layout padding from your scheduler */
  font-size: 13px !important;
  font-weight: bold !important;
  font-family: 'Orbitron', sans-serif !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important; /* Fixed from 60s ease so it updates instantly */
  
  /* Reset relative layout behaviors */
  position: relative;
  justify-content: center;
  align-items: center;
}

/* GLOBAL HOVER INTERACTION FOR UNIFIED SYSTEM BUTTONS */
.cyber-btn:hover, 
.slot-btn:hover {
  background: #66ffff !important;
  color: #111 !important; /* Inverts text cleanly on hover to look exactly like the calendar selection cells */
  box-shadow: 0 0 10px #66ffff !important;
  transform: translateY(-2px) !important;
}

/* REMOVES THE OLD GRID PATTERNS INSIDE THE BUTTONS COMPLETELY */
.cyber-btn::before,
.cyber-btn:hover::before {
  display: none !important;
  content: none !important;
}

@media (max-width: 768px) {
  /* 1. FORCE FLEX LAYOUT OVER THE ENTIRE VERTICAL SIDEBAR MATRIX CONTAINER */
  .content {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px;
  }

  aside {
    width: 100% !important;
    background: #1b1b1b;
    border: 2px solid #66ffff;
    padding: 15px;
    box-shadow: 0 0 15px rgba(102, 255, 255, 0.1);
    position: relative;
  }

  /* 2. DISPLAY THE HAMBURGER BUTTON AS A RECTANGULAR CLICK TARGET BLOCK */
  .hamburger {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    background: #111 !important;
    color: #66ffff !important;
    border: 1px solid #66ffff !important;
    padding: 12px 0 !important;
    font-size: 16px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    font-family: 'Orbitron', sans-serif;
  }

  /* 3. HARD LAYER COLLAPSE: Hides links by default until opened by user click */
  .nav-menu {
    display: none !important; /* FIXED: Prevents layout leaking or stacking by default */
    flex-direction: column !important;
    gap: 12px;
    margin-top: 15px;
    width: 100% !important;
  }

  /* 4. RE-ENGAGE DYNAMIC GRID EXPANSION TRIGGER (THE FIX) */
  .nav-menu.show {
    display: flex !important; /* Snaps from hidden directly into an organized stack layout */
  }

  /* 5. RESHAPE SIDEBAR LINK BOXES TO MATCH THE SCHEDULER BUTTON LOOK */
  .nav-menu .cyber-btn {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    text-align: center !important;
    background: #111 !important;
    color: #66ffff !important;
    border: 1px solid #66ffff !important;
    padding: 12px 0 !important;
    font-size: 13px !important;
    font-weight: bold !important;
  }

  /* HOVER SYNC */
  .nav-menu .cyber-btn:hover {
    background: #66ffff !important;
    color: #111 !important;
    box-shadow: 0 0 10px #66ffff !important;
  }
}

/* DESKTOP RESET ENFORCEMENT */
@media (min-width: 769px) {
  .hamburger {
    display: none !important; /* Hides the trigger text entirely on computer screens */
  }
  .nav-menu {
    display: flex !important;
    flex-direction: column !important;
  }
}

/* Faster, sharper shaking for H1 */
@keyframes crt-wobble-heavy {
  -0%   { transform: translate(0px, 0px) skewX(0deg); }
  -0%  { transform: translate(-1px, 0.5px) skewX(-0.8deg); }
  0%  { transform: translate(0.8px, -0.8px) skewX(0.4deg); }
  -75%  { transform: translate(-0.4px, -0.4px) skewX(0.6deg); }
  -100% { transform: translate(1px, 0.8px) skewX(-0.3deg); }
}
/* Slower, subtler drifting vibration for H2 */
@keyframes crt-wobble-light {
  0%   { transform: translate(0px, 0px) skewX(0deg); }
  33%  { transform: translate(0.4px, -0.4px) skewX(0.3deg); }
  -66%  { transform: translate(-0.4px, 0.4px) skewX(-0.3deg); }
  -100% { transform: translate(0.6px, -0.2px) skewX(0.1deg); }


}
/* Static horizontal scanlines across the interface */
.container::after {
  content: "";
  position: absolute;
  height: 114%;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    rgba(85, 85, 85, 0) 50%, 
    rgba(0, 0, 0, 0.15) 50%
  );
  background-size: 100% 5px; /* Thickness of individual lines */
  pointer-events: none; /* Allows user to click buttons beneath */
  z-index: 9999;
}

/* Rolling CRT beam line */
.container::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 10px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(102, 255, 255, 0.08) 50%,
    transparent
  );
  pointer-events: none;
  z-index: 10000;
  animation: crt-beam 10s linear infinite;
}

/* Vertically loops the rolling screen refresh */
@keyframes crt-beam {
  0% {
    top: -10px;
  }
  100% {
    top: 100%;
  }
}

main {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 20px;
}

/* Stacks your cards vertically within their respective main columns */
.action-column,
.info-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Custom Grid settings for your operation segments block */
.grid-card {
  min-height: auto; 
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 15px;
}

.sector-item {
  border: 2px solid rgba(102, 255, 255, 0.4);
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  background: rgba(0, 0, 0, 0.15);
}

.active-status {
  color: #66ffff;
  font-weight: bold;
}

.warning-status {
  color: #ffb700;
  font-weight: bold;
  animation: blink 2s infinite linear;
}

/* 1. MASTER WRAPPER: Handles programmatic movements via smooth transitions */
.fly-container {
  position: fixed;
  width: 120px;  /* Giant 120px bounding box target */
  height: 120px; /* Giant 120px bounding box target */
  z-index: 99999;
  top: -100px;
  left: -100px;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: auto; /* Activates the entire 120px box for easy clicking */
  cursor: crosshair;
  opacity: 0;
  
  /* Smooth, non-linear 1.5s flight gliding path interpolation */
  transition: top 1.5s cubic-bezier(0.25, 1, 0.5, 1), 
              left 1.5s cubic-bezier(0.25, 1, 0.5, 1), 
              opacity 0.5s ease;
}

.fly-container.visible {
  opacity: 1;
}

/* 2. INNER BUG: Handles the actual clickable visual graphic */
.cyber-fly {
  width: 10px;  /* Sleek, sharp vector dot size */
  height: 10px; 
  border-radius: 50%; /* Makes it a perfect clean circle */
  background: #00ffff; /* Original bright cyan phosphor color */
  pointer-events: none; 
  position: relative;
  
  /* Pushes a deep, neon radioactive terminal aura behind the dot */
  box-shadow: 0 0 8px #00ffff, 0 0 18px rgba(0, 255, 255, 0.9);
  transform: none; 
}

/* Wings effect - Fixed to stop flattening your main bug image */
.cyber-fly::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px; 
  height: 6px;
  background: rgba(102, 255, 255, 0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  
  /* CHANGED: Uses opacity flashing instead of scale flipping to avoid bug flattening */
  animation: wing-buzz 0.08s infinite linear; 
}

/* Global Core Animations Timeline maps */
/* New safe wing buzzing animation track */
@keyframes wing-buzz { 
  0%, 100% { opacity: 0.3; } 
  50% { opacity: 0.9; } 
}

/* 3. INTERACTIVE CUSTOM IMAGE SPLAT KEYFRAMES */
.cyber-fly.squished {
  animation: bug-splat 1.5s forwards !important;
}

.cyber-fly.squished::before {
  display: none; /* Strip away wings on impact */
}

@keyframes bug-splat {
  0% {
    background: transparent;
    background-image: url('../images/splat.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: scale(5); 
    filter: drop-shadow(0 0 10px #adff2f); 
    opacity: 1;
  }
  60% {
    background: transparent;
    background-image: url('../images/splat.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: scale(5);
    filter: drop-shadow(0 0 6px #adff2f);
    opacity: 1; 
  }
  100% {
    background: transparent;
    background-image: url('../images/splat.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: scale(4.5) translateY(10px); 
    filter: drop-shadow(0 0 0px transparent);
    opacity: 0; 
  }
}

/* Subpage Layout Configurations Override */
.subpage-main {
  display: block; /* Overrides the main 2-column home grid for flat subpages */
}

.calendar-wrapper {
  border: 2px solid #66ffff;
  background: #1b1b1b;
  padding: 0;
  width: 100%;
  box-shadow: 0 0 15px rgba(102, 255, 255, 0.15);
}

.terminal-scheduler {
  display: flex;
  flex-direction: column;
}

.scheduler-header {
  display: flex;
  justify-content: space-between;
  background: rgba(102, 255, 255, 0.1);
  border-bottom: 2px solid #66ffff;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 2px;
}

.days-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(0, 0, 0, 0.3);
}

.day-column {
  border-right: 1px dashed rgba(102, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
}

.day-column:last-child {
  border-right: none;
}

.day-title {
  text-align: center;
  padding: 15px 0;
  background: rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(102, 255, 255, 0.2);
  font-size: 16px;
  font-weight: bold;
  color: #66ffff;
}

.time-slots {
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Custom terminal selection buttons */
.slot-btn {
  display: block;
  text-align: center;
  text-decoration: none;
  background: #111;
  color: #66ffff;
  border: 1px solid #66ffff;
  padding: 12px 0;
  font-size: 13px;
  font-weight: bold;
  transition: all 0.2s ease;
}

.slot-btn:hover {
  background: #66ffff;
  color: #111;
  box-shadow: 0 0 10px #66ffff;
  transform: translateY(-2px);
}

/* Combining your moving grid layout with full-viewport coverage */
body::before {
  content: "";
  position: fixed; /* Ensures it stays pinned full-screen even when scrolling */
  inset: 0;
  pointer-events: none;
  z-index: 9998; /* Keeps the grid structural elements underneath text */
  background-image: 
    linear-gradient(rgba(102,255,255,.05) 1px, transparent 1px), 
    linear-gradient(90deg, rgba(102,255,255,.05) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: gridMove 25s linear infinite;
}

/* Static horizontal scanlines stretching across the ENTIRE viewport window */
body::after {
  content: "";
  position: fixed; /* Swapped to fixed so it stretches perfectly on all resolutions */
  inset: 0;
  background: linear-gradient(
    rgba(85, 85, 85, 0) 50%, 
    rgba(0, 0, 0, 0.18) 50__ /* Slightly deepened for better visibility on wide screens */
  );
  background-size: 100% 4px; 
  pointer-events: none; 
  z-index: 10001; /* Highest structural layer so it masks the edge gaps cleanly */
}

/* Create a new tracking container for the rolling beam line so it can sit full-width */
.crt-beam-line {
  position: fixed;
  top: 0; left: 0; right: 0; height: 12px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(102, 255, 255, 0.12) 50%,
    transparent
  );
  pointer-events: none;
  z-index: 10002;
  animation: crt-beam 6s linear infinite;
}

/* Protects your footer columns from being shoved to the left */
.widget-lock-box {
  width: 100%;
  max-width: 500px; /* Limits the review feed width completely inside column one */
  overflow: hidden;
}

.terminal-review-box {
  min-height: 160px;
  max-width: 100% !important;
  width: 100% !important;
  overflow: hidden;
  position: relative;
  border-left: 2px solid rgba(102, 255, 255, 0.3);
  padding-left: 15px;
  background: transparent !important;
}

/* Pin the embedded widgets directly to the parent layout dimensions */
.terminal-review-box iframe,
.terminal-review-box .es-main-container,
.terminal-review-box div {
  max-width: 100% !important;
  width: 100% !important;
}

/* Forces widget contents to use your signature terminal theme colors */
.terminal-review-box *, 
.terminal-review-box div, 
.terminal-review-box span, 
.terminal-review-box p {
  color: #74ffff !important;         
  font-family: 'Orbitron', sans-serif !important;
  background-color: transparent !important; 
  border-color: rgba(102, 255, 255, 0.1) !important;
}

.terminal-review-box::-webkit-scrollbar {
  width: 3px;
}
.terminal-review-box::-webkit-scrollbar-thumb {
  background: #66ffff;
}

/* Creates a split-pane layout for text and photo inside the About Us card */
.about-card-layout {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.about-text-content {
  flex: 1; /* Lets the text take up the maximum remaining room */
}

/* Micro terminal subtitle tag underneath your picture frame */
.photo-tag {
  color: #66ffff;
  font-size: 11px;
  letter-spacing: 1px;
  text-align: center; /* Ensures it stays perfectly centered beneath your cyan frame box */
  margin-top: 10px;    /* Adds a clean 10px gap between the box and the text label */
  opacity: 0.8;
}

/* Responsive adjustment: Stacks the text on top of the image on smaller screens */
@media (max-width: 200px) {
  .about-card-layout {
    flex-direction: column;
    text-align: center;
  }

 .photo-frame {
  /* CHANGED: Added !important to block the external Google plugin from overriding it */
  border: 2px solid #66ffff !important; 
  background: rgb(0, 0, 0) !important;
  padding: 6px !important; 
  display: inline-block !important;
  line-height: 0 !important;
  
  /* Adds a neon cyber-glow halo directly around the photo box */
  box-shadow: 0 0 12px rgb(102, 255, 255) !important; 
}

}

/* THE CRT GRAPHIC FILTER */
.terminal-photo {
  width: 200px; 
  height: 200px; 
  object-fit: cover; 
  display: block;
  opacity: 0.8;
  
  /* FIXED: Added !important to permanently force the white line to cyan */
  border: 1px solid rgb(102, 255, 255) !important; 
  
  /* Maintains your monochromatic neon terminal green/cyan filter settings */
  filter: grayscale(100%) brightness(1.1) contrast(1.4) sepia(100%) hue-rotate(145deg) saturate(450%);
  transition: filter 0.3s ease, opacity 0.3s ease;
}

/* Creates a balanced 2-column layout grid inside the wide column */
.services-terminal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
}

/* Individual service card pods */
.service-pod {
  background: #1b1b1bf8;
  border: 2px solid #66ffff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-pod h3 {
  color: #66ffff;
  font-size: 15px;
  letter-spacing: 1px;
  margin: 0;
}

.service-pod p {
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
}

/* Forces the fifth odd-numbered service card to stretch full width across the bottom row */
.full-row-pod {
  grid-column: span 2;
}

/* Auto-stacks into a single column row layout on smaller screens */
@media (max-width: 600px) {
  .services-terminal-grid {
    grid-template-columns: 1fr;
  }
  .full-row-pod {
    grid-column: span 1;
  }
}

/* Custom formatting container for complex system readouts */
.tactical-manifest {
  background: #0d110d !important; /* Deeper dark background color for data screen feel */
}

.terminal-output-block {
  font-family: 'Courier New', Courier, monospace !important; /* Strict fixed-width system font */
  color: #74ffff;
  line-height: 1.6;
}

.manifest-divider {
  color: rgba(102, 255, 255, 0.25);
  font-size: 11px;
  letter-spacing: -1px;
  overflow: hidden;
  white-space: nowrap;
  user-select: none;
}

.manifest-system-title {
  color: #ffb700; /* Amber warning text color for main system flags */
  font-weight: bold;
  font-size: 10px;
  padding: 4px 0;
}

.manifest-section-title {
  color: #66ffff;
  font-weight: bold;
  font-size: 10px;
  padding: 4px 0;
  letter-spacing: 0.5px;
}

.console-prompt {
  color: #66ffff;
  font-weight: bold;
  margin: 10px 0 2px 0;
}

.console-text {
  margin: 0 0 10px 0;
  font-size: 13px;
}

.text-indent {
  padding-left: 15px;
}

/* Strips default lists styling and changes them to custom code bullet alignments */
.console-list {
  list-style: none;
  padding-left: 15px;
  margin: 0 0 15px 0;
}

.console-list li {
  font-size: 10px;
  margin-bottom: 6px;
}

.highlight-node {
  color: #66ffff;
  font-weight: bold;
}

.flag-minus {
  color: #ff3366; /* Red threat deletion highlight tag color */
  font-weight: bold;
}

/* Command console execution box layout */
.command-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(102, 255, 255, 0.15);
  padding: 12px;
  margin: 15px 0;
}

.run-command {
  color: #adff2f; /* Laser green command text color */
  font-weight: bold;
  margin: 0 0 4px 0;
  font-size: 13px;
}

.command-status {
  color: #66ffff;
  margin: 0;
  font-size: 13px;
  animation: blink 2s infinite linear;
}

/* Terminal Form Element Styling */
.console-input {
  width: 100%;
  box-sizing: border-box; /* CRITICAL FIX: Stops fields from bursting past card borders */
  background: #111 !important;
  border: 1px solid rgba(102, 255, 255, 0.4) !important;
  padding: 12px 15px !important;
  color: #74ffff !important;
  font-family: 'Courier New', Courier, monospace !important;
  font-size: 13px !important;
  text-transform: uppercase !important;
  border-radius: 0 !important;
  outline: none !important;
}

/* Glowing active data state when user types */
.console-input:focus {
  border-color: #66ffff !important;
  box-shadow: 0 0 10px rgba(102, 255, 255, 0.3) !important;
  background: rgba(102, 255, 255, 0.02) !important;
}

/* Clear style override for standard select tags dropdown arrow lists */
.select-box option {
  background: #1b1b1b !important;
  color: #74ffff !important;
  font-family: 'Courier New', monospace;
}

/* Responsive adjustment: force two fields to stack linearly on thin displays */
@media (max-width: 600px) {
  .form-row {
    flex-direction: column !important;
    gap: 20px !important;
  }
}

/* Custom font override for the diagnostics box title header */
.form-title {
  font-size: 14px !important; /* Reduces the scale from large h2 down to card size */
  font-family: 'Orbitron', sans-serif !important;
  color: #66ffff !important;
  letter-spacing: 1px !important;
  margin: 0 0 5px 0 !important;
  text-transform: uppercase !important;
}

/* Optional: Slight reduction for smaller phone displays so it never wraps */
@media (max-width: 480px) {
  .form-title {
    font-size: 12px !important;
    letter-spacing: 0.5px !important;
  }
}