

/* Base setup */
body {
  background-color: #f8f9fb;
  font-family: 'Inter', sans-serif;
  color: #222;
  margin: 0;
  padding: 0;
}

h1, h2, h3 {
  color: #2d3436;
  font-weight: 600;
}

p {
  color: #444;
}

/* Navbar */
.navbar {
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 10px 20px;
}

/* Buttons */
button, .btn, input[type="submit"] {
  background-color: #0061f2;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
}

button:hover, .btn:hover, input[type="submit"]:hover {
  background-color: #004ad9;
}

/* Graph containers */
.dash-graph, .js-plotly-plot {
  background-color: #ffffff !important;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 10px;
  margin-bottom: 20px;
}

/* Cards */
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  padding: 16px;
  margin-bottom: 20px;
}

/* Footer */
footer {
  background-color: #f1f3f6;
  text-align: center;
  padding: 10px;
  font-size: 13px;
  color: #777;
  margin-top: 40px;
  border-top: 1px solid #e0e0e0;
}

/* Spacing for mobile */
@media (max-width: 768px) {
  .card, .dash-graph {
    padding: 10px;
  }
}
/* Controls row alignment */
.fd-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.fd-input { width: 220px; }
.fd-dropdown { width: 180px; }
.fd-btn { padding: 8px 14px; }
.fd-status { margin-left: 6px; font-style: italic; color: #6b7280; }

/* Slider blocks spacing */
.fd-controls { display: grid; gap: 12px; }
.fd-control { margin-bottom: 8px; }

/* Peers input row */
.fd-peers-label { margin-right: 8px; }
.fd-peers-input { width: 420px; }

/* KPI tiles */
.section { margin: 14px 0 24px 0; }
.cards-row { display:flex; gap:16px; flex-wrap:wrap; justify-content:flex-start; }
.kpi-card {
  background:#fff; border:1px solid #e5e7eb; border-radius:12px;
  padding:14px 18px; min-width:160px; text-align:center;
  box-shadow:0 2px 6px rgba(0,0,0,0.06);
}
.kpi-value { font-size:1.2rem; font-weight:700; color:#111827; }
.kpi-label { color:#6b7280; font-size:0.9rem; }

/* Cards */
.card {
  background:#fff; border:1px solid #e5e7eb; border-radius:12px;
  padding:16px; box-shadow:0 2px 6px rgba(0,0,0,0.05); margin-bottom:16px;
}

/* DataTable tweaks */
.dash-table-container { border-radius:10px; overflow:hidden; }
