/* v2 shared styles — 2026-04-18 UX overhaul */
/* Use on all sub-pages for consistent look */

.v2-page-hero {
  margin: 16px 0;
  padding: 20px 24px;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  border-radius: 12px;
}

.v2-page-hero-title {
  font-size: 1.4em;
  color: #f9fafb;
  margin: 0 0 6px 0;
  font-weight: 700;
}

.v2-page-hero-sub {
  font-size: 0.9em;
  color: #9ca3af;
  margin-bottom: 14px;
}

.v2-hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}

.v2-hero-stat {
  padding: 10px 12px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.v2-hero-stat:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-1px);
}

.v2-hero-stat-num {
  font-size: 1.8em;
  font-weight: 700;
  line-height: 1;
}

.v2-hero-stat-label {
  font-size: 0.72em;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 6px;
}

.v2-hero-stat-sub {
  font-size: 0.7em;
  color: #6b7280;
  margin-top: 3px;
}

.v2-filter-bar {
  margin: 16px 0;
  padding: 10px 14px;
  background: #111827;
  border-radius: 8px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.v2-filter-bar-label {
  font-size: 0.8em;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.v2-filter-chip {
  padding: 6px 12px;
  background: #1f2937;
  color: #d1d5db;
  border: 1px solid #374151;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.82em;
  transition: all 0.15s;
}

.v2-filter-chip:hover {
  background: #374151;
  border-color: #4b5563;
}

.v2-filter-chip.active {
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
}

.v2-row {
  background: #1f2937;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 8px;
  border-left: 3px solid transparent;
  transition: all 0.15s;
}

.v2-row:hover {
  background: #283142;
}

.v2-row-interviewing { border-left-color: #22c55e; }
.v2-row-waiting { border-left-color: #3b82f6; }
.v2-row-rejected { border-left-color: #6b7280; opacity: 0.7; }
.v2-row-offer { border-left-color: #facc15; }

.v2-row-title {
  font-weight: 600;
  color: #f3f4f6;
}

.v2-row-sub {
  font-size: 0.85em;
  color: #9ca3af;
  margin-top: 3px;
}

.v2-row-meta {
  font-size: 0.75em;
  color: #6b7280;
  margin-top: 4px;
}

.v2-badge {
  display: inline-block;
  padding: 2px 8px;
  background: #374151;
  color: #d1d5db;
  border-radius: 10px;
  font-size: 0.72em;
  margin-right: 6px;
}

.v2-badge-green { background: #064e3b; color: #86efac; }
.v2-badge-blue { background: #1e3a8a; color: #bfdbfe; }
.v2-badge-red { background: #7f1d1d; color: #fecaca; }
.v2-badge-yellow { background: #713f12; color: #fde68a; }
.v2-badge-purple { background: #581c87; color: #e9d5ff; }

.v2-empty {
  padding: 40px 20px;
  text-align: center;
  color: #6b7280;
  background: #1f2937;
  border-radius: 8px;
  border: 2px dashed #374151;
}
