/* ==========================================================================
   SYNAPSE-Med — Physical Bedside Medical Monitor Console Design System
   ========================================================================== */

:root {
  --chassis-bg: #020509;
  --bezel-border: #111d2c;
  --bezel-inner: #040810;
  
  --text-bright: #ffffff;
  --text-dim: #5a738e;
  --text-muted: #8ba3c1;

  --ecg-neon: #00e676;     /* High-Visibility Neon Green */
  --spo2-cyan: #00e5ff;     /* Oxygen Pulse Cyan */
  --nibp-yellow: #ffd600;   /* Blood Pressure Yellow */
  --resp-magenta: #e040fb;  /* Respiration Magenta */
  --temp-orange: #ff9100;   /* Temperature Orange */
  --alarm-crimson: #ff1744; /* Emergency Red */

  --font-sans: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--chassis-bg);
  color: var(--text-bright);
  font-family: var(--font-sans);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 16px;
  overflow-x: hidden;
  user-select: none;
}

/* Outer Hardware Monitor Chassis */
.monitor-chassis {
  width: 100%;
  max-width: 1680px;
  background: #08101a;
  border: 14px solid var(--bezel-border);
  border-radius: 24px;
  box-shadow: 
    0 0 0 2px #000,
    0 25px 60px rgba(0, 0, 0, 0.9),
    inset 0 0 30px rgba(0, 0, 0, 0.8);
  position: relative;
  overflow: hidden;
}

/* Simulated Screen Glass Sheen & Scanlines */
.monitor-chassis::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 40%, rgba(0,0,0,0.2) 100%);
  pointer-events: none;
  z-index: 50;
}

/* Top Hardware Status Bar */
.hardware-bar {
  background: #060c14;
  border-bottom: 2px solid #142233;
  height: 52px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hardware-leds {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.led-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.led-indicator {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #102a1d;
}
.led-indicator.active-green {
  background: var(--ecg-neon);
  box-shadow: 0 0 10px var(--ecg-neon);
}
.led-indicator.active-cyan {
  background: var(--spo2-cyan);
  box-shadow: 0 0 10px var(--spo2-cyan);
}

.patient-ribbon {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #fff;
  font-weight: 700;
}
.patient-ribbon .bed-badge {
  background: #00e676;
  color: #040911;
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 900;
}

/* Console Inner Screen Layout Grid */
.screen-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  background: var(--bezel-inner);
  min-height: 720px;
}

@media (max-width: 1280px) {
  .screen-grid {
    grid-template-columns: 1fr;
  }
}
