/* Expert Transcripts Page */

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  margin: 0;
}

.transcripts-app {
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding-top: 48px;
  overflow: hidden;
  background: #f9fafb;
}

/* Toolbar */
.transcripts-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}

.transcripts-toolbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.transcripts-toolbar-left h1 {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

.transcripts-toolbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.source-select {
  padding: 6px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #111827;
  background: #fff;
  cursor: pointer;
  min-width: 140px;
}

.source-select:focus {
  outline: none;
  border-color: #C41230;
  box-shadow: 0 0 0 3px rgba(196, 18, 48, 0.1);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  height: 34px;
  box-sizing: border-box;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
}

.search-box:focus-within {
  border-color: #C41230;
  box-shadow: 0 0 0 3px rgba(196, 18, 48, 0.1);
}

.search-box svg {
  color: #9ca3af;
  flex-shrink: 0;
}

.search-input {
  border: none;
  outline: none;
  font-size: 13px;
  width: 180px;
  background: transparent;
}

/* Stats */
.transcripts-stats {
  display: flex;
  gap: 16px;
  padding: 12px 24px;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 20px;
  background: #f9fafb;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  min-width: 80px;
}

.stat-value {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
}

.stat-label {
  font-size: 11px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* Grid */
.transcripts-grid-container {
  flex: 1;
  padding: 0 24px 24px;
  overflow: hidden;
}

.transcripts-grid {
  height: 100%;
  width: 100%;
}

/* Pipeline status badges */
.status-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.status-badge.omega { background: #dbeafe; color: #1d4ed8; }
.status-badge.early { background: #d1fae5; color: #065f46; }
.status-badge.both { background: #ede9fe; color: #5b21b6; }

/* Source badges */
.source-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
}

.source-badge.tegus { background: #fef3c7; color: #92400e; }
.source-badge.alphasights { background: #dbeafe; color: #1e40af; }
.source-badge.alphasense { background: #e0e7ff; color: #3730a3; }

/* Loading state */
.loading-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: #6b7280;
  font-size: 14px;
}
