@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: #02060a;
  color: #00f7ff;
  font-family: 'Share Tech Mono', monospace;
  overflow: hidden;
}

/* Canvas / background grid */
.hud-grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(
      rgba(0, 247, 255, 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(0, 247, 255, 0.05) 1px,
      transparent 1px
    );
  background-size: 40px 40px;
  opacity: 0.5;
}

/* Layout container */
.container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 1.5rem auto;
  padding: 1.5rem;
  background: radial-gradient(circle at top, #07121c 0, #02060a 60%);
  border-radius: 18px;
  border: 1px solid rgba(0, 247, 255, 0.2);
  box-shadow: 0 0 32px rgba(0, 247, 255, 0.25);
  height: calc(100vh - 3rem);
  display: flex;
  flex-direction: column;
}

/* Header */
.hud-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.hud-title {
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e5feff;
  text-shadow: 0 0 12px rgba(0, 247, 255, 0.7);
}

.status-active {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 247, 255, 0.4);
  background: radial-gradient(circle, rgba(0, 247, 255, 0.15), transparent);
  font-size: 0.8rem;
  text-transform: uppercase;
}

/* Tabs */
.tabbar {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.tab-btn {
  flex: 1;
  padding: 0.45rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 247, 255, 0.2);
  background: rgba(5, 15, 26, 0.9);
  color: #9cfbff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.1s;
}

.tab-btn.active {
  background: linear-gradient(90deg, #00f7ff, #00ff9c);
  color: #02060a;
  border-color: rgba(0, 247, 255, 0.7);
  box-shadow: 0 0 14px rgba(0, 247, 255, 0.5);
}

.tab-btn:hover {
  transform: translateY(-1px);
}

/* Meta bar */
.meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  color: #7de0f0;
}

.btn {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 247, 255, 0.4);
  background: transparent;
  color: #e5feff;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
}

.btn:hover {
  background: rgba(0, 247, 255, 0.15);
  box-shadow: 0 0 10px rgba(0, 247, 255, 0.4);
  transform: translateY(-1px);
}

/* Summary row */
.summary {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.summary-box {
  background: rgba(3, 10, 18, 0.95);
  border-radius: 14px;
  border: 1px solid rgba(0, 247, 255, 0.25);
  padding: 0.75rem 0.9rem;
  font-size: 0.85rem;
  box-shadow: inset 0 0 24px rgba(0, 247, 255, 0.05);
}

.summary-box p {
  margin: 0.15rem 0;
}

/* Missing lists */
.missing-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.missing-col-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #81e8ff;
  margin-bottom: 0.25rem;
}

.missing-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 110px;
  overflow-y: auto;
  font-size: 0.8rem;
}

.missing-list li {
  padding: 0.15rem 0.35rem;
  margin-bottom: 0.1rem;
  border-radius: 999px;
  border: 1px dashed rgba(255, 99, 132, 0.6);
  color: #ffb5c7;
  background: rgba(39, 9, 17, 0.8);
}

.missing-list li.muted {
  border-style: solid;
  border-color: rgba(130, 160, 180, 0.6);
  color: #92a6b8;
  background: rgba(15, 20, 26, 0.9);
}

/* Chart panel */
.chart-panel {
  flex: 1;
  min-height: 220px;
  max-height: 320px;
  background: rgba(3, 10, 18, 0.95);
  border-radius: 14px;
  border: 1px solid rgba(0, 247, 255, 0.25);
  padding: 0.8rem 0.9rem 0.4rem;
  margin-bottom: 0.8rem;
  display: flex;
  flex-direction: column;
}

.chart-panel h4 {
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c8faff;
}

.chart-panel canvas {
  flex: 1;
}

/* Footer */
.footer {
  margin-top: auto;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(0, 247, 255, 0.1);
  font-size: 0.7rem;
  text-align: right;
  color: #648895;
}

/* Fab/Weld panel (new, but follows existing HUD look) */
.fabweld-panel {
  background: rgba(3, 10, 18, 0.95);
  border-radius: 14px;
  border: 1px solid rgba(0, 247, 255, 0.25);
  padding: 0.75rem 0.9rem;
  margin-bottom: 0.8rem;
}

.fabweld-panel h4 {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c8faff;
}

.fabweld-note {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  color: #92b9c8;
}

.fabweld-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.5rem;
}

.fabweld-btn {
  padding: 0.45rem 0.6rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 247, 255, 0.3);
  background: rgba(5, 15, 26, 0.95);
  color: #b8fff7;
  font-size: 0.8rem;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.1s;
}

.fabweld-btn:hover {
  background: rgba(0, 247, 255, 0.18);
  box-shadow: 0 0 12px rgba(0, 247, 255, 0.5);
  transform: translateY(-1px);
}

.fabweld-btn.done {
  border-color: #00ff9c;
  background: linear-gradient(90deg, rgba(0, 255, 156, 0.18), rgba(0, 247, 255, 0.18));
  box-shadow: 0 0 16px rgba(0, 255, 156, 0.6);
  color: #e8fff5;
}

/* Responsive tweaks */
@media (max-width: 900px) {
  .container {
    height: auto;
    min-height: 100vh;
  }

  .summary {
    grid-template-columns: 1fr;
  }

  .chart-panel {
    max-height: none;
  }
}

















