/* ======================================================
   GOLF SYSTEM — DASHBOARD CARDS + SECTIONS
   ====================================================== */

.golf-dashboard-wrapper { scroll-margin-top: 50px; }

.stats-filter-bar {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
  text-align: center;
  border: 1px solid #ddd;
}

.golf-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  align-items: stretch;
}

.golf-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-header {
  background: #333;
  color: #fff;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  font-weight: bold;
}

.p-idx { color: #f39c12; }

.p-idx-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hi-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
}

.hi-up::before    { content: "▲"; }
.hi-down::before  { content: "▼"; }
.hi-same::before  { content: "●"; font-size: 10px; }

.hi-up   { background: #922020; color: #ffaaaa; }
.hi-down { background: #1a6e35; color: #a3f0be; }
.hi-same { background: #1a3a8f; color: #a8c4ff; }

.sect-title {
  font-size: 10px;
  font-weight: bold;
  color: #888;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.sect-hcap {
  padding: 12px;
  background: #f9f9f9;
  border-bottom: 1px solid #eee;
  min-height: 125px;
}

.sect-averages {
  padding: 12px;
  background: #fdfdfd;
  border-bottom: 1px solid #eee;
  min-height: 55px;
}
.sect-averages span   { color: #666; font-size: 13px; }
.sect-averages strong { color: #333; }

.sect-stats {
  padding: 12px;
  border-bottom: 1px solid #eee;
  min-height: 250px;
  flex-grow: 1;
}

.sect-recs { padding: 12px; min-height: 105px; }

.stats-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.2;
}
.stats-table td { padding: 4px 0; border-bottom: 1px solid #f5f5f5; }
.txt-pct        { color: #999; font-size: 10px; padding-right: 8px; }
.rec-sub        { color: #888; font-size: 11px; display: block; margin-top: 2px; }
