/* spectator/css/career-profiles.css — Career Profiles styling */

.career-header {
  text-align: center;
  padding: 20px 0;
}
.career-header h2 { font-size: 1.5rem; margin: 0; }
.career-subtitle { color: #6B7280; font-size: 0.9rem; margin-top: 4px; }

.career-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  padding: 0 16px;
}

.career-card {
  background: #1F2937;
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid #374151;
}
.career-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  border-color: #60A5FA;
}

.career-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.career-agent-name { font-size: 1.2rem; font-weight: 700; color: #F3F4F6; }
.career-prestige { font-size: 0.9rem; color: #F59E0B; }

.career-stats-row {
  display: flex;
  justify-content: space-around;
  margin-bottom: 12px;
}
.career-stat { text-align: center; }
.stat-value { display: block; font-size: 1.3rem; font-weight: 700; color: #E5E7EB; }
.stat-label { display: block; font-size: 0.7rem; color: #9CA3AF; text-transform: uppercase; letter-spacing: 0.05em; }

.career-milestone-preview {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.mini-badge { font-size: 1.2rem; cursor: default; }
.mini-badge.more { font-size: 0.8rem; color: #6B7280; line-height: 1.5; }

/* Detail view */
.career-detail-card {
  background: #111827;
  border-radius: 12px;
  padding: 20px;
  margin: 20px 16px;
  border: 1px solid #374151;
}
.career-detail-card h3 { margin: 0 0 16px; color: #F3F4F6; }

.milestone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}
.milestone-badge {
  background: #1F2937;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  border: 2px solid;
  transition: transform 0.2s;
}
.milestone-badge:hover { transform: scale(1.05); }
.milestone-icon { display: block; font-size: 1.5rem; margin-bottom: 4px; }
.milestone-name { display: block; font-size: 0.75rem; font-weight: 600; }
.milestone-rarity { display: block; font-size: 0.6rem; color: #6B7280; text-transform: uppercase; margin-top: 2px; }

/* Timeline */
.career-timeline h4 { margin: 0 0 10px; color: #D1D5DB; }
.timeline-points { display: flex; flex-wrap: wrap; gap: 8px; }
.timeline-point {
  background: #1F2937;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.75rem;
}
.tp-tick { color: #6B7280; margin-right: 6px; }
.tp-score { color: #34D399; font-weight: 600; }

.career-empty, .career-error { color: #9CA3AF; text-align: center; padding: 40px; }

/* Light mode */
body:not(.dark-mode) .career-card { background: #FFFFFF; border-color: #E5E7EB; }
body:not(.dark-mode) .career-card:hover { border-color: #3B82F6; box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
body:not(.dark-mode) .career-agent-name { color: #111827; }
body:not(.dark-mode) .stat-value { color: #1F2937; }
body:not(.dark-mode) .career-detail-card { background: #F9FAFB; border-color: #E5E7EB; }
body:not(.dark-mode) .career-detail-card h3 { color: #111827; }
body:not(.dark-mode) .milestone-badge { background: #FFFFFF; }
body:not(.dark-mode) .timeline-point { background: #FFFFFF; }

/* Mobile */
@media (max-width: 768px) {
  .career-grid { grid-template-columns: 1fr; padding: 0 8px; }
  .milestone-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
  .career-detail-card { margin: 12px 8px; }
}
