@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --accent: #8b5cf6;
  --accent-light: #f5f3ff;
  --success: #10b981;
  --success-light: #ecfdf5;
  --warning: #f59e0b;
  --warning-light: #fffbeb;
  --danger: #ef4444;
  --danger-light: #fef2f2;
  
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-secondary: #f1f5f9;
  --border: #e2e8f0;
  --border-focus: #94a3b8;
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.04);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.05);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.05);
  
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --font-sans: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --primary-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  --pro-gold: #f59e0b;
  --pro-gold-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.05), 0 2px 6px -1px rgba(0, 0, 0, 0.03);
  --shadow-card-hover: 0 20px 30px -4px rgba(79, 70, 229, 0.12), 0 8px 12px -3px rgba(0, 0, 0, 0.05);
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --bg-main: #0b0f19;
  --bg-card: #111827;
  --bg-card-hover: #1f2937;
  --bg-secondary: #1f2937;
  --border: #374151;
  --border-focus: #4b5563;
  
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --text-light: #6b7280;
  
  --primary-light: #1e293b;
  --accent-light: #2e1065;
  --success-light: #064e3b;
  --warning-light: #78350f;
  --danger-light: #7f1d1d;
  
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.3);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.4);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color 0.25s ease, color 0.25s ease;
}

/* Header & Nav */
.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

[data-theme="dark"] .navbar {
  background: rgba(17, 24, 39, 0.88);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 700;
  font-size: 1.25rem;
}

.brand-icon {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-secondary {
  background-color: var(--bg-secondary);
  color: var(--text-main);
  border-color: var(--border);
}
.btn-secondary:hover {
  background-color: var(--border);
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text-main);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-sm {
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
}

.btn-icon {
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
}
.btn-icon:hover {
  color: var(--text-main);
  background: var(--bg-secondary);
}

/* Hero & Natural Language Search Section */
.hero-section {
  padding: 3rem 1.5rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--text-main) 60%, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 2rem;
}

.search-box-container {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.search-box-container:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.search-field {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
}

.search-field-icon {
  font-size: 1.15rem;
  margin-left: 0.5rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.search-divider {
  width: 1px;
  height: 32px;
  background-color: var(--border);
  margin: 0 0.25rem;
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.98rem;
  color: var(--text-main);
  outline: none;
  padding: 0.5rem 0.25rem;
  min-width: 140px;
}

.search-input::placeholder {
  color: var(--text-light);
}

@media (max-width: 768px) {
  .search-box-container {
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    gap: 0.75rem;
  }
  .search-divider {
    width: 100%;
    height: 1px;
    margin: 0.1rem 0;
  }
  .search-field {
    width: 100%;
  }
}

/* Quick Tags Section */
.quick-tags-container {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.quick-tags-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.85rem;
}

.quick-tag-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-right: 0.25rem;
}

.query-chip {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.3rem 0.75rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.82rem;
}

.query-chip:hover, .query-chip.active {
  color: var(--primary);
  border-color: var(--primary);
  background: var(--primary-light);
  font-weight: 600;
}

.query-chip-loc:hover, .query-chip-loc.active {
  color: #059669;
  border-color: #10b981;
  background: #ecfdf5;
}

/* AI Interpreted Criteria Banner */
.interpreted-banner {
  margin-top: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  padding: 0.9rem 1.25rem;
  text-align: left;
  box-shadow: var(--shadow-sm);
  display: none;
}

.interpreted-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}

.interpreted-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary-light);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.filter-pill .remove-pill {
  cursor: pointer;
  color: var(--text-muted);
  font-weight: 700;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
}
.filter-pill .remove-pill:hover {
  color: var(--danger);
  background: var(--danger-light);
}

/* Main Layout */
.main-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem;
  width: 100%;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  flex: 1;
}

@media (max-width: 900px) {
  .main-container {
    grid-template-columns: 1fr;
  }
}

/* Sidebar Filters */
.filters-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  height: fit-content;
  position: sticky;
  top: 5rem;
  box-shadow: var(--shadow-sm);
}

.filters-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.25rem;
}

.filters-title {
  font-size: 1.05rem;
  font-weight: 700;
}

.filter-group {
  margin-bottom: 1.5rem;
}

.filter-group-title {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.filter-select, .filter-input {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-main);
  color: var(--text-main);
  font-size: 0.9rem;
  outline: none;
}
.filter-select:focus, .filter-input:focus {
  border-color: var(--primary);
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.radio-label, .checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-main);
  cursor: pointer;
}

/* Results Content Area */
.results-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 0.5rem;
}

.results-stats {
  font-size: 0.95rem;
  color: var(--text-muted);
}
.results-stats strong {
  color: var(--text-main);
}

.sort-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Job Cards */
.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.job-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.job-card:hover {
  border-color: var(--border-focus);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.job-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.company-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary);
  flex-shrink: 0;
  overflow: hidden;
}
.company-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.job-title-group {
  flex: 1;
}

.job-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  cursor: pointer;
}
.job-title:hover {
  color: var(--primary);
}

.job-company {
  font-size: 0.92rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.2rem;
}

.job-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
}

.badge-remote {
  background: var(--success-light);
  color: var(--success);
}
.badge-hybrid {
  background: var(--accent-light);
  color: var(--accent);
}
.badge-onsite {
  background: var(--bg-secondary);
  color: var(--text-muted);
}
.badge-salary {
  background: var(--warning-light);
  color: var(--warning);
}
.badge-dedup {
  background: var(--primary-light);
  color: var(--primary);
  border: 1px dashed var(--primary);
}
.badge-match {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
}
.badge-local-sme {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.badge-startup {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}
.badge-enterprise {
  background: #fdf4ff;
  color: #86198f;
  border: 1px solid #f5d0fe;
}
.badge-source-apna {
  background: #ecfdf5;
  color: #065f46;
  font-weight: 700;
  border: 1px solid #34d399;
}
.badge-source-naukri {
  background: #f0f9ff;
  color: #0369a1;
  font-weight: 700;
  border: 1px solid #7dd3fc;
}
.badge-source-indeed {
  background: #eef2ff;
  color: #3730a3;
  font-weight: 700;
  border: 1px solid #a5b4fc;
}
.badge-source-linkedin {
  background: #faf5ff;
  color: #6b21a8;
  font-weight: 700;
  border: 1px solid #d8b4fe;
}
.badge-source-foundit {
  background: #faf5ff;
  color: #7c2d12;
  font-weight: 700;
  border: 1px solid #fdba74;
}
.badge-source-timesjobs {
  background: #fef2f2;
  color: #991b1b;
  font-weight: 700;
  border: 1px solid #fca5a5;
}
.badge-source-shine {
  background: #fffbeb;
  color: #92400e;
  font-weight: 700;
  border: 1px solid #fcd34d;
}
.badge-source-internshala {
  background: #ecfeff;
  color: #0e7490;
  font-weight: 700;
  border: 1px solid #67e8f9;
}
.badge-source-wellfound {
  background: #fff1f2;
  color: #be123c;
  font-weight: 700;
  border: 1px solid #fda4af;
}
.badge-source-cutshort {
  background: #eef2ff;
  color: #4338ca;
  font-weight: 700;
  border: 1px solid #a5b4fc;
}
.badge-source-hirist {
  background: #f0fdfa;
  color: #0f766e;
  font-weight: 700;
  border: 1px solid #5eead4;
}
.badge-source-iimjobs {
  background: #f8fafc;
  color: #1e293b;
  font-weight: 700;
  border: 1px solid #94a3b8;
}
.badge-source-workindia {
  background: #f0fdf4;
  color: #15803d;
  font-weight: 700;
  border: 1px solid #86efac;
}
.badge-source-freshersworld {
  background: #f7fee7;
  color: #3f6212;
  font-weight: 700;
  border: 1px solid #bef264;
}

[data-theme="dark"] .badge-local-sme {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border-color: rgba(52, 211, 153, 0.3);
}
[data-theme="dark"] .badge-startup {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border-color: rgba(96, 165, 250, 0.3);
}
[data-theme="dark"] .badge-enterprise {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border-color: rgba(192, 132, 252, 0.3);
}
[data-theme="dark"] .badge-source-apna {
  background: rgba(5, 150, 105, 0.2);
  color: #34d399;
  border-color: rgba(52, 211, 153, 0.3);
}
[data-theme="dark"] .badge-source-naukri {
  background: rgba(2, 132, 199, 0.2);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.3);
}
[data-theme="dark"] .badge-source-indeed {
  background: rgba(79, 70, 229, 0.2);
  color: #818cf8;
  border-color: rgba(129, 140, 248, 0.3);
}
[data-theme="dark"] .badge-source-linkedin {
  background: rgba(147, 51, 234, 0.2);
  color: #c084fc;
  border-color: rgba(192, 132, 252, 0.3);
}
[data-theme="dark"] .badge-source-foundit {
  background: rgba(194, 65, 12, 0.2);
  color: #fb923c;
  border-color: rgba(251, 146, 60, 0.3);
}
[data-theme="dark"] .badge-source-timesjobs {
  background: rgba(220, 38, 38, 0.2);
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.3);
}
[data-theme="dark"] .badge-source-shine {
  background: rgba(217, 119, 6, 0.2);
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.3);
}
[data-theme="dark"] .badge-source-internshala {
  background: rgba(14, 116, 144, 0.2);
  color: #22d3ee;
  border-color: rgba(34, 211, 238, 0.3);
}
[data-theme="dark"] .badge-source-wellfound {
  background: rgba(225, 29, 72, 0.2);
  color: #fb7185;
  border-color: rgba(251, 113, 133, 0.3);
}
[data-theme="dark"] .badge-source-cutshort {
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
  border-color: rgba(165, 180, 252, 0.3);
}
[data-theme="dark"] .badge-source-hirist {
  background: rgba(13, 148, 136, 0.2);
  color: #2dd4bf;
  border-color: rgba(45, 212, 191, 0.3);
}
[data-theme="dark"] .badge-source-iimjobs {
  background: rgba(100, 116, 139, 0.2);
  color: #cbd5e1;
  border-color: rgba(203, 213, 225, 0.3);
}
[data-theme="dark"] .badge-source-workindia {
  background: rgba(22, 163, 74, 0.2);
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.3);
}
[data-theme="dark"] .badge-source-freshersworld {
  background: rgba(101, 163, 13, 0.2);
  color: #a3e635;
  border-color: rgba(163, 230, 53, 0.3);
}


.job-snippet {
  font-size: 0.92rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.job-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.skill-tag {
  background: var(--bg-secondary);
  color: var(--text-muted);
  font-size: 0.78rem;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
}

.job-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 0.9rem;
  font-size: 0.82rem;
  color: var(--text-light);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.source-attribution {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.job-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Slide-Over Drawer Modal */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 650px;
  background: var(--bg-card);
  box-shadow: var(--shadow-xl);
  z-index: 55;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.drawer-panel.active {
  transform: translateX(0);
}

.drawer-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.drawer-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.drawer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* User Dashboard & Kanban */
.dashboard-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  width: 100%;
}

.dashboard-header {
  margin-bottom: 2rem;
}

.dashboard-tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.tab-button {
  padding: 0.65rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}
.tab-button.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.kanban-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

@media (max-width: 1000px) {
  .kanban-grid {
    grid-template-columns: 1fr;
  }
}

.kanban-column {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 400px;
}

.kanban-col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.9rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.kanban-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Admin Dashboard Elements */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
}

.data-table-container {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  text-align: left;
}

.data-table th {
  background: var(--bg-secondary);
  padding: 0.85rem 1rem;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.data-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-main);
}

.data-table tr:hover {
  background: var(--bg-card-hover);
}

/* Status Indicator Dots */
.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.status-healthy { background-color: var(--success); box-shadow: 0 0 8px rgba(16, 185, 129, 0.6); }
.status-degraded { background-color: var(--warning); }
.status-error { background-color: var(--danger); }
.status-disabled { background-color: var(--text-light); }

/* Switch Toggle */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: var(--border);
  transition: .25s;
  border-radius: 24px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .25s;
  border-radius: 50%;
}
input:checked + .slider { background-color: var(--primary); }
input:checked + .slider:before { transform: translateX(20px); }

/* Toasts */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.25rem;
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  animation: slideIn 0.3s ease;
}
.toast-success { border-left-color: var(--success); }
.toast-danger { border-left-color: var(--danger); }

@keyframes slideIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* --- Direct Recruiter Contact & Freshness Styling --- */
.contact-card-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 1.1rem;
  margin-top: 0.85rem;
  box-shadow: var(--shadow-sm);
}

.contact-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px dashed var(--border);
}

.contact-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  font-size: 0.86rem;
}

.contact-field-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.contact-field-value {
  font-weight: 600;
  color: var(--text-main);
  word-break: break-all;
}

.contact-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.95rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border);
}

.contact-action-btn {
  font-size: 0.82rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.job-contact-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  margin-top: 0.5rem;
}

.job-contact-bar a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.job-contact-bar a:hover {
  text-decoration: underline;
}

.badge-today {
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-weight: 700;
}

.badge-recent {
  background: rgba(2, 132, 199, 0.12);
  color: #0284c7;
  border: 1px solid rgba(2, 132, 199, 0.25);
  font-weight: 600;
}


/* ==================== PRO MEMBERSHIP & PAYWALL STYLES ==================== */

/* Pro Navbar Button */
.btn-upgrade-pro {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #fff !important;
  font-weight: 700;
  border: none;
  border-radius: 20px;
  padding: 0.45rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
  transition: all 0.2s ease;
  font-size: 0.85rem;
}

.btn-upgrade-pro:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.45);
}

.badge-pro-active {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.35);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Announcement Banner */
.pro-announcement-banner {
  background: linear-gradient(90deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
  border-bottom: 1px solid rgba(99, 102, 241, 0.25);
  padding: 0.6rem 1rem;
  font-size: 0.86rem;
  color: #e0e7ff;
}

.pro-announcement-banner .banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  text-align: center;
}

.btn-banner-upgrade {
  background: #f59e0b;
  color: #000;
  border: none;
  border-radius: 14px;
  font-weight: 800;
  font-size: 0.76rem;
  padding: 0.3rem 0.75rem;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease;
}

.btn-banner-upgrade:hover {
  transform: scale(1.05);
}

/* Locked Job Card State */
.job-card.job-card-locked {
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(245, 158, 11, 0.25);
  transition: all 0.25s ease;
}

.job-card.job-card-locked:hover {
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.1);
}

.badge-locked {
  background: rgba(245, 158, 11, 0.15);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.3);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.blur-snippet {
  filter: blur(4px);
  user-select: none;
  opacity: 0.65;
}

.locked-contact-bar {
  background: rgba(245, 158, 11, 0.08) !important;
  border: 1px dashed rgba(245, 158, 11, 0.35) !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.85rem !important;
  border-radius: var(--radius);
}

.blur-text {
  filter: blur(4.5px);
  user-select: none;
  color: var(--text-muted);
}

.btn-unlock-pill {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  cursor: pointer;
}

.btn-unlock-job {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: #fff !important;
  border: none !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
}

/* Callout Card inserted after 4 free jobs */
.pro-upgrade-divider-card {
  background: radial-gradient(circle at 50% 30%, #2e1065 0%, #0f172a 100%);
  border: 2px solid rgba(168, 85, 247, 0.4);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  margin: 1.5rem 0;
  text-align: center;
  color: #fff;
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.5), 0 0 30px rgba(168, 85, 247, 0.2);
  position: relative;
  overflow: hidden;
}

.pro-upgrade-divider-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f59e0b, #ec4899, #6366f1);
}

.pro-badge-glow {
  display: inline-block;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  font-weight: 800;
  font-size: 0.74rem;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  letter-spacing: 0.5px;
  margin-bottom: 0.85rem;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.5);
}

.pro-divider-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
  color: #f8fafc;
}

.pro-divider-desc {
  font-size: 0.95rem;
  color: #cbd5e1;
  max-width: 520px;
  margin: 0 auto 1.25rem;
  line-height: 1.55;
}

.btn-pro-unlock-main {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0.85rem 1.75rem;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
  transition: all 0.2s ease;
}

.btn-pro-unlock-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(16, 185, 129, 0.55);
}

/* Payzen Checkout Modal */
.pro-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2rem;
  width: 92%;
  max-width: 480px;
  z-index: 80;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  animation: modalPop 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
  0% { transform: translate(-50%, -46%) scale(0.96); opacity: 0; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

.pro-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.pro-tag {
  background: #fef3c7;
  color: #b45309;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 0.25rem 0.65rem;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pro-modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0.4rem 0 0;
  color: var(--text-main);
}

.btn-close-pro {
  background: transparent;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
}

.pro-plan-card {
  background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 18px;
  padding: 1.2rem;
  margin-bottom: 1.25rem;
  color: #fff;
}

.pro-plan-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pro-price-tag {
  text-align: right;
}

.pro-amount {
  font-size: 1.7rem;
  font-weight: 800;
  color: #10b981;
}

.pro-period {
  font-size: 0.82rem;
  color: #94a3b8;
}

.pro-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: #cbd5e1;
}

.pro-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.pro-features-list li span {
  color: #10b981;
  font-weight: 800;
}

.pro-checkout-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  display: block;
  margin-bottom: 0.3rem;
  color: var(--text-main);
}

.btn-payzen-submit {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #fff !important;
  border: none !important;
  padding: 0.95rem !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  border-radius: var(--radius) !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.35);
  transition: transform 0.2s ease;
}

.btn-payzen-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(16, 185, 129, 0.5);
}

/* Pro Modal Polish & UPI Copy Button */
.btn-copy-upi {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 6px;
  padding: 3px 9px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.btn-copy-upi:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-1px);
}
.btn-copy-upi:active {
  transform: translateY(0);
}

.barcode-wrapper {
  background: #ffffff;
  padding: 16px;
  border-radius: 20px;
  display: inline-block;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
  margin-bottom: 0.85rem;
  border: 2px solid #e2e8f0;
}
[data-theme="dark"] .barcode-wrapper {
  border-color: #334155;
}

.qr-pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #d1fae5;
  color: #065f46;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  margin-bottom: 0.35rem;
}

.qr-pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ========================================================
   MODERN UI & MOBILE-FIRST RESPONSIVE DESIGN SYSTEM
   ======================================================== */

/* Body background ambient mesh */
body {
  background-image: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.12), transparent 70%);
  background-repeat: no-repeat;
  background-attachment: fixed;
}
[data-theme="dark"] body {
  background-image: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.2), transparent 70%);
}

/* Navbar Brand & Logo Polish */
.nav-brand {
  letter-spacing: -0.02em;
  font-weight: 800;
}
.brand-icon {
  background: var(--primary-gradient) !important;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35) !important;
  border-radius: 10px !important;
}

/* Mobile Menu Hamburger Button */
.mobile-menu-btn {
  display: none;
  font-size: 1.3rem;
  padding: 0.4rem 0.65rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-main);
  cursor: pointer;
  line-height: 1;
}

/* Slide-out Mobile Navigation Drawer */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  z-index: 120;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-nav-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 86vw;
  background: var(--bg-card);
  z-index: 130;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.35);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.mobile-nav-drawer.active {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.mobile-nav-body {
  flex: 1;
  padding: 1.25rem 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  transition: all 0.2s ease;
}
.mobile-nav-link:hover, .mobile-nav-link.active {
  background: var(--primary-light);
  color: var(--primary);
}
.nav-link-badge {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 800;
  background: #d1fae5;
  color: #065f46;
  padding: 2px 8px;
  border-radius: 9999px;
}

.mobile-nav-pro-box {
  background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: 16px;
  padding: 1.25rem;
  color: #fff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* Hero Trust Badge */
.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.22);
  backdrop-filter: blur(10px);
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  color: var(--text-main);
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.08);
  animation: fadeIn 0.4s ease;
}
.live-dot-pulse {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseLive 2s infinite;
}
@keyframes pulseLive {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Quick Tags Horizontal Scroll Polish */
.quick-tags-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.quick-tags-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}
.quick-tags-row::-webkit-scrollbar {
  display: none;
}
.quick-tag-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  margin-right: 0.25rem;
}
.query-chip {
  white-space: nowrap;
  flex-shrink: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.query-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}
.query-chip.active {
  background: var(--primary) !important;
  color: #fff !important;
  border-color: var(--primary) !important;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35) !important;
}

/* Job Cards Aesthetic Polish */
.job-card {
  border-radius: 20px !important;
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow-card) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  padding: 1.6rem !important;
  position: relative;
  overflow: hidden;
}
.job-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: var(--shadow-card-hover) !important;
  border-color: rgba(99, 102, 241, 0.4) !important;
}
.job-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: transparent;
  transition: background 0.25s ease;
}
.job-card:hover::before {
  background: var(--primary);
}

.company-avatar {
  border-radius: 14px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
  border: 1px solid var(--border) !important;
}

.job-title {
  font-size: 1.2rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.015em !important;
}

/* Badges Modernization */
.badge {
  border-radius: 8px !important;
  font-weight: 700 !important;
  padding: 0.3rem 0.65rem !important;
  font-size: 0.78rem !important;
}
.badge-today {
  background: linear-gradient(135deg, #fef3c7, #fde68a) !important;
  color: #b45309 !important;
  border: 1px solid #f59e0b !important;
}
.badge-recent {
  background: #ecfdf5 !important;
  color: #065f46 !important;
  border: 1px solid #10b981 !important;
}
.badge-salary {
  background: #f0fdf4 !important;
  color: #166534 !important;
  border: 1px solid #86efac !important;
  font-weight: 800 !important;
}

/* Recruiter Contact Bar Styling */
.job-contact-bar {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(99, 102, 241, 0.05)) !important;
  border: 1px solid rgba(245, 158, 11, 0.25) !important;
  border-radius: 12px !important;
  padding: 0.65rem 1rem !important;
}
.job-contact-bar a {
  text-decoration: none;
  font-weight: 700;
  color: var(--text-main);
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.6);
  transition: all 0.2s ease;
}
[data-theme="dark"] .job-contact-bar a {
  background: rgba(255, 255, 255, 0.1);
}
.job-contact-bar a:hover {
  background: var(--primary);
  color: #ffffff;
}

/* JobFinder Pro Divider Card Polish */
.pro-upgrade-divider-card {
  background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%) !important;
  border: 2px solid #6366f1 !important;
  border-radius: 24px !important;
  padding: 2.25rem 2rem !important;
  color: #fff !important;
  text-align: center;
  box-shadow: 0 16px 40px rgba(79, 70, 229, 0.25) !important;
  position: relative;
  overflow: hidden;
}
.pro-upgrade-divider-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
  pointer-events: none;
}
.pro-badge-glow {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4) !important;
}
.pro-divider-title {
  font-size: 1.6rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
}
.btn-pro-unlock-main {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5) !important;
  font-size: 1.1rem !important;
  padding: 0.95rem 2rem !important;
  border-radius: 14px !important;
}

/* ========================================================
   MOBILE-FIRST BREAKPOINTS (< 860px, < 640px, < 480px)
   ======================================================== */

/* Mobile Filter Bar (Sticky Header for Filters) */
.mobile-filter-bar {
  display: none;
}

.mobile-sidebar-drag-handle,
.mobile-sidebar-header,
.mobile-sidebar-footer {
  display: none;
}

.mobile-filter-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 105;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.mobile-filter-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile Sticky Bottom App Navigation */
.mobile-bottom-nav {
  display: none;
}

/* Breakpoint 1: Tablet & Mobile (< 860px) */
@media (max-width: 860px) {
  /* Layout: 1 column */
  .main-container {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
    padding: 0 1rem 3rem !important;
  }

  /* Show Mobile Filter Bar above jobs */
  .mobile-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 4.25rem;
    z-index: 35;
    backdrop-filter: blur(12px);
  }

  .btn-mobile-filter-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-light);
    color: var(--primary);
    border: 1px solid rgba(79, 70, 229, 0.25);
    border-radius: 10px;
    padding: 0.55rem 1.1rem;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  .btn-mobile-filter-trigger:active {
    transform: scale(0.98);
  }

  .filter-count-badge {
    background: var(--primary);
    color: #fff;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 1px 7px;
  }

  .mobile-sort-wrapper {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.35rem 0.75rem;
  }
  .mobile-sort-icon {
    font-size: 0.85rem;
    color: var(--text-muted);
  }
  .mobile-sort-select {
    border: none;
    background: transparent;
    color: var(--text-main);
    font-size: 0.85rem;
    font-weight: 600;
    outline: none;
    cursor: pointer;
  }

  /* Desktop Filters Header hidden on mobile sheet */
  .filters-sidebar .filters-header {
    display: none;
  }

  /* Transform Sidebar into Mobile Slide-Up Sheet */
  .filters-sidebar {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    max-height: 85vh !important;
    border-radius: 24px 24px 0 0 !important;
    z-index: 110 !important;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.35) !important;
    padding: 1rem 1.5rem 1.5rem !important;
    overflow-y: auto !important;
    transform: translateY(100%) !important;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: block !important;
  }
  .filters-sidebar.active {
    transform: translateY(0) !important;
  }

  .mobile-sidebar-drag-handle {
    display: block;
    width: 44px;
    height: 5px;
    background: var(--border);
    border-radius: 9999px;
    margin: 0 auto 0.75rem;
  }

  .mobile-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1rem;
  }

  .mobile-sidebar-footer {
    display: block;
    position: sticky;
    bottom: -1.5rem;
    margin: 1rem -1.5rem -1.5rem;
    padding: 1rem 1.5rem;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 12px rgba(0,0,0,0.06);
    z-index: 10;
  }
}

/* Breakpoint 2: Smartphone (< 768px) */
@media (max-width: 768px) {
  body {
    padding-bottom: 74px !important; /* Extra clearance for mobile bottom bar */
  }

  /* Header adjustments */
  .navbar {
    padding: 0.75rem 1rem !important;
  }
  .nav-links {
    display: none !important;
  }
  .mobile-menu-btn {
    display: inline-flex !important;
  }

  /* Show Sticky Mobile App Bar */
  .mobile-bottom-nav {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 62px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    z-index: 60;
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    padding-bottom: env(safe-area-inset-bottom);
  }
  [data-theme="dark"] .mobile-bottom-nav {
    background: rgba(17, 24, 39, 0.94);
  }

  .mobile-bottom-link {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 600;
    gap: 3px;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 4px 0;
  }
  .mobile-bottom-link:active {
    transform: scale(0.95);
  }
  .mobile-bottom-link.active {
    color: var(--primary);
  }
  .mobile-bottom-link.highlight-pro {
    color: #d97706;
    font-weight: 800;
  }
  .mobile-bottom-icon {
    font-size: 1.25rem;
    line-height: 1;
  }

  /* Hero Section Mobile */
  .hero-section {
    padding: 1.75rem 1rem 1.25rem !important;
  }
  .hero-title {
    font-size: 1.85rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.5rem !important;
  }
  .hero-subtitle {
    font-size: 0.95rem !important;
    margin-bottom: 1.25rem !important;
  }

  /* Search Container Mobile: Clean vertical stacking */
  .search-box-container {
    flex-direction: column !important;
    padding: 0.85rem !important;
    border-radius: 18px !important;
    gap: 0.65rem !important;
    box-shadow: var(--shadow) !important;
  }
  .search-field {
    width: 100% !important;
    padding: 0.25rem 0.5rem !important;
  }
  .search-input {
    font-size: 0.95rem !important;
    padding: 0.55rem 0 !important;
  }
  .search-divider {
    width: 100% !important;
    height: 1px !important;
    margin: 0 !important;
  }
  #btn-search {
    width: 100% !important;
    padding: 0.85rem !important;
    font-size: 1rem !important;
    border-radius: 12px !important;
  }

  /* Job Cards Mobile */
  .job-card {
    padding: 1.25rem !important;
    border-radius: 16px !important;
    gap: 0.85rem !important;
  }
  .job-title {
    font-size: 1.05rem !important;
  }
  .job-card-header {
    gap: 0.75rem !important;
  }
  .company-avatar {
    width: 42px !important;
    height: 42px !important;
    font-size: 1.05rem !important;
    border-radius: 12px !important;
  }
  .job-badges {
    gap: 0.35rem !important;
  }
  .badge {
    font-size: 0.72rem !important;
    padding: 0.25rem 0.55rem !important;
  }
  .job-contact-bar {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.4rem !important;
    padding: 0.6rem 0.75rem !important;
    font-size: 0.82rem !important;
  }
  .job-card-footer {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
  }
  .source-attribution {
    font-size: 0.76rem !important;
  }
  .job-actions {
    width: 100% !important;
  }
  .job-actions button,
  .job-actions a {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.65rem !important;
  }

  /* Payzen Pro Modal on Mobile */
  .pro-modal {
    width: 95% !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    padding: 1.35rem !important;
    border-radius: 20px !important;
  }
  .pro-plan-card {
    padding: 1rem !important;
  }
  .pro-features-list {
    font-size: 0.78rem !important;
  }
  .barcode-wrapper {
    padding: 10px !important;
  }
  #qrcode-display-canvas {
    width: 200px !important;
    height: 200px !important;
  }
  #qrcode-display-canvas img {
    width: 190px !important;
    height: 190px !important;
  }

  /* Slide-Over Detail Drawer Mobile: 95vh Bottom Sheet */
  .job-drawer {
    width: 100% !important;
    max-width: 100% !important;
    height: 94vh !important;
    top: auto !important;
    bottom: 0 !important;
    border-radius: 24px 24px 0 0 !important;
    transform: translateY(100%) !important;
  }
  .job-drawer.active {
    transform: translateY(0) !important;
  }
}

/* Extra Small Phones (< 400px) */
@media (max-width: 400px) {
  .hero-title {
    font-size: 1.6rem !important;
  }
  .btn-upgrade-pro span {
    display: none;
  }
  .pro-modal {
    padding: 1.1rem !important;
  }
}

/* Dashboard & Admin Mobile Polish */
@media (max-width: 768px) {
  .dashboard-container,
  .admin-container {
    padding: 1rem !important;
  }
  .dashboard-header {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.85rem !important;
    margin-bottom: 1.25rem !important;
  }
  .dashboard-header h1 {
    font-size: 1.5rem !important;
  }
  .dashboard-tabs {
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 4px !important;
    margin-bottom: 1rem !important;
  }
  .dashboard-tabs::-webkit-scrollbar {
    display: none;
  }
  .tab-button {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    padding: 0.5rem 0.9rem !important;
    font-size: 0.85rem !important;
  }
  .kanban-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  .admin-metrics-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }
}
@media (max-width: 480px) {
  .admin-metrics-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ==================== BULLETPROOF PRO MODAL & BACKDROP ==================== */
#pro-modal-backdrop,
.drawer-backdrop#pro-modal-backdrop {
  display: none !important;
  position: fixed !important;
  inset: 0 !important;
  background: rgba(15, 23, 42, 0.75) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 99998 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.25s ease !important;
}

#pro-modal-backdrop.active,
.drawer-backdrop#pro-modal-backdrop.active {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Base Modal Container: ALWAYS HIDDEN BY DEFAULT */
#pro-modal,
.pro-modal {
  display: none !important;
  position: fixed !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
  z-index: 99999 !important;
  color: #0f172a !important;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  pointer-events: none !important;
}

/* Dark Mode support */
[data-theme="dark"] #pro-modal,
[data-theme="dark"] .pro-modal {
  background: #111827 !important;
  color: #f9fafb !important;
  border-color: #374151 !important;
}

/* ONLY display when active */
#pro-modal.active,
.pro-modal.active {
  display: flex !important;
  pointer-events: auto !important;
}

/* Mobile Screen Layout (<= 768px - Native Bottom Sheet) */
@media (max-width: 768px) {
  #pro-modal.active,
  .pro-modal.active {
    inset: auto 0 0 0 !important;
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: 92dvh !important;
    max-height: 92vh !important;
    border-radius: 24px 24px 0 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45) !important;
    border: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
    animation: sheetSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .pro-modal-drag-handle {
    display: block !important;
    width: 44px;
    height: 5px;
    background: #cbd5e1;
    border-radius: 3px;
    margin: 10px auto 4px;
    flex-shrink: 0;
  }
  [data-theme="dark"] .pro-modal-drag-handle {
    background: #4b5563;
  }
}

/* Desktop Screen Layout (> 768px - Elegant Centered Dialog) */
@media (min-width: 769px) {
  #pro-modal.active,
  .pro-modal.active {
    top: 50% !important;
    left: 50% !important;
    bottom: auto !important;
    right: auto !important;
    transform: translate(-50%, -50%) !important;
    width: 92% !important;
    max-width: 490px !important;
    max-height: 88vh !important;
    border-radius: 24px !important;
    padding: 0 !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.45) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .pro-modal-drag-handle {
    display: none !important;
  }
}

@keyframes sheetSlideUp {
  0% { transform: translateY(100%); }
  100% { transform: translateY(0); }
}

@keyframes modalPop {
  0% { transform: translate(-50%, -46%) scale(0.96); opacity: 0; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

/* Sticky Header */
.pro-modal-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0.85rem 1.25rem !important;
  border-bottom: 1px solid #f1f5f9 !important;
  flex-shrink: 0 !important;
  background: inherit !important;
}
[data-theme="dark"] .pro-modal-header {
  border-bottom-color: #1f2937 !important;
}

.pro-modal-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pro-crown-badge {
  font-size: 1.4rem;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
  flex-shrink: 0;
}

.pro-modal-title {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  color: #0f172a !important;
}
[data-theme="dark"] .pro-modal-title {
  color: #f9fafb !important;
}

.pro-gold-text {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pro-modal-subtitle {
  font-size: 0.78rem !important;
  color: #64748b !important;
  font-weight: 600 !important;
  margin-top: 2px !important;
}
[data-theme="dark"] .pro-modal-subtitle {
  color: #9ca3af !important;
}

.pro-price-tag {
  color: #10b981 !important;
  font-weight: 800 !important;
}

.pro-modal-close-btn {
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  border: 1px solid #e2e8f0 !important;
  background: #f8fafc !important;
  color: #64748b !important;
  font-size: 1.25rem !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  padding: 0 !important;
}
[data-theme="dark"] .pro-modal-close-btn {
  background: #1f2937 !important;
  border-color: #374151 !important;
  color: #9ca3af !important;
}
.pro-modal-close-btn:hover {
  background: #fee2e2 !important;
  color: #ef4444 !important;
  border-color: #fca5a5 !important;
}

/* Scrollable Body */
.pro-modal-body {
  flex: 1 1 auto !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior: contain !important;
  padding: 1rem 1.25rem 2rem !important;
  box-sizing: border-box !important;
}

/* Value Props Strip */
.pro-perks-strip {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 0.5rem 0.65rem !important;
  margin-bottom: 0.85rem !important;
  gap: 0.35rem !important;
}
[data-theme="dark"] .pro-perks-strip {
  background: #1e293b !important;
  border-color: #334155 !important;
}
.pro-perk-item {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  color: #475569 !important;
  white-space: nowrap !important;
}
[data-theme="dark"] .pro-perk-item {
  color: #cbd5e1 !important;
}

/* Segmented Payment Tabs */
.pro-payment-tabs {
  display: flex !important;
  background: #f1f5f9 !important;
  border-radius: 12px !important;
  padding: 3px !important;
  margin-bottom: 0.85rem !important;
  gap: 4px !important;
}
[data-theme="dark"] .pro-payment-tabs {
  background: #1f2937 !important;
}
.pro-tab-btn {
  flex: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 0.55rem 0.6rem !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  border-radius: 9px !important;
  border: none !important;
  background: transparent !important;
  color: #64748b !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
}
[data-theme="dark"] .pro-tab-btn {
  color: #9ca3af !important;
}
.pro-tab-btn.active {
  background: #ffffff !important;
  color: #2563eb !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
}
[data-theme="dark"] .pro-tab-btn.active {
  background: #111827 !important;
  color: #60a5fa !important;
}

/* Barcode Card */
.pro-qr-section {
  text-align: center !important;
  margin-bottom: 0.85rem !important;
}
.pro-barcode-card {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 20px !important;
  padding: 10px !important;
  display: inline-block !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06) !important;
  margin: 0.4rem auto 0.25rem !important;
}
#qrcode-display-canvas {
  width: 180px !important;
  height: 180px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto !important;
}
#qrcode-display-canvas img {
  width: 180px !important;
  height: 180px !important;
  border-radius: 12px !important;
  display: block !important;
}
.pro-qr-subtext {
  font-size: 0.75rem !important;
  color: #64748b !important;
  font-weight: 600 !important;
}
[data-theme="dark"] .pro-qr-subtext {
  color: #9ca3af !important;
}

/* Mobile 1-Tap UPI Button */
.btn-mobile-upi-action {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  width: 100% !important;
  padding: 0.85rem 1rem !important;
  background: linear-gradient(135deg, #6366f1, #4f46e5) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 0.95rem !important;
  border-radius: 14px !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35) !important;
  margin-bottom: 0.85rem !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
  white-space: normal !important;
  text-align: center !important;
  line-height: 1.3 !important;
}
.btn-mobile-upi-action:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45) !important;
}

/* UPI Info Card */
.pro-upi-info-card {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  padding: 0.75rem 0.9rem !important;
  margin-bottom: 0.85rem !important;
  box-sizing: border-box !important;
}
[data-theme="dark"] .pro-upi-info-card {
  background: #1e293b !important;
  border-color: #334155 !important;
}
.pro-upi-info-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 0.5rem !important;
}
.pro-upi-label {
  font-size: 0.78rem !important;
  color: #64748b !important;
}
[data-theme="dark"] .pro-upi-label {
  color: #9ca3af !important;
}
.pro-upi-val {
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
}
[data-theme="dark"] .pro-upi-val {
  color: #f9fafb !important;
}
.pro-amount-pill {
  background: #ecfdf5 !important;
  color: #059669 !important;
  border: 1px solid #a7f3d0 !important;
  padding: 2px 8px !important;
  border-radius: 20px !important;
  font-weight: 800 !important;
  font-size: 0.85rem !important;
}
[data-theme="dark"] .pro-amount-pill {
  background: rgba(16, 185, 129, 0.2) !important;
  color: #34d399 !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
}

.pro-upi-id-container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  background: #ffffff !important;
  border: 1px dashed #cbd5e1 !important;
  border-radius: 10px !important;
  padding: 6px 10px !important;
  box-sizing: border-box !important;
}
[data-theme="dark"] .pro-upi-id-container {
  background: #0f172a !important;
  border-color: #475569 !important;
}
.pro-upi-id-text {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  color: #2563eb !important;
  word-break: break-all !important;
  overflow-wrap: break-word !important;
  flex: 1 !important;
  text-align: left !important;
}
[data-theme="dark"] .pro-upi-id-text {
  color: #60a5fa !important;
}
.pro-upi-copy-btn {
  background: #eff6ff !important;
  color: #1d4ed8 !important;
  border: 1px solid #bfdbfe !important;
  border-radius: 8px !important;
  padding: 4px 10px !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  transition: all 0.15s ease !important;
  white-space: nowrap !important;
}
[data-theme="dark"] .pro-upi-copy-btn {
  background: #1e3a8a !important;
  color: #bfdbfe !important;
  border-color: #2563eb !important;
}
.pro-upi-copy-btn:hover {
  background: #dbeafe !important;
}

/* UTR Instant Verification Card */
.pro-utr-card {
  background: #f0fdf4 !important;
  border: 1.5px solid #86efac !important;
  border-radius: 16px !important;
  padding: 0.9rem !important;
  margin-bottom: 0.85rem !important;
  box-sizing: border-box !important;
}
[data-theme="dark"] .pro-utr-card {
  background: rgba(16, 185, 129, 0.08) !important;
  border-color: rgba(16, 185, 129, 0.3) !important;
}
.pro-utr-card-header {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  margin-bottom: 0.65rem !important;
}
.pro-utr-badge {
  background: #10b981 !important;
  color: #ffffff !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.75rem !important;
  font-weight: 800 !important;
  flex-shrink: 0 !important;
  margin-top: 2px !important;
}
.pro-utr-title {
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  color: #065f46 !important;
}
[data-theme="dark"] .pro-utr-title {
  color: #34d399 !important;
}
.pro-utr-sub {
  font-size: 0.72rem !important;
  color: #475569 !important;
  margin-top: 1px !important;
}
[data-theme="dark"] .pro-utr-sub {
  color: #94a3b8 !important;
}
.pro-utr-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.45rem !important;
}

.pro-input-styled {
  width: 100% !important;
  padding: 0.7rem 0.85rem !important;
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 10px !important;
  font-size: 0.85rem !important;
  color: #0f172a !important;
  box-sizing: border-box !important;
  outline: none !important;
  transition: border-color 0.2s ease !important;
}
[data-theme="dark"] .pro-input-styled {
  background: #0f172a !important;
  border-color: #334155 !important;
  color: #f8fafc !important;
}
.pro-input-styled:focus {
  border-color: #10b981 !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15) !important;
}
.pro-input-utr {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
}

.btn-submit-utr {
  width: 100% !important;
  padding: 0.8rem 1rem !important;
  background: linear-gradient(135deg, #10b981, #059669) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 0.92rem !important;
  border: none !important;
  border-radius: 12px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  box-sizing: border-box !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3) !important;
  transition: transform 0.15s ease !important;
  white-space: normal !important;
  line-height: 1.3 !important;
}
.btn-submit-utr:hover {
  transform: translateY(-1px) !important;
}

/* Gateway Status Row */
.pro-gateway-status-row {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.45rem !important;
  align-items: center !important;
}
.btn-check-gateway {
  width: 100% !important;
  padding: 0.6rem 0.85rem !important;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  color: #475569 !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  box-sizing: border-box !important;
  white-space: normal !important;
}
[data-theme="dark"] .btn-check-gateway {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #cbd5e1 !important;
}

.pro-poll-status {
  font-size: 0.72rem !important;
  color: #64748b !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
}
.pro-poll-spinner {
  display: inline-block;
  width: 8px;
  height: 8px;
  border: 2px solid #cbd5e1;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Gateway View (Cards/NetBanking Tab) */
.pro-gateway-card {
  text-align: center !important;
  padding: 1.25rem 0.5rem !important;
}
.pro-gateway-icon {
  font-size: 2.2rem !important;
  margin-bottom: 0.5rem !important;
}
.pro-gateway-heading {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  margin: 0 0 0.35rem !important;
}
.pro-gateway-desc {
  font-size: 0.82rem !important;
  color: #64748b !important;
  margin: 0 auto 1.25rem !important;
  max-width: 380px !important;
  line-height: 1.5 !important;
}
.pro-gateway-perks {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 0.85rem !important;
  margin-bottom: 1.25rem !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  text-align: left !important;
}
[data-theme="dark"] .pro-gateway-perks {
  background: #1e293b !important;
  border-color: #334155 !important;
}
.btn-launch-gateway {
  width: 100% !important;
  padding: 0.85rem 1rem !important;
  background: linear-gradient(135deg, #0284c7, #0369a1) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 0.95rem !important;
  border: none !important;
  border-radius: 14px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.35) !important;
  white-space: normal !important;
  text-align: center !important;
  line-height: 1.3 !important;
}


/* ==========================================================================
   ENHANCED JOBS FILTER & BRAND LOGO POLISH (HIGH VISIBILITY)
   ========================================================================== */

/* 1. Crisp Vector Brand Emblem Badge */
.brand-logo-badge {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, #0284c7, #0d9488);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.32);
  flex-shrink: 0;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.nav-brand:hover .brand-logo-badge,
.phone-brand-logo:hover .brand-logo-badge {
  transform: scale(1.06);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.42);
}

.phone-brand-logo .brand-logo-badge {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

/* 2. Prominent Desktop & Responsive Quick Filter Bar */
.quick-filter-bar {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 14px 18px;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.quick-filter-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #0284c7, #0d9488, #10b981);
}

.quick-filter-bar-header {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.quick-filter-bar-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.quick-filter-icon {
  font-size: 1.05rem;
}

.quick-filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.quick-filter-pills::-webkit-scrollbar {
  display: none;
}

.qf-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 9999px;
  border: 1.5px solid var(--border);
  background: var(--bg-secondary);
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.qf-pill:hover {
  border-color: #0284c7;
  color: #0284c7;
  transform: translateY(-1px);
}

.qf-pill.active {
  background: linear-gradient(135deg, #0284c7, #0d9488) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35) !important;
}

/* 3. Real-Time Active Filters Strip */
.active-filters-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
  animation: fadeIn 0.2s ease-in-out;
}

.active-filters-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.active-filter-tags {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.active-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eff6ff;
  border: 1.5px solid #bfdbfe;
  color: #1e40af;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all 0.15s ease;
  box-shadow: 0 1px 4px rgba(37, 99, 235, 0.1);
}

[data-theme="dark"] .active-filter-chip {
  background: rgba(30, 64, 175, 0.25);
  border-color: rgba(59, 130, 246, 0.4);
  color: #93c5fd;
}

.btn-remove-chip {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0 2px;
  opacity: 0.75;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.btn-remove-chip:hover {
  opacity: 1;
  transform: scale(1.15);
}

.btn-clear-all-filters {
  background: none;
  border: none;
  color: #ef4444;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 6px;
  margin-left: auto;
  transition: background 0.15s ease;
}
.btn-clear-all-filters:hover {
  background: rgba(239, 68, 68, 0.1);
}

/* 4. Desktop Sidebar Polish & Visibility */
.filters-sidebar {
  position: relative;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08) !important;
  border: 1.5px solid var(--border) !important;
  border-radius: 20px !important;
}

.filters-sidebar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(90deg, #0284c7, #0d9488);
}

.active-count-badge {
  display: inline-block;
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
[data-theme="dark"] .active-count-badge {
  background: rgba(5, 150, 105, 0.25);
  border-color: rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.btn-reset-filters-styled {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--bg-secondary);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 5px 11px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-reset-filters-styled:hover {
  border-color: #ef4444;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.05);
}

.filter-group-title {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 0.85rem !important;
  font-weight: 800 !important;
  color: var(--text-main) !important;
  margin-bottom: 0.5rem !important;
  letter-spacing: 0.2px !important;
}

.filter-select {
  width: 100% !important;
  padding: 10px 14px !important;
  border: 1.5px solid var(--border) !important;
  border-radius: 11px !important;
  background: var(--bg-card) !important;
  color: var(--text-main) !important;
  font-size: 0.86rem !important;
  font-weight: 600 !important;
  transition: all 0.18s ease !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
}

.filter-select:hover {
  border-color: #0284c7 !important;
}

.filter-select:focus {
  outline: none !important;
  border-color: #0284c7 !important;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2) !important;
}

/* 5. Modern Segmented Work Mode Controls */
.segmented-workmode {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.swm-btn {
  padding: 8px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 9px;
  border: 1.5px solid var(--border);
  background: var(--bg-secondary);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
}

.swm-btn:hover {
  border-color: #0284c7;
  color: var(--text-main);
}

.swm-btn.active {
  background: #0284c7 !important;
  color: #ffffff !important;
  border-color: #0284c7 !important;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35) !important;
}

/* 6. High-Contrast Mobile Filter Trigger Button */
.phone-filter-trigger-btn {
  background: linear-gradient(135deg, #059669, #047857) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 9999px !important;
  padding: 7px 15px !important;
  font-size: 0.85rem !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.38) !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}

.phone-filter-trigger-btn:active {
  transform: scale(0.96) !important;
}

#mobile-filter-count {
  background: #ffffff !important;
  color: #047857 !important;
  font-weight: 900 !important;
  border-radius: 9999px !important;
  padding: 2px 7px !important;
  font-size: 0.72rem !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15) !important;
}


/* ==========================================================================
   RESPONSIVE FILTER LAYOUT FIXES (PREVENTS SQUISHING & AWKWARD WRAPPING)
   ========================================================================== */

/* 2-Tier Clean Desktop Sidebar Header */
.filters-header {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  padding-bottom: 1rem !important;
  border-bottom: 1px solid var(--border) !important;
  margin-bottom: 1.25rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.filters-header-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  box-sizing: border-box !important;
  gap: 8px !important;
}

.filters-title-group {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  min-width: 0 !important;
}

.filters-title-icon {
  font-size: 1.25rem !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
}

.filters-title {
  font-size: 1.08rem !important;
  font-weight: 800 !important;
  color: var(--text-main) !important;
  letter-spacing: -0.015em !important;
  white-space: nowrap !important;
  margin: 0 !important;
}

.btn-reset-filters-styled {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  background: var(--bg-secondary) !important;
  border: 1.5px solid var(--border) !important;
  border-radius: 8px !important;
  padding: 4px 10px !important;
  font-size: 0.76rem !important;
  font-weight: 800 !important;
  color: var(--text-muted) !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  transition: all 0.15s ease !important;
  line-height: 1.4 !important;
}

.btn-reset-filters-styled:hover {
  border-color: #ef4444 !important;
  color: #ef4444 !important;
  background: rgba(239, 68, 68, 0.08) !important;
}

.filters-status-row {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
}

.filters-status-text {
  font-size: 0.74rem !important;
  color: var(--text-muted) !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}

.active-count-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  background: #ecfdf5 !important;
  color: #059669 !important;
  border: 1px solid #a7f3d0 !important;
  padding: 2px 9px !important;
  border-radius: 9999px !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.3px !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

[data-theme="dark"] .active-count-badge {
  background: rgba(5, 150, 105, 0.22) !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
  color: #34d399 !important;
}

/* Sidebar Responsive Container */
.filters-sidebar {
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 1.15rem 1.15rem 1.5rem 1.15rem !important;
  border-radius: 18px !important;
  border: 1.5px solid var(--border) !important;
  background: var(--bg-card) !important;
}

/* Responsive Main Grid Adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
  .main-container {
    grid-template-columns: 270px 1fr !important;
    gap: 1.25rem !important;
    padding: 1rem !important;
  }
  .filters-sidebar {
    padding: 1rem 0.9rem 1.25rem 0.9rem !important;
  }
  .filters-title {
    font-size: 1rem !important;
  }
}

@media (min-width: 1025px) {
  .main-container {
    grid-template-columns: 300px 1fr !important;
    gap: 2rem !important;
    padding: 1.5rem !important;
  }
}

/* Mobile Bottom Sheet Clean-Up */
@media (max-width: 768px) {
  .filters-sidebar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: 85vh !important;
    box-sizing: border-box !important;
    border-radius: 24px 24px 0 0 !important;
    padding: 1rem 1.25rem 2.5rem 1.25rem !important;
  }
  .filters-header {
    display: none !important;
  }
}
