/*
(c) Spacehubs Africa. All rights reserved.
Licensed under the Proprietary License found in the LICENSE file
in the root directory of this source tree.
*/

/* Data tables page */
.table-row-hover:hover { background-color: #f8fafc; }
.active-pill { background-color: var(--color-sha-indigo); color: #ffffff; }
.inactive-pill { background-color: #f1f5f9; color: #64748b; }
.btn-sha-indigo:hover { background-color: var(--color-sha-indigo-text); }
.btn-sha-green:hover { background-color: var(--color-sha-green-text); }
#tab-content-area.filter-loading {
  opacity: 0.45;
  pointer-events: none;
  transition: opacity 0.1s ease;
}

/* Charts panel */
.charts-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.25rem;
}
.card {
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 1.25rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}
.card h3 {
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}
#chartBar, #chartPie, #chartMap, #chartLine, #chartTopCountries {
  width: 100%;
  height: 340px;
}
#chartTopCountries { height: 220px; }
@media (min-width: 1024px) {
  #chartMap { height: 420px; }
  #chartLine { height: 260px; }
}
#chartPie {
  overflow: hidden;
  position: relative;
}
.charts-stats { display: flex; gap: 0.75rem; align-items: center; margin-bottom: 0.75rem; }
.charts-stat { background: #fff; border: 1px solid #e6eefc; padding: 0.5rem 0.75rem; border-radius: 0.5rem; display: flex; flex-direction: column; align-items: flex-start; gap: 0.25rem; }
.charts-stat .value { font-weight: 700; font-size: 1rem; color: #0f172a; }
.charts-stat .label { font-size: 0.72rem; color: #475569; }

/* Toggle switch + amCharts export menu styles live in base.css */
