/*
 * CH3F.co.uk - Restaurant Job Board Styles
 * Extracted from inline styles for better caching and maintainability
 */

/* ==========================================================================
   Footer Styles
   ========================================================================== */

.text-light-50 {
  color: rgba(255, 255, 255, 0.7) !important;
}

.text-light-50:hover {
  color: rgba(255, 255, 255, 0.9) !important;
  transition: color 0.2s ease;
}

footer .gap-3 a:hover {
  color: #ffc107 !important;
  transition: color 0.2s ease;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transition: min-height 0.3s ease;
}

/* ==========================================================================
   Job Cards
   ========================================================================== */

.job-card {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
  overflow: hidden;
}

.job-card:hover {
  border-color: #ff6b35;
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.15);
  transform: translateY(-4px);
}

.job-card .job-title {
  color: #2d3436;
  transition: color 0.3s ease;
}

.job-card:hover .job-title {
  color: #ff6b35;
}

.company-logo {
  transition: transform 0.3s ease;
}

.job-card:hover .company-logo {
  transform: scale(1.05);
}

.salary-range {
  font-size: 0.95rem;
  color: #00b894 !important;
}

/* ==========================================================================
   Jobs List Scrollbar
   ========================================================================== */

.jobs-list {
  height: 100%;
  overflow-y: auto;
  padding-right: 4px;
}

.jobs-list::-webkit-scrollbar {
  width: 4px;
}

.jobs-list::-webkit-scrollbar-track {
  background: transparent;
}

.jobs-list::-webkit-scrollbar-thumb {
  background: #cbd5e0;
  border-radius: 4px;
}

.jobs-list::-webkit-scrollbar-thumb:hover {
  background: #a0aec0;
}

/* ==========================================================================
   Filter Buttons & Dropdowns
   ========================================================================== */

.dropdown .btn {
  border-radius: 20px;
  font-size: 0.85rem;
  padding: 0.4rem 0.8rem;
  font-weight: 500;
}

.dropdown .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dropdown-menu {
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
  color: #495057;
}

/* ==========================================================================
   Map Markers & Clusters (Leaflet)
   ========================================================================== */

.custom-job-marker .job-marker-pin:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35) !important;
}

.custom-cluster-icon {
  transition: all 0.3s ease;
}

.custom-cluster-icon:hover {
  transform: scale(1.1);
}

.leaflet-popup-content-wrapper {
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.job-popup {
  min-width: 250px;
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.pagination {
  gap: 4px;
}

.pagination .page-link {
  border-radius: 6px;
  border: 1px solid #dee2e6;
  color: #495057;
  font-weight: 500;
  transition: all 0.3s ease;
}

.pagination .page-link:hover {
  background-color: #e9ecef;
  border-color: #adb5bd;
  color: #495057;
}

.pagination .page-item.active .page-link {
  background-color: #ff6b35;
  border-color: #ff6b35;
  color: white;
}

.pagination .page-item.disabled .page-link {
  color: #6c757d;
  background-color: #fff;
  border-color: #dee2e6;
}

/* ==========================================================================
   Premium Job Cards
   ========================================================================== */

.premium-job-card {
  background: linear-gradient(135deg, #fff9f5 0%, #ffffff 50%, #fff5f0 100%);
  border: 2px solid #ffd700;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.premium-job-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #ffd700, #ffed4e, #ffd700);
  animation: premiumShimmer 3s ease-in-out infinite;
}

.premium-job-card:hover {
  border-color: #ffb300;
  box-shadow: 0 8px 30px rgba(255, 179, 0, 0.4);
  transform: translateY(-6px);
}

.premium-job-card .badge.bg-warning {
  background: linear-gradient(45deg, #ffd700, #ffed4e) !important;
  color: #b8860b !important;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
  border: 1px solid #e6c200;
}

@keyframes premiumShimmer {

  0%,
  100% {
    opacity: 0.7;
  }

  50% {
    opacity: 1;
  }
}

/* ==========================================================================
   Navbar
   ========================================================================== */

.navbar {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

.ch3f-brand-icon {
  color: #ff6b35;
  font-size: 20px;
  transition: transform 0.2s ease;
}

.ch3f-brand-text {
  color: #2d3748;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.navbar-brand:hover .ch3f-brand-icon {
  transform: rotate(10deg);
}

.navbar-brand:hover .ch3f-brand-text {
  color: #ff6b35;
}

.navbar-nav .nav-link {
  font-weight: 500;
  font-size: 0.9375rem;
  color: #4a5568;
  padding: 0.5rem 1rem !important;
  transition: color 0.15s ease;
  letter-spacing: -0.01em;
}

.navbar-nav .nav-link:hover {
  color: #2d3748;
}

.navbar-nav .nav-link.active {
  color: #ff6b35;
  font-weight: 600;
}

.navbar .dropdown-toggle {
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
}

.navbar .btn-link.nav-link {
  background: none;
  border: none;
  color: #4a5568;
}

.navbar .btn-link.nav-link:hover {
  color: #2d3748;
}

/* ==========================================================================
   Logout Button
   ========================================================================== */

.dropdown-item.border-0 {
  padding: 0.5rem 1rem;
  text-align: left;
  width: 100%;
  font-size: 0.875rem;
}

.dropdown-item.border-0:hover {
  background-color: #f8f9fa;
}

/* ==========================================================================
   Responsive / Mobile
   ========================================================================== */

@media (max-width: 991.98px) {
  .hero-section {
    min-height: auto;
    padding: 2rem 0 !important;
  }

  .hero-section h1 {
    font-size: 2rem !important;
  }

  .job-card {
    margin-bottom: 1rem !important;
  }

  .job-card .card-body {
    padding: 1.25rem !important;
  }

  .company-logo {
    width: 48px !important;
    height: 48px !important;
  }

  .dropdown .btn {
    font-size: 0.8rem;
    padding: 0.35rem 0.7rem;
  }

  .navbar-collapse {
    padding: 1rem 0;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
    font-size: 1rem;
  }

  .navbar .btn {
    min-height: 48px;
    font-size: 0.9375rem;
    padding: 0.625rem 1.25rem;
  }

  .dropdown-menu {
    margin-top: 0.5rem !important;
  }

  .dropdown-item {
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
  }

  .ch3f-brand-icon {
    font-size: 22px;
  }

  .ch3f-brand-text {
    font-size: 22px;
  }
}

@media (max-width: 767.98px) {
  .hero-section h1 {
    font-size: 1.75rem !important;
  }

  .salary-range {
    font-size: 0.85rem !important;
  }
}

/* ==========================================================================
   City Landing Pages (redesigned)
   ========================================================================== */

/* Hero — clean with subtle gradient accent */
.city-page-hero {
  background: linear-gradient(135deg, #f8f9fa 0%, #eef2ff 50%, #f0fdf4 100%);
  border-bottom: 1px solid #e5e7eb;
  position: relative;
}

.city-page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff6b35, #fbbf24, #10b981);
}

.city-page-hero .breadcrumb {
  background: none;
  padding: 0;
  margin-bottom: 0.5rem;
}

.city-page-hero h1 {
  font-size: 2.25rem;
  color: #1a1a2e;
  letter-spacing: -0.02em;
}

/* Stat badges */
.city-page-stat {
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.city-page-stat-number {
  font-weight: 700;
  font-size: 1.05rem;
  color: #1a1a2e;
}

.city-page-stat-label {
  font-size: 0.72rem;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 500;
}

/* Section heading style */
.city-section-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a2e;
  letter-spacing: -0.01em;
}

/* Job cards */
.city-jobs-grid {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.city-job-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-left: 4px solid #3b82f6;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.city-job-card:hover {
  border-left-color: #ff6b35;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.city-job-card--premium {
  border: 2px solid #fbbf24;
  border-left: 4px solid #f59e0b;
  background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
}

.city-job-card--premium:hover {
  border-left-color: #d97706;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.15);
}

/* Salary table */
.city-salary-table {
  font-size: 0.9rem;
  margin-bottom: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.city-salary-table thead th {
  background: linear-gradient(135deg, #1e293b, #334155);
  color: white;
  border-bottom: none;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.75rem 1rem;
}

.city-salary-table tbody td {
  padding: 0.7rem 1rem;
  vertical-align: middle;
  border-bottom: 1px solid #f1f3f5;
}

.city-salary-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.city-salary-table tbody tr:hover {
  background: #eef2ff;
}

.city-salary-table tbody tr:last-child td {
  border-bottom: none;
}

/* Calculator cards */
.city-calc-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  height: 100%;
}

.city-calc-card .form-select {
  border-radius: 8px;
  border-color: #d1d5db;
  font-size: 0.9rem;
  padding: 0.6rem 0.75rem;
}

.city-calc-card .form-select:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.city-calc-result {
  background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-top: 0.5rem;
}

/* CTA banners */
.city-cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.city-cta-banner--cv {
  border-left: 4px solid #3b82f6;
  background: linear-gradient(135deg, #eff6ff, #ffffff);
}

.city-cta-banner--hire {
  border-left: 4px solid #f59e0b;
  background: linear-gradient(135deg, #fffbeb, #ffffff);
}

/* Employer cards */
.city-employer-card {
  display: flex;
  align-items: center;
  padding: 0.85rem 1rem;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: all 0.2s ease;
  height: 100%;
}

.city-employer-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

/* Nearby city chips */
.city-neighbour-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.1rem;
  border: 1px solid #d1d5db;
  border-radius: 50px;
  background: white;
  color: #374151;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.city-neighbour-chip:hover {
  border-color: #3b82f6;
  color: #3b82f6;
  background: #eff6ff;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.12);
  transform: translateY(-1px);
}

/* Alt section background (zebra striping) */
.city-section-alt {
  background: #f8f9fa;
}

/* City map */
.city-map-container {
  position: sticky;
  top: 80px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.city-map {
  height: 380px;
  width: 100%;
  background: #f1f3f5;
}

.city-map-legend {
  background: white;
  padding: 0.5rem 0.75rem;
  font-size: 0.78rem;
  color: #6c757d;
  border-top: 1px solid #f1f3f5;
}

/* Empty state */
.city-empty-state {
  background: white;
  border: 2px dashed #d1d5db;
  border-radius: 16px;
  padding: 3rem 2rem;
}

/* ==========================================================================
   City Landing Pages V2 - Modern Minimal Redesign
   ========================================================================== */

/* ---------- Hero Section with Fullwidth Image ---------- */
.city-hero {
  position: relative;
  min-height: 55vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding-bottom: 3rem;
}

.city-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.7) 100%
  );
}

.city-hero-content {
  position: relative;
  z-index: 1;
}

.city-hero .breadcrumb {
  background: none;
  padding: 0;
  margin-bottom: 1rem;
}

.city-hero .breadcrumb-item,
.city-hero .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
}

.city-hero .breadcrumb-item.active {
  color: white;
}

.city-hero .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

.city-hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.city-hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 500px;
}

.city-hero-stats {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.city-hero-stat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.875rem 1.25rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.city-hero-stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
}

.city-hero-stat-icon--salary {
  background: linear-gradient(135deg, #10b981, #059669);
}

.city-hero-stat-icon--employers {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.city-hero-stat-content {
  display: flex;
  flex-direction: column;
}

.city-hero-stat-number {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.2;
}

.city-hero-stat-label {
  font-size: 0.75rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.city-hero-cta {
  padding: 0.875rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
  transition: all 0.3s ease;
}

.city-hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 107, 53, 0.5);
}

/* ---------- Section Titles ---------- */
.city-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a2e;
  letter-spacing: -0.02em;
}

.city-section-title-count {
  color: #3b82f6;
  margin-right: 0.25rem;
}

/* ---------- Job Cards V2 ---------- */
.city-jobs-grid-v2 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.city-job-card-v2 {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.city-job-card-v2:hover {
  border-color: #3b82f6;
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.12);
  transform: translateY(-2px);
}

.city-job-card-v2--premium {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 2px solid #fbbf24;
}

.city-job-card-v2--premium:hover {
  border-color: #f59e0b;
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.2);
}

.city-job-card-logo {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
}

.city-job-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.city-job-card-logo-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.city-job-card-logo-placeholder span {
  color: white;
  font-weight: 700;
  font-size: 1rem;
}

.city-job-card-content {
  flex: 1;
  min-width: 0;
}

.city-job-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.25rem;
}

.city-job-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a2e;
  margin: 0;
  display: inline;
}

.city-job-card-time {
  font-size: 0.8rem;
  color: #9ca3af;
  white-space: nowrap;
  margin-left: 0.5rem;
}

.city-job-badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 0.5rem;
  vertical-align: middle;
}

.city-job-badge--featured {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #78350f;
}

.city-job-badge--new {
  background: #dcfce7;
  color: #166534;
}

.city-job-card-company {
  font-size: 0.9rem;
  font-weight: 500;
  color: #3b82f6;
  margin-bottom: 0.5rem;
}

.city-job-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: #6b7280;
}

.city-job-card-meta i {
  margin-right: 0.25rem;
  color: #9ca3af;
}

.city-job-card-salary {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #059669;
}

.city-job-card-salary i {
  margin-right: 0.25rem;
}

.city-job-card-arrow {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  transition: all 0.2s ease;
}

.city-job-card-v2:hover .city-job-card-arrow {
  background: #3b82f6;
  color: white;
}

/* ---------- Why Section ---------- */
.city-why-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.city-why-card {
  background: white;
  border-radius: 16px;
  padding: 1.75rem;
  height: 100%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  text-align: center;
}

.city-why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.city-why-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: white;
}

.city-why-icon--transport {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.city-why-icon--food {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.city-why-icon--growth {
  background: linear-gradient(135deg, #10b981, #059669);
}

.city-why-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
}

.city-why-card p {
  font-size: 0.9rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.6;
}

/* ---------- Salary Visual ---------- */
.city-salary-visual {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.city-salary-bar-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.city-salary-bar-label {
  width: 120px;
  flex-shrink: 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: #374151;
}

.city-salary-bar-track {
  flex: 1;
  height: 28px;
  background: #f3f4f6;
  border-radius: 8px;
  overflow: hidden;
}

.city-salary-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 0.75rem;
  transition: width 0.8s ease;
}

.city-salary-bar-value {
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
  white-space: nowrap;
}

.city-salary-bar-diff {
  width: 50px;
  flex-shrink: 0;
  text-align: right;
  font-size: 0.8rem;
  font-weight: 600;
  color: #9ca3af;
}

.city-salary-bar-diff--negative {
  color: #ef4444;
}

.city-salary-bar-diff--positive {
  color: #10b981;
}

.city-salary-legend {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #f3f4f6;
  font-size: 0.8rem;
  color: #6b7280;
}

.city-salary-legend i {
  font-size: 0.5rem;
  margin-right: 0.5rem;
}

.city-savings-highlight {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border: 1px solid #a7f3d0;
  border-radius: 12px;
  padding: 1rem 1.25rem;
}

.city-savings-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #10b981, #059669);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
}

.city-savings-highlight strong {
  display: block;
  font-size: 1.1rem;
  color: #065f46;
}

.city-savings-highlight span {
  font-size: 0.85rem;
  color: #047857;
}

/* ---------- Calculator V2 ---------- */
.city-calculator-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.city-calc-card-v2 {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  height: 100%;
}

.city-calc-card-header {
  background: linear-gradient(135deg, #1e293b, #334155);
  color: white;
  padding: 1rem 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.city-calc-card-body {
  padding: 1.5rem;
}

.city-calc-card-v2 .form-select {
  border-radius: 10px;
  padding: 0.75rem 1rem;
  border-color: #e5e7eb;
}

.city-calc-card-v2 .form-select:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.city-calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f3f4f6;
}

.city-calc-row:last-child {
  border-bottom: none;
}

.city-calc-row--result {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  margin: 0.5rem -1.5rem -1.5rem;
  padding: 1rem 1.5rem;
  border-radius: 0 0 16px 16px;
  border-bottom: none;
}

.city-calc-value {
  font-weight: 600;
  color: #1a1a2e;
}

.city-calc-value--negative {
  color: #ef4444;
}

.city-calc-value--positive {
  color: #10b981;
}

.city-calc-comparison {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px dashed #e5e7eb;
}

.city-calc-comparison--worse {
  color: #ef4444;
}

/* ---------- Testimonials ---------- */
.city-testimonials-section {
  padding: 4rem 0;
  background: white;
}

.city-testimonial-card {
  background: #f8fafc;
  border-radius: 16px;
  padding: 1.75rem;
  height: 100%;
  position: relative;
}

.city-testimonial-quote {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 1.5rem;
  color: #e5e7eb;
}

.city-testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.city-testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.city-testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
}

.city-testimonial-avatar--alt {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.city-testimonial-avatar--alt2 {
  background: linear-gradient(135deg, #10b981, #059669);
}

.city-testimonial-author strong {
  display: block;
  font-size: 0.95rem;
  color: #1a1a2e;
}

.city-testimonial-author span {
  font-size: 0.8rem;
  color: #6b7280;
}

/* ---------- CTA Card ---------- */
.city-cta-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  border: 1px solid #bae6fd;
  border-radius: 16px;
  padding: 2rem;
}

.city-cta-card--cv .city-cta-icon {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.city-cta-icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}

.city-cta-content {
  flex: 1;
}

.city-cta-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.25rem;
}

.city-cta-content p {
  color: #6b7280;
  margin: 0;
  font-size: 0.95rem;
}

/* ---------- Employers V2 ---------- */
.city-employers-section {
  padding: 3rem 0;
  background: #f8fafc;
}

.city-employer-card-v2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem;
  background: white;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  text-decoration: none;
  transition: all 0.25s ease;
  height: 100%;
}

.city-employer-card-v2:hover {
  border-color: #3b82f6;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.12);
  transform: translateY(-2px);
}

.city-employer-card-logo {
  width: 56px;
  height: 56px;
  margin-bottom: 0.75rem;
}

.city-employer-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.city-employer-card-logo-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
}

.city-employer-card-info strong {
  display: block;
  font-size: 0.9rem;
  color: #1a1a2e;
  margin-bottom: 0.25rem;
}

.city-employer-card-jobs {
  font-size: 0.8rem;
  color: #10b981;
  font-weight: 500;
}

/* ---------- About Text ---------- */
.city-about-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #4b5563;
}

/* ---------- Nearby Cities ---------- */
.city-nearby-section {
  padding: 3rem 0;
  background: white;
}

.city-nearby-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.city-nearby-card {
  display: block;
  text-decoration: none;
  border-radius: 16px;
  overflow: hidden;
  background: white;
  border: 1px solid #e5e7eb;
  transition: all 0.25s ease;
}

.city-nearby-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.12);
  transform: translateY(-2px);
}

.city-nearby-card-image {
  height: 100px;
  background-size: cover;
  background-position: center;
}

.city-nearby-card-content {
  padding: 1rem;
}

.city-nearby-card-content strong {
  display: block;
  font-size: 1rem;
  color: #1a1a2e;
  margin-bottom: 0.25rem;
}

.city-nearby-card-content span {
  font-size: 0.8rem;
  color: #3b82f6;
}

/* ---------- Map V2 ---------- */
.city-map-container-v2 {
  position: sticky;
  top: 80px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.city-map-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: white;
  border-bottom: 1px solid #f3f4f6;
}

.city-map-header h6 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a1a2e;
}

.city-map-v2 {
  height: 400px;
  background: #f3f4f6;
}

.city-map-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 0.75rem;
  color: #6b7280;
  font-size: 0.85rem;
}

.city-map-cluster {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #ff6b35, #e85d04);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  border: 3px solid white;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.city-map-marker-pin {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid white;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  color: white;
  font-size: 0.85rem;
}

.city-map-popup {
  min-width: 180px;
}

.city-map-popup strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.city-map-popup span {
  display: block;
  font-size: 0.8rem;
  color: #6b7280;
}

.city-map-popup-salary {
  color: #10b981 !important;
  font-weight: 600;
  margin-top: 0.25rem;
}

/* ---------- Empty State V2 ---------- */
.city-empty-state-v2 {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  border-radius: 16px;
  border: 2px dashed #d1d5db;
}

.city-empty-state-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b35, #e85d04);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
}

.city-empty-state-v2 h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
}

.city-empty-state-v2 p {
  color: #6b7280;
  margin-bottom: 1.5rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .city-hero {
    min-height: 45vh;
  }

  .city-hero-title {
    font-size: 2.25rem;
  }

  .city-hero-stats {
    flex-direction: column;
  }

  .city-hero-stat {
    width: fit-content;
  }

  .city-cta-card {
    flex-direction: column;
    text-align: center;
  }

  .city-salary-bar-label {
    width: 100px;
    font-size: 0.75rem;
  }

  .city-salary-bar-diff {
    width: 40px;
    font-size: 0.7rem;
  }
}

@media (max-width: 767.98px) {
  .city-hero {
    min-height: 50vh;
    padding-bottom: 2rem;
  }

  .city-hero-title {
    font-size: 1.75rem;
  }

  .city-hero-subtitle {
    font-size: 1rem;
  }

  .city-hero-stat {
    padding: 0.75rem 1rem;
  }

  .city-hero-stat-icon {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .city-hero-stat-number {
    font-size: 1.1rem;
  }

  .city-section-title {
    font-size: 1.25rem;
  }

  .city-job-card-v2 {
    flex-wrap: wrap;
  }

  .city-job-card-logo {
    width: 48px;
    height: 48px;
  }

  .city-job-card-arrow {
    display: none;
  }

  .city-why-section,
  .city-calculator-section,
  .city-testimonials-section {
    padding: 2.5rem 0;
  }

  .city-calc-card-body {
    padding: 1rem;
  }

  .city-calc-row--result {
    margin: 0.5rem -1rem -1rem;
    padding: 0.75rem 1rem;
  }

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

  .city-nearby-card-image {
    height: 80px;
  }
}
