/* ==============================================   LAUNCH WITH MARK — Dashboard Stylesheet   ============================================== */:root {  --primary: #2563eb;  --primary-dark: #1d4ed8;  --primary-light: #60a5fa;  --accent: #0ea5e9;  --teal: #0d9488;  --green: #16a34a;  --purple: #7c3aed;  --orange: #ea580c;  --red: #dc2626;  --bg-page: #f0f6ff;  --bg-white: #ffffff;  --bg-sidebar: #0f172a;  --bg-sidebar-hover: #1e293b;  --text-dark: #0f172a;  --text-body: #334155;  --text-muted: #64748b;  --text-white: #ffffff;  --text-sidebar: #94a3b8;  --border: #e2e8f0;  --border-light: #f1f5f9;  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);  --shadow-lg: 0 12px 40px rgba(0,0,0,0.15);  --sidebar-w: 260px;  --topbar-h: 64px;  --radius: 12px;  --radius-sm: 8px;  --radius-full: 9999px;  --font: 'Inter', system-ui, sans-serif;  --transition: 0.2s ease;}*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }html { scroll-behavior: smooth; }body {  font-family: var(--font);  background: var(--bg-page);  color: var(--text-body);  -webkit-font-smoothing: antialiased;  display: flex;  min-height: 100vh;}/* ===================== SIDEBAR ===================== */.sidebar {  width: var(--sidebar-w);  background: var(--bg-sidebar);  display: flex;  flex-direction: column;  position: fixed;  top: 0; left: 0; bottom: 0;  z-index: 200;  transition: transform var(--transition);}.sidebar-header {  padding: 1.25rem 1.25rem 1rem;  border-bottom: 1px solid #1e293b;  display: flex;  align-items: center;  justify-content: space-between;}.brand-logo { display: flex; align-items: center; gap: 0.6rem; }.logo-icon {  width: 36px; height: 36px;  background: var(--primary);  color: white;  border-radius: 8px;  display: flex; align-items: center; justify-content: center;  font-size: 0.9rem;  flex-shrink: 0;}.logo-text { display: flex; flex-direction: column; }.brand-name { font-size: 0.88rem; font-weight: 700; color: white; line-height: 1.2; }.brand-sub { font-size: 0.72rem; color: var(--text-sidebar); }.sidebar-close {  background: none; border: none; color: var(--text-sidebar);  cursor: pointer; font-size: 1rem; display: none;}.sidebar-nav {  flex: 1;  padding: 1.25rem 0.75rem;  display: flex;  flex-direction: column;  gap: 0.25rem;}.nav-item {  display: flex;  align-items: center;  gap: 0.75rem;  padding: 0.7rem 1rem;  border-radius: var(--radius-sm);  color: var(--text-sidebar);  font-size: 0.9rem;  font-weight: 500;  text-decoration: none;  transition: background var(--transition), color var(--transition);  cursor: pointer;}.nav-item:hover { background: var(--bg-sidebar-hover); color: white; }.nav-item.active { background: var(--primary); color: white; }.nav-item i { width: 16px; text-align: center; }.sidebar-footer {  padding: 1rem 1.25rem;  border-top: 1px solid #1e293b;}.back-link {  display: flex;  align-items: center;  gap: 0.5rem;  color: var(--text-sidebar);  font-size: 0.85rem;  text-decoration: none;  transition: color var(--transition);}.back-link:hover { color: var(--primary-light); }/* ===================== MAIN WRAPPER ===================== */.main-wrapper {  margin-left: var(--sidebar-w);  flex: 1;  display: flex;  flex-direction: column;  min-height: 100vh;}/* ===================== TOPBAR ===================== */.topbar {  height: var(--topbar-h);  background: var(--bg-white);  border-bottom: 1px solid var(--border);  padding: 0 1.5rem;  display: flex;  align-items: center;  gap: 1rem;  position: sticky;  top: 0;  z-index: 100;  box-shadow: var(--shadow-sm);}.sidebar-toggle {  background: none; border: none; font-size: 1.1rem;  color: var(--text-muted); cursor: pointer; display: none;}.topbar-title {  font-weight: 700;  font-size: 1rem;  color: var(--text-dark);  flex: 1;}.topbar-actions {  display: flex;  align-items: center;  gap: 0.75rem;}.last-updated { font-size: 0.78rem; color: var(--text-muted); }.btn-refresh {  background: var(--bg-page); border: 1px solid var(--border);  border-radius: var(--radius-sm);  width: 34px; height: 34px;  display: flex; align-items: center; justify-content: center;  cursor: pointer; font-size: 0.85rem; color: var(--text-muted);  transition: background var(--transition), color var(--transition);}.btn-refresh:hover { background: var(--border); color: var(--text-dark); }.btn-refresh.spinning i { animation: spin 1s linear infinite; }@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }/* ===================== TAB CONTENT ===================== */.tab-content { display: none; padding: 2rem 1.5rem; }.tab-content.active { display: block; }.page-header { margin-bottom: 1.75rem; }.page-header h1 { font-size: 1.5rem; font-weight: 800; color: var(--text-dark); margin-bottom: 0.25rem; }.page-header p { font-size: 0.9rem; color: var(--text-muted); }/* ===================== METRICS ===================== */.metrics-grid {  display: grid;  grid-template-columns: repeat(4, 1fr);  gap: 1rem;  margin-bottom: 1.5rem;}.metric-card {  background: var(--bg-white);  border: 1px solid var(--border);  border-radius: var(--radius);  padding: 1.25rem;  display: flex;  align-items: center;  gap: 1rem;  box-shadow: var(--shadow-sm);}.metric-icon {  width: 48px; height: 48px;  border-radius: var(--radius-sm);  display: flex; align-items: center; justify-content: center;  font-size: 1.1rem;  flex-shrink: 0;}.metric-icon.blue { background: #dbeafe; color: var(--primary); }.metric-icon.green { background: #dcfce7; color: var(--green); }.metric-icon.teal { background: #ccfbf1; color: var(--teal); }.metric-icon.purple { background: #ede9fe; color: var(--purple); }.metric-value { font-size: 1.75rem; font-weight: 800; color: var(--text-dark); line-height: 1; }.metric-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.25rem; }/* ===================== CHARTS ===================== */.charts-row {  display: grid;  grid-template-columns: 2fr 1fr;  gap: 1.25rem;  margin-bottom: 1.5rem;}.chart-card {  background: var(--bg-white);  border: 1px solid var(--border);  border-radius: var(--radius);  padding: 1.25rem;  box-shadow: var(--shadow-sm);}.chart-card.wide { grid-column: auto; }.chart-header { margin-bottom: 1rem; }.chart-header h3 { font-size: 0.95rem; font-weight: 600; color: var(--text-dark); }/* ===================== TABLE CARD ===================== */.table-card {  background: var(--bg-white);  border: 1px solid var(--border);  border-radius: var(--radius);  box-shadow: var(--shadow-sm);  overflow: hidden;  margin-bottom: 1.5rem;}.table-header {  padding: 1rem 1.25rem;  border-bottom: 1px solid var(--border);  display: flex;  align-items: center;  justify-content: space-between;}.table-header h3 { font-size: 0.95rem; font-weight: 600; color: var(--text-dark); }.view-all-link {  font-size: 0.82rem;  font-weight: 500;  color: var(--primary);  text-decoration: none;  display: flex;  align-items: center;  gap: 0.3rem;  cursor: pointer;}.table-responsive { overflow-x: auto; }.leads-table {  width: 100%;  border-collapse: collapse;  font-size: 0.875rem;}.leads-table th {  background: var(--bg-page);  padding: 0.75rem 1rem;  text-align: left;  font-weight: 600;  font-size: 0.78rem;  text-transform: uppercase;  letter-spacing: 0.04em;  color: var(--text-muted);  border-bottom: 1px solid var(--border);  white-space: nowrap;}.leads-table td {  padding: 0.85rem 1rem;  border-bottom: 1px solid var(--border-light);  color: var(--text-body);  vertical-align: middle;}.leads-table tbody tr:last-child td { border-bottom: none; }.leads-table tbody tr:hover { background: var(--bg-page); }.table-loading {  text-align: center;  color: var(--text-muted);  padding: 2.5rem 1rem !important;  font-style: italic;}.table-empty {  text-align: center;  color: var(--text-muted);  padding: 3rem 1rem !important;}/* Status Badges */.badge {  display: inline-block;  padding: 0.2rem 0.6rem;  border-radius: var(--radius-full);  font-size: 0.72rem;  font-weight: 600;  text-transform: capitalize;}.badge-new { background: #dbeafe; color: #1e40af; }.badge-contacted { background: #fef9c3; color: #92400e; }.badge-converted { background: #dcfce7; color: #166534; }.badge-unsubscribed { background: #fee2e2; color: #991b1b; }/* Source Badges */.source-tag { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }/* Action Buttons */.action-btns { display: flex; gap: 0.4rem; }.btn-edit, .btn-delete {  width: 30px; height: 30px;  border-radius: var(--radius-sm);  display: flex; align-items: center; justify-content: center;  font-size: 0.78rem;  border: 1px solid var(--border);  cursor: pointer;  transition: background var(--transition), color var(--transition);}.btn-edit { background: #eff6ff; color: var(--primary); border-color: #bfdbfe; }.btn-edit:hover { background: var(--primary); color: white; }.btn-delete { background: #fef2f2; color: var(--red); border-color: #fecaca; }.btn-delete:hover { background: var(--red); color: white; }/* ===================== LEADS CONTROLS ===================== */.leads-controls {  background: var(--bg-white);  border: 1px solid var(--border);  border-radius: var(--radius);  padding: 1rem 1.25rem;  margin-bottom: 1.25rem;  display: flex;  flex-direction: column;  gap: 0.75rem;  box-shadow: var(--shadow-sm);}.search-box {  display: flex;  align-items: center;  gap: 0.5rem;  background: var(--bg-page);  border: 1px solid var(--border);  border-radius: var(--radius-sm);  padding: 0.6rem 0.9rem;}.search-box i { color: var(--text-muted); font-size: 0.85rem; }.search-box input {  border: none; background: none;  font-size: 0.9rem; font-family: var(--font);  color: var(--text-dark); width: 100%;}.search-box input:focus { outline: none; }.search-box input::placeholder { color: var(--text-muted); }.filter-row { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; }.filter-row select {  padding: 0.55rem 0.85rem;  border: 1px solid var(--border);  border-radius: var(--radius-sm);  font-size: 0.875rem;  font-family: var(--font);  color: var(--text-dark);  background: var(--bg-white);  cursor: pointer;}.filter-row select:focus { outline: 2px solid var(--primary-light); }.btn-export {  display: flex; align-items: center; gap: 0.4rem;  padding: 0.55rem 1rem;  background: var(--green);  color: white;  border: none;  border-radius: var(--radius-sm);  font-size: 0.875rem;  font-weight: 600;  font-family: var(--font);  cursor: pointer;  margin-left: auto;  transition: background var(--transition);}.btn-export:hover { background: #15803d; }/* ===================== PAGINATION ===================== */.pagination {  display: flex;  align-items: center;  justify-content: center;  gap: 1rem;  padding: 1rem;  border-top: 1px solid var(--border);}.btn-page {  display: flex; align-items: center; gap: 0.3rem;  padding: 0.45rem 0.9rem;  border: 1px solid var(--border);  border-radius: var(--radius-sm);  font-size: 0.82rem;  font-family: var(--font);  background: var(--bg-white);  color: var(--text-body);  cursor: pointer;  transition: background var(--transition), color var(--transition);}.btn-page:hover:not(:disabled) { background: var(--primary); color: white; border-color: var(--primary); }.btn-page:disabled { opacity: 0.4; cursor: not-allowed; }.page-info { font-size: 0.85rem; color: var(--text-muted); }/* ===================== ANALYTICS ===================== */.analytics-stats {  display: grid;  grid-template-columns: repeat(6, 1fr);  gap: 1rem;  margin-bottom: 1.5rem;}.a-stat {  background: var(--bg-white);  border: 1px solid var(--border);  border-radius: var(--radius);  padding: 1.25rem;  text-align: center;  box-shadow: var(--shadow-sm);}.a-stat span { display: block; font-size: 1.75rem; font-weight: 800; color: var(--primary); line-height: 1; }.a-stat small { font-size: 0.72rem; color: var(--text-muted); margin-top: 0.3rem; display: block; }/* ===================== MODALS ===================== */.modal-overlay {  position: fixed; inset: 0;  background: rgba(15,23,42,0.6);  backdrop-filter: blur(4px);  z-index: 1000;  display: flex; align-items: center; justify-content: center;  padding: 1rem;}.modal-box {  background: white;  border-radius: var(--radius);  padding: 2rem;  max-width: 480px;  width: 100%;  position: relative;  box-shadow: var(--shadow-lg);}.modal-close {  position: absolute; top: 1rem; right: 1rem;  width: 28px; height: 28px;  background: var(--bg-page); border: none; border-radius: 50%;  cursor: pointer; font-size: 0.8rem; color: var(--text-muted);  display: flex; align-items: center; justify-content: center;}.modal-box h2 { font-size: 1.15rem; font-weight: 700; color: var(--text-dark); margin-bottom: 1.25rem; }.edit-form { display: flex; flex-direction: column; gap: 0.75rem; }.edit-form label { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }.edit-form input, .edit-form select, .edit-form textarea {  width: 100%;  padding: 0.65rem 0.85rem;  border: 1.5px solid var(--border);  border-radius: var(--radius-sm);  font-size: 0.9rem;  font-family: var(--font);  color: var(--text-dark);  background: var(--bg-white);}.edit-form input:focus, .edit-form select:focus, .edit-form textarea:focus { outline: none; border-color: var(--primary); }.edit-form textarea { resize: vertical; min-height: 70px; }.edit-actions {  display: flex; gap: 0.75rem; justify-content: flex-end;  margin-top: 1.25rem;}.btn-cancel {  padding: 0.6rem 1.2rem;  background: var(--bg-page); border: 1px solid var(--border);  border-radius: var(--radius-sm); font-size: 0.875rem;  font-family: var(--font); cursor: pointer; color: var(--text-body);}.btn-save {  padding: 0.6rem 1.2rem;  background: var(--primary); color: white; border: none;  border-radius: var(--radius-sm); font-size: 0.875rem;  font-weight: 600; font-family: var(--font); cursor: pointer;  display: flex; align-items: center; gap: 0.4rem;  transition: background var(--transition);}.btn-save:hover { background: var(--primary-dark); }.delete-modal-box { text-align: center; }.delete-icon { font-size: 2.5rem; color: var(--red); margin-bottom: 0.75rem; }.delete-modal-box p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0.5rem; }.btn-delete-confirm {  padding: 0.6rem 1.2rem;  background: var(--red); color: white; border: none;  border-radius: var(--radius-sm); font-size: 0.875rem;  font-weight: 600; font-family: var(--font); cursor: pointer;  display: flex; align-items: center; gap: 0.4rem;}/* ===================== TOAST ===================== */.toast-container {  position: fixed;  bottom: 1.5rem; right: 1.5rem;  z-index: 2000;  display: flex; flex-direction: column; gap: 0.6rem;}.toast {  background: var(--bg-sidebar);  color: white;  padding: 0.75rem 1.1rem;  border-radius: var(--radius-sm);  font-size: 0.875rem;  box-shadow: var(--shadow-lg);  display: flex; align-items: center; gap: 0.5rem;  animation: slide-in 0.3s ease;  max-width: 320px;}.toast.success { background: var(--green); }.toast.error { background: var(--red); }.toast.info { background: var(--primary); }@keyframes slide-in { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }/* ===================== RESPONSIVE ===================== */@media (max-width: 1024px) {  .metrics-grid { grid-template-columns: repeat(2, 1fr); }  .analytics-stats { grid-template-columns: repeat(3, 1fr); }  .charts-row { grid-template-columns: 1fr; }}@media (max-width: 768px) {  .sidebar {    transform: translateX(-100%);  }  .sidebar.open {    transform: translateX(0);  }  .sidebar-close { display: flex; }  .sidebar-toggle { display: block; }  .main-wrapper { margin-left: 0; }  .metrics-grid { grid-template-columns: repeat(2, 1fr); }  .analytics-stats { grid-template-columns: repeat(2, 1fr); }  .tab-content { padding: 1.25rem 1rem; }}@media (max-width: 480px) {  .metrics-grid { grid-template-columns: 1fr; }  .analytics-stats { grid-template-columns: repeat(2, 1fr); }  .filter-row { flex-direction: column; }  .btn-export { margin-left: 0; width: 100%; justify-content: center; }}