/* activities.css — admin Run-activities dashboard (Strava feed). */

.act-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.act-window { display: flex; align-items: center; gap: 8px; }
.act-window-lbl { font-size: 13px; opacity: 0.7; letter-spacing: 1px; }
.act-window select.wo-input { width: auto; padding: 8px 12px; }
.act-meta { margin-top: 10px; }

/* ---- grand totals ---- */
.totals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 14px 0;
}
.tot {
  background: var(--card, #16171F);
  border: 1px solid var(--line-d, rgba(247,239,228,0.12));
  border-radius: 16px;
  padding: 14px 10px;
  text-align: center;
}
.tot-n { font-size: 24px; font-weight: 900; line-height: 1.1; }
.tot-l { font-size: 11px; opacity: 0.65; letter-spacing: 1px; margin-top: 4px; text-transform: uppercase; }
@media (max-width: 480px) {
  .totals-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- per-runner card ---- */
.runner-card { padding: 16px; }
.runner-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.r-av {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--coral, #FF6A3D); flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
}
.r-av-ph {
  background: var(--grey, #20212B); color: var(--cream, #F7EFE4);
  font-weight: 800; font-size: 18px;
}
.runner-id { min-width: 0; }
.runner-name { font-weight: 800; font-size: 17px; }
.runner-totals { font-size: 13px; opacity: 0.75; margin-top: 2px; }
.runner-totals b { color: var(--coral, #FF6A3D); }

/* ---- activity rows ---- */
.act-list { display: flex; flex-direction: column; }
.act-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line-d, rgba(247,239,228,0.10));
}
.act-main { min-width: 0; }
.act-name {
  font-weight: 600; font-size: 14px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.act-sub { font-size: 12px; opacity: 0.6; margin-top: 2px; }
.act-stats { text-align: right; flex: 0 0 auto; }
.act-km { font-weight: 800; font-size: 15px; }
.act-pace { font-size: 12px; opacity: 0.65; margin-top: 2px; }
.act-empty { padding: 8px 0; font-size: 13px; opacity: 0.55; }

/* ---- Strava attribution + links (Brand Guidelines) ---- */
.act-name.act-strava-link { color: inherit; text-decoration: none; display: inline-block; }
.act-strava-tag {
  font-size: 10px; font-weight: 700; color: #FC4C02; letter-spacing: 0.3px;
  white-space: nowrap; opacity: 0.9;
}
.strava-attrib {
  text-align: center; font-size: 12px; font-weight: 800; letter-spacing: 0.5px;
  color: #FC4C02; padding: 14px 0 4px;
}
.strava-bolt { font-weight: 900; }
