/* ─────────────────────────────────────────────────────────────
   voices.css — styles for the Voices page
   Uses existing BCTX CSS variables from style.css
   ───────────────────────────────────────────────────────────── */

.voices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 18px;
}

.voices-empty {
  grid-column: 1 / -1;
  padding: 40px 20px;
  text-align: center;
  color: var(--text-soft);
  font-size: 0.9rem;
}

/* ── Card ──────────────────────────────────────────────────── */

.voice-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.voice-card:hover {
  transform: translateY(-2px);
}

.voice-card-fresh {
  border-left: 2px solid var(--accent-blue, #4ea1ff);
}

.voice-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.voice-name {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.voice-role {
  margin: 4px 0 0;
  font-size: 0.78rem;
  color: var(--text-soft);
  line-height: 1.35;
}

.voice-status {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

.voice-fresh-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-blue, #4ea1ff);
  box-shadow: 0 0 8px var(--accent-blue, #4ea1ff);
  animation: voice-pulse 2.4s ease-in-out infinite;
}

@keyframes voice-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.5; }
}

.voice-last-activity {
  font-size: 0.72rem;
  color: var(--text-soft);
  white-space: nowrap;
}

/* ── Sections ──────────────────────────────────────────────── */

.voice-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.voice-section-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-soft);
  font-weight: 600;
}

.voice-section-empty {
  font-size: 0.78rem;
  color: var(--text-soft);
  opacity: 0.6;
  padding: 4px 0;
}

/* ── Filings ───────────────────────────────────────────────── */

.voice-filings {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.voice-filing {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.02);
  transition: background 100ms ease;
}

.voice-filing:hover {
  background: rgba(78, 161, 255, 0.08);
}

.voice-filing-form {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-blue, #4ea1ff);
}

.voice-filing-date {
  font-size: 0.78rem;
  color: var(--text-soft);
}

.voice-filing-arrow {
  font-size: 0.85rem;
  color: var(--text-soft);
  opacity: 0.5;
}

/* ── News ──────────────────────────────────────────────────── */

.voice-news {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.voice-news-item {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.02);
  transition: background 100ms ease;
}

.voice-news-item:hover {
  background: rgba(78, 161, 255, 0.08);
}

.voice-news-title {
  font-size: 0.85rem;
  line-height: 1.35;
  margin-bottom: 4px;
}

.voice-news-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-soft);
}

/* ── Footer / quick links ──────────────────────────────────── */

.voice-card-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.voice-link {
  font-size: 0.75rem;
  color: var(--accent-blue, #4ea1ff);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 100ms ease;
}

.voice-link:hover {
  opacity: 1;
}

/* ── Mobile ────────────────────────────────────────────────── */

@media (max-width: 720px) {
  .voices-grid {
    grid-template-columns: 1fr;
  }
  .voice-card {
    padding: 16px;
  }
}
