/* PropRadar – Custom Styles */

:root {
  --pr-primary: #0d6efd;
  --pr-sidebar-width: 0px;
}

body {
  background-color: #f8f9fa;
  font-size: 0.9rem;
}

/* ── Cards ── */
.card {
  border: none;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  border-radius: .5rem;
}

.card-header {
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.08);
  font-weight: 600;
}

/* ── Stat cards ── */
.stat-card .display-6 {
  font-weight: 700;
  color: var(--pr-primary);
}

/* ── Intent score badge ── */
.intent-bar {
  height: 6px;
  border-radius: 3px;
  background: #dee2e6;
}

.intent-bar-fill {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, #fd7e14, #198754);
  transition: width .4s ease;
}

/* ── Lead row hover ── */
.leads-table tbody tr:hover {
  background-color: #f0f4ff;
  cursor: pointer;
}

/* ── Source badges ── */
.badge-reddit   { background: #ff4500; color: #fff; }
.badge-twitter  { background: #1da1f2; color: #fff; }
.badge-google   { background: #4285f4; color: #fff; }
.badge-facebook { background: #1877f2; color: #fff; }
.badge-other    { background: #6c757d; color: #fff; }

/* ── Navbar ── */
.navbar-brand { letter-spacing: .5px; font-size: 1.15rem; }

/* ── Footer ── */
.footer { font-size: .8rem; }

/* ── Tables ── */
.table th { font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .5px; color: #6c757d; }

/* ── Scrape job status ── */
.status-pill {
  display: inline-block;
  padding: .2em .65em;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 600;
}
.status-pending   { background:#fff3cd; color:#856404; }
.status-running   { background:#cfe2ff; color:#084298; }
.status-completed { background:#d1e7dd; color:#0f5132; }
.status-failed    { background:#f8d7da; color:#842029; }

/* ── Responsive table ── */
@media (max-width: 768px) {
  .table-responsive-sm th:nth-child(n+4),
  .table-responsive-sm td:nth-child(n+4) {
    display: none;
  }
}
