/* Simplified Sewerage Web App — custom styles */

body { font-size: 0.9rem; }

/* Tighter navbar */
.navbar-brand { font-weight: 700; letter-spacing: 0.02em; }

/* Alert at top of main area */
#alertBox { display: none; }

/* Settings form */
.settings-section { border-left: 3px solid #dee2e6; padding-left: 1rem; margin-bottom: 1.25rem; }
.settings-section h6 { color: #6c757d; text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.08em; margin-bottom: 0.5rem; }

/* Data entry tables: compact inputs */
#sewersTable input, #nodesTable input {
  min-width: 60px;
  padding: 0.15rem 0.35rem;
}
#sewersTable th, #nodesTable th {
  font-size: 0.75rem;
  white-space: nowrap;
}

/* Results table */
#resultsTable th { font-size: 0.75rem; white-space: nowrap; }
#resultsTable td { white-space: nowrap; font-size: 0.82rem; }

/* Sticky header on data tables */
.table-scroll { overflow-x: auto; }
.table-scroll table thead th {
  position: sticky;
  top: 0;
  background: #f8f9fa;
  z-index: 1;
}

/* Calculated result badges in results table */
.pipe-ok  { color: #198754; }
.pipe-warn{ color: #fd7e14; }
.pipe-bad { color: #dc3545; }
