/* ============================================================
 * StarkTrade 5.0K - style-health.css
 * System Health Monitor — strip discreto bottom-left
 * ============================================================ */

.health-strip {
    position: fixed;
    bottom: 12px; left: 12px;
    z-index: 100;
    display: flex; align-items: center;
    gap: 6px 8px;
    padding: 6px 10px;
    background: rgba(7,7,10,0.85);
    border: 1px solid var(--border);
    border-radius: 3px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.55rem; letter-spacing: 1.2px;
    color: var(--text-secondary);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0.6;
    transition: opacity 0.2s ease;
}
.health-strip:hover { opacity: 1; }

.hs-led {
    width: 8px; height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex: 0 0 8px;
    transition: background 0.25s, box-shadow 0.25s;
}
.led-ok {
    background: var(--accent-neon);
    box-shadow: 0 0 6px rgba(0,255,65,0.7);
}
.led-err {
    background: var(--accent-red);
    box-shadow: 0 0 6px rgba(255,62,62,0.7);
}
.led-unknown {
    background: var(--text-secondary);
    box-shadow: 0 0 0 0 transparent;
    opacity: 0.55;
}
.hs-name { margin-right: 4px; }

.hs-ping {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.55rem;
    padding: 2px 6px;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.18s ease;
    margin-left: 4px;
}
.hs-ping:hover:not(:disabled) {
    border-color: var(--accent-ai);
    color: var(--accent-ai);
}
.hs-ping.syncing {
    color: #00cfff; border-color: #00cfff;
}
.hs-ping .ico { display: inline-block; transform-origin: center; }
.hs-ping.syncing .ico {
    animation: stk-spin 0.8s linear infinite;
}

  /* ─── Responsive: tablet/movil ──────────────────────────────── */
  @media (max-width: 768px) {
      .health-strip {
          bottom: 8px;
          left: 8px;
          right: 8px;                /* se estira de borde a borde */
          padding: 5px 8px;
          font-size: 0.5rem;
          opacity: 0.85;
          justify-content: center;
          gap: 4px 6px;
      }
      .health-strip .hs-name { margin-right: 2px; }
      .hs-ping { padding: 3px 6px; font-size: 0.55rem; }
  }
