/* ===== CreatorScout App Styles ===== */
/* Design tokens inherited from landing page */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg-dark: #09090b;
  --bg-card: #131316;
  --bg-card-hover: #1a1a1f;
  --bg-surface: #0f0f12;
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --text-dark: #09090b;
  --accent: #f97316;
  --accent-warm: #fb923c;
  --accent-glow: rgba(249, 115, 22, 0.15);
  --accent-glow-strong: rgba(249, 115, 22, 0.3);
  --green: #22c55e;
  --green-glow: rgba(34, 197, 94, 0.15);
  --red: #ef4444;
  --yellow: #eab308;
  --blue: #3b82f6;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(249, 115, 22, 0.3);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.5);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Inter', sans-serif;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

a { text-decoration: none; color: inherit; }

/* ===== TOP NAV ===== */
.app-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 24px;
}

.app-nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.app-nav-left {
  display: flex;
  align-items: center;
  gap: 32px;
}

.app-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.5px;
}

.app-logo .mark { color: var(--accent); }

.app-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.app-nav-links a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.app-nav-links a:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.04);
}

.app-nav-links a.active {
  color: var(--accent);
  background: var(--accent-glow);
}

.app-nav-links svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.app-nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.outreach-badge {
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  min-width: 18px;
  text-align: center;
  line-height: 1.3;
}

/* ===== MAIN LAYOUT ===== */
.app-layout {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  min-height: calc(100vh - 60px);
}

/* ===== SIDEBAR FILTERS ===== */
.filter-sidebar {
  position: sticky;
  top: 84px;
  height: fit-content;
  max-height: calc(100vh - 108px);
  overflow-y: auto;
}

.filter-section {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 16px;
}

.filter-section h3 {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.filter-group {
  margin-bottom: 20px;
}

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.filter-input {
  width: 100%;
  padding: 10px 12px;
  background: var(--bg-dark);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.88rem;
  font-family: inherit;
  transition: border-color 0.2s;
  outline: none;
}

.filter-input:focus {
  border-color: var(--accent);
}

.filter-input::placeholder {
  color: var(--text-muted);
}

select.filter-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  cursor: pointer;
}

select.filter-input option {
  background: var(--bg-card);
  color: var(--text-primary);
}

.filter-range {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-chip {
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 500;
  background: var(--bg-dark);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.filter-chip:hover {
  border-color: rgba(255,255,255,0.12);
  color: var(--text-primary);
}

.filter-chip.active {
  background: var(--accent-glow);
  border-color: var(--border-accent);
  color: var(--accent);
}

.filter-btn {
  width: 100%;
  padding: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.filter-btn:hover {
  background: var(--accent-warm);
}

.filter-btn-outline {
  width: 100%;
  padding: 10px;
  background: transparent;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.82rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  margin-top: 8px;
}

.filter-btn-outline:hover {
  border-color: rgba(255,255,255,0.12);
  color: var(--text-primary);
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  margin-bottom: 8px;
}

.checkbox-group input[type="checkbox"] {
  appearance: none;
  width: 16px;
  height: 16px;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  background: var(--bg-dark);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.checkbox-group input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}

.checkbox-group input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-group span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ===== MAIN CONTENT ===== */
.main-content {
  min-width: 0;
}

/* ===== SEARCH BAR ===== */
.search-bar-wrap {
  position: relative;
  margin-bottom: 20px;
}

.search-bar {
  width: 100%;
  padding: 14px 16px 14px 44px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.search-bar:focus {
  border-color: var(--accent);
}

.search-bar::placeholder {
  color: var(--text-muted);
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

/* ===== RESULTS HEADER ===== */
.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.results-count {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.results-count strong {
  color: var(--text-primary);
}

.results-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sort-select {
  padding: 8px 32px 8px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-family: inherit;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  outline: none;
  cursor: pointer;
}

/* ===== CREATOR CARDS GRID ===== */
.creators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.creator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.25s;
  cursor: pointer;
  position: relative;
}

.creator-card:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.creator-card.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-md);
}

.creator-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.creator-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
  position: relative;
}

.creator-avatar .verified {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 50%;
  border: 2px solid var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
}

.creator-avatar .verified svg {
  width: 8px;
  height: 8px;
}

.creator-info {
  flex: 1;
  min-width: 0;
}

.creator-name {
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.creator-handle {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.creator-handle .platform-icon {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}

.creator-select {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 22px;
  height: 22px;
  border: 2px solid var(--border-subtle);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.creator-card.selected .creator-select {
  background: var(--accent);
  border-color: var(--accent);
}

.creator-card.selected .creator-select::after {
  content: '';
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-top: -2px;
}

.creator-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.creator-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.creator-stat .stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
}

.creator-stat .stat-value.high-engagement {
  color: var(--green);
}

.creator-stat .stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.creator-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.creator-tag {
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  background: var(--accent-glow);
  color: var(--accent);
  border: 1px solid var(--border-accent);
}

.creator-tag.platform {
  background: rgba(59, 130, 246, 0.1);
  color: var(--blue);
  border-color: rgba(59, 130, 246, 0.2);
}

.creator-tag.location-tag {
  background: rgba(255,255,255,0.04);
  color: var(--text-secondary);
  border-color: var(--border-subtle);
}

.creator-bio {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.creator-actions {
  display: flex;
  gap: 8px;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.btn-sm svg {
  width: 14px;
  height: 14px;
}

.btn-sm-primary {
  background: var(--accent);
  color: #fff;
}

.btn-sm-primary:hover {
  background: var(--accent-warm);
}

.btn-sm-outline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.btn-sm-outline:hover {
  border-color: rgba(255,255,255,0.15);
  color: var(--text-primary);
}

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 32px 0;
}

.page-btn {
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.page-btn:hover {
  border-color: rgba(255,255,255,0.12);
  color: var(--text-primary);
}

.page-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.page-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* ===== MODAL / SLIDE-OVER ===== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: none;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 0;
}

.modal-overlay.open {
  display: flex;
}

.modal-panel {
  width: 520px;
  max-width: 100%;
  height: 100vh;
  background: var(--bg-card);
  border-left: 1px solid var(--border-subtle);
  overflow-y: auto;
  padding: 32px;
  animation: slideIn 0.25s ease;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
  font-size: 1.2rem;
}

.modal-close:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text-primary);
}

.modal-header {
  margin-bottom: 28px;
  position: relative;
}

.modal-creator-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.modal-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.4rem;
  color: #fff;
  flex-shrink: 0;
}

.modal-name {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.modal-handle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.modal-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.modal-stat-card {
  background: var(--bg-dark);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}

.modal-stat-card .val {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-primary);
}

.modal-stat-card .val.accent { color: var(--accent); }
.modal-stat-card .val.green { color: var(--green); }

.modal-stat-card .lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.modal-section {
  margin-bottom: 24px;
}

.modal-section h4 {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.modal-bio {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.modal-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-detail-row:last-child { border-bottom: none; }

.modal-detail-row .label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.modal-detail-row .value {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.modal-actions {
  display: flex;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.modal-actions .btn-sm {
  flex: 1;
  justify-content: center;
  padding: 12px;
}

/* ===== OUTREACH PAGE ===== */
.outreach-layout {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  min-height: calc(100vh - 60px);
}

.outreach-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  height: fit-content;
  position: sticky;
  top: 84px;
}

.outreach-panel h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.outreach-panel .subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.compose-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.compose-input {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-dark);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  margin-bottom: 16px;
}

.compose-input:focus {
  border-color: var(--accent);
}

.compose-textarea {
  width: 100%;
  padding: 14px;
  background: var(--bg-dark);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
  min-height: 180px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.compose-textarea:focus {
  border-color: var(--accent);
}

.template-vars {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.template-var {
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--accent-glow);
  color: var(--accent);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Space Grotesk', monospace;
}

.template-var:hover {
  background: var(--accent-glow-strong);
}

.compose-send {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.compose-send:hover {
  background: var(--accent-warm);
}

.compose-send:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.compose-send svg {
  width: 18px;
  height: 18px;
}

/* Selected creators list */
.selected-creators-list {
  margin-bottom: 24px;
}

.selected-creator-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.selected-creator-item:last-child { border-bottom: none; }

.selected-creator-item .mini-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.75rem;
  color: #fff;
  flex-shrink: 0;
}

.selected-creator-item .info {
  flex: 1;
  min-width: 0;
}

.selected-creator-item .name {
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.selected-creator-item .handle {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.selected-creator-item .remove-btn {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  font-size: 1.1rem;
}

.selected-creator-item .remove-btn:hover {
  background: rgba(239, 68, 68, 0.1);
  color: var(--red);
}

/* History panel */
.history-panel {
  max-height: calc(100vh - 108px);
  overflow-y: auto;
}

.history-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 12px;
  transition: all 0.2s;
}

.history-card:hover {
  border-color: rgba(255,255,255,0.1);
}

.history-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.history-card .creator-name {
  font-size: 0.9rem;
  font-weight: 600;
}

.status-badge {
  padding: 3px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.status-badge.sent {
  background: rgba(59, 130, 246, 0.15);
  color: var(--blue);
}

.status-badge.replied {
  background: var(--green-glow);
  color: var(--green);
}

.status-badge.declined {
  background: rgba(239, 68, 68, 0.15);
  color: var(--red);
}

.history-card .subject {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.history-card .date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 80px 32px;
  color: var(--text-muted);
}

.empty-state svg {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  opacity: 0.3;
}

.empty-state h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.empty-state p {
  font-size: 0.88rem;
  max-width: 400px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===== LOADING ===== */
.loading-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
}

.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--border-subtle);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  font-size: 0.88rem;
  color: var(--text-primary);
  z-index: 300;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.success {
  border-color: rgba(34, 197, 94, 0.3);
}

.toast.error {
  border-color: rgba(239, 68, 68, 0.3);
}

/* ===== STATS BAR ===== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.stat-card .stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-primary);
}

.stat-card .stat-num.accent { color: var(--accent); }

.stat-card .stat-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .app-layout {
    grid-template-columns: 220px 1fr;
  }

  .outreach-layout {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .app-layout {
    grid-template-columns: 1fr;
  }

  .filter-sidebar {
    position: static;
    max-height: none;
  }

  .creators-grid {
    grid-template-columns: 1fr;
  }

  .modal-panel {
    width: 100%;
  }

  .stats-bar {
    grid-template-columns: 1fr 1fr;
  }

  .app-nav-links {
    display: none;
  }
}
