/* ── DecoPlannerForDummies – stylesheet ────────────────────────────────── */

body {
  background-color: #0d1117;
  color: #c9d1d9;
}

.card {
  background-color: #161b22;
  border-color: #30363d;
}

.card-header {
  background-color: #1c2128;
  border-bottom-color: #30363d;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Gas / Cylinder row inputs */
.gas-row input,
.cyl-row input,
.gas-row select,
.cyl-row select {
  font-size: 0.78rem;
  padding: 2px 4px;
  background-color: #0d1117;
  border-color: #30363d;
  color: #c9d1d9;
}

.gas-row,
.cyl-row {
  background-color: #0d1117;
  border: 1px solid #21262d;
  border-radius: 6px;
  margin-bottom: 4px;
  padding: 4px 4px;
}

/* Tissue saturation bars */
.tissue-bar-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.tissue-label {
  width: 28px;
  font-size: 0.72rem;
  text-align: right;
  color: #8b949e;
  flex-shrink: 0;
}

.tissue-bar-bg {
  flex: 1;
  height: 14px;
  background-color: #21262d;
  border-radius: 4px;
  overflow: hidden;
}

.tissue-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.4s ease;
}

.tissue-pct {
  width: 38px;
  font-size: 0.72rem;
  color: #8b949e;
  flex-shrink: 0;
}

/* Nav tabs */
.nav-tabs .nav-link {
  color: #8b949e;
  font-size: 0.85rem;
  border-color: transparent;
}

.nav-tabs .nav-link.active {
  background-color: #161b22;
  border-color: #30363d #30363d #161b22;
  color: #58a6ff;
}

/* Badge cards */
.badge-card .card-body {
  padding: 0.5rem;
}

/* Table */
.table-dark {
  --bs-table-bg: #161b22;
  --bs-table-hover-bg: #1c2128;
  --bs-table-striped-bg: #1a1f28;
  --bs-table-border-color: #30363d;
  font-size: 0.82rem;
}

/* Scrollable profile chart */
#profileChart {
  background-color: #0d1117;
  border-radius: 8px;
  border: 1px solid #30363d;
}

/* Sticky right results panel */
.results-sticky {
  position: sticky;
  top: 0;
  max-height: 100vh;
  overflow-y: auto;
  padding-bottom: 1rem;
}

/* Alert */
.alert {
  font-size: 0.88rem;
}

/* Preset buttons */
.btn-outline-secondary {
  border-color: #30363d;
  color: #8b949e;
}
.btn-outline-secondary:hover {
  background-color: #21262d;
  color: #c9d1d9;
}

/* Scenario switches */
.scenario-switch {
  background-color: #0d1117;
  border: 1px solid #21262d;
  border-radius: 6px;
  padding: 6px 10px;
  margin: 0;
}

.scenario-switch .form-check-label {
  cursor: pointer;
  color: #c9d1d9;
}
