/* ==========================================================================
   Kizmio Job Marketplace CSS
   Theme: Professional Indigo / Violet (#4F46E5)
   ========================================================================== */

:root {
  --jm-primary: #4F46E5;
  --jm-primary-hover: #4338CA;
  --jm-secondary: #6366F1;
  --jm-soft: #818CF8;
  --jm-bg-light: #EEF2FF;
  --jm-bg-subtle: #F5F7FF;
  --jm-text-main: #111827;
  --jm-text-muted: #6B7280;
  --jm-border: #E5E7EB;
  --jm-success: #16A34A;
  --jm-urgent: #F97316;
}

/* Page scope theme override for Job Marketplace */
.kizmio-jobmarketplace-page,
.jm-shell {
  --kzm-primary: #4F46E5 !important;
  --kzm-primary-hover: #4338CA !important;
  --kzm-primary-active: #3730A3 !important;
  --kzm-primary-soft: rgba(79, 70, 229, 0.09) !important;
  --kzm-primary-tint: #EEF2FF !important;
  --kzm-focus: 0 0 0 3px rgba(79, 70, 229, 0.22) !important;
}

/* Global button overrides scoped to job marketplace */
.kizmio-jobmarketplace-page .btn-primary,
.jm-shell .btn-primary,
.jm-apply-card .btn-primary,
.jm-cv-card .btn-primary,
.jm-cv-actions .btn-primary,
.jm-top-tabs .btn-primary,
.jm-filter-card .btn-primary {
  background-color: var(--jm-primary) !important;
  border-color: var(--jm-primary) !important;
  color: #fff !important;
  font-weight: 750;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
  transition: background-color 0.2s, border-color 0.2s, transform 0.15s;
}

.kizmio-jobmarketplace-page .btn-primary:hover,
.jm-shell .btn-primary:hover,
.jm-apply-card .btn-primary:hover,
.jm-cv-card .btn-primary:hover,
.jm-cv-actions .btn-primary:hover,
.jm-top-tabs .btn-primary:hover,
.jm-filter-card .btn-primary:hover {
  background-color: var(--jm-primary-hover) !important;
  border-color: var(--jm-primary-hover) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

.kizmio-jobmarketplace-page .btn-outline-primary,
.jm-shell .btn-outline-primary {
  color: var(--jm-primary) !important;
  border-color: var(--jm-primary) !important;
  background-color: transparent !important;
  font-weight: 750;
}

.kizmio-jobmarketplace-page .btn-outline-primary:hover,
.jm-shell .btn-outline-primary:hover {
  background-color: var(--jm-primary) !important;
  border-color: var(--jm-primary) !important;
  color: #fff !important;
}

/* --------------------------------------------------------------------------
   1. Hero Banner (Landing Page)
   -------------------------------------------------------------------------- */
.jm-hero-v2 {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(130deg, #1e1b4b 0%, #312e81 48%, #4338ca 100%);
  color: #fff;
  min-height: 430px;
  margin-bottom: 25px;
}

.jm-hero-v2:before,
.jm-hero-v2:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(6px);
  pointer-events: none;
}

.jm-hero-v2:before {
  width: 500px;
  height: 500px;
  right: 5%;
  top: -180px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.35), transparent 70%);
}

.jm-hero-v2:after {
  width: 400px;
  height: 400px;
  left: 28%;
  bottom: -220px;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.28), transparent 70%);
}

.jm-hero-v2__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.08;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 38px 38px;
  transform: perspective(600px) rotateX(48deg) scale(1.35);
  transform-origin: center bottom;
}

.jm-hero-v2__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 48px;
  align-items: center;
  min-height: 430px;
  padding-top: 48px;
  padding-bottom: 54px;
}

.jm-hero-v2__copy {
  max-width: 640px;
}

.jm-hero-v2__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.jm-hero-v2__badge i {
  color: #a5b4fc;
}

.jm-hero-v2 h1 {
  margin: 16px 0 12px;
  color: #fff;
  font-size: clamp(34px, 3.8vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 850;
}

.jm-hero-v2 h1 span {
  background: linear-gradient(135deg, #a5b4fc 0%, #c7d2fe 50%, #e0e7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.jm-hero-v2__copy > p {
  max-width: 580px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  line-height: 1.6;
}

/* Hero Search Form */
.jm-hero-search {
  display: flex;
  align-items: center;
  max-width: 620px;
  padding: 6px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.35);
  transition: box-shadow 0.2s, transform 0.2s;
  gap: 8px;
}

.jm-hero-search:focus-within {
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.32), 0 18px 48px rgba(15, 23, 42, 0.38);
  transform: translateY(-1px);
}

.jm-hero-search__field {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  padding: 0 12px;
}

.jm-hero-search__field--location {
  border-left: 1px solid #e5e7eb;
  flex: 0 0 170px;
}

.jm-hero-search__field i {
  color: #9ca3af;
  font-size: 15px;
  flex-shrink: 0;
}

.jm-hero-search input {
  min-width: 0;
  flex: 1;
  height: 46px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #111827;
  font-size: 14px;
  font-weight: 500;
}

.jm-hero-search input::placeholder {
  color: #9ca3af;
}

.jm-hero-search select {
  min-width: 0;
  flex: 1;
  height: 46px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #111827;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.jm-hero-search button {
  height: 46px;
  padding: 0 24px;
  border: 0;
  border-radius: 14px;
  background: var(--jm-primary);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

.jm-hero-search button:hover {
  background: var(--jm-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.45);
}

/* Popular Category Chips */
.jm-hero-chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 600;
}

.jm-hero-chips span {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 700;
}

.jm-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 11px;
  font-weight: 600;
  transition: background-color 0.2s, border-color 0.2s, transform 0.15s;
}

.jm-hero-chip:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   2. Places Category Card Sidebar for Job Marketplace (#4F46E5)
   -------------------------------------------------------------------------- */
.jm-detail-sidebar,
.places-detail-sidebar {
  overflow: hidden;
  border: 1px solid var(--jm-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(79, 70, 229, 0.05);
  margin-bottom: 20px;
}

.places-detail-sidebar__identity {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 16px 18px;
  border-bottom: 1px solid #eef2ff;
  background: linear-gradient(135deg, #f5f7ff, #fff);
}

.places-detail-sidebar__identity > span {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 12px;
  background: #eef2ff;
  color: var(--jm-primary);
  font-size: 15px;
}

.places-detail-sidebar__identity small {
  display: block;
  color: #6366f1;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.places-detail-sidebar__identity h2 {
  overflow: hidden;
  margin: 2px 0 0;
  color: #111827;
  font-size: 14px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.places-detail-sidebar__categories {
  padding: 14px 12px;
}

.places-category-strip__head--sidebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 4px 10px;
}

.places-category-strip__head--sidebar span {
  display: block;
  color: var(--jm-primary);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.places-category-strip__head--sidebar h3 {
  margin: 2px 0 0;
  color: #111827;
  font-size: 14px;
  font-weight: 850;
}

.places-category-sidebar-grid {
  display: grid;
  gap: 6px;
}

.places-category-pill--sidebar {
  display: flex;
  min-width: 0;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 7px 10px;
  border: 1px solid var(--jm-border);
  border-radius: 12px;
  background: #fff;
  color: #1e293b;
  text-decoration: none !important;
  transition: transform 0.15s, border-color 0.15s, background-color 0.15s;
}

.places-category-pill--sidebar:hover,
.places-category-pill--sidebar.is-active {
  border-color: rgba(79, 70, 229, 0.45);
  background: #eef2ff;
  color: var(--jm-primary);
  transform: translateY(-1px);
}

.places-category-pill--sidebar.is-active {
  border-color: var(--jm-primary);
  background: #eef2ff;
  box-shadow: inset 0 0 0 1px rgba(79, 70, 229, 0.2);
}

.places-category-pill--sidebar .places-category-pill__icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 10px;
  background: #eef2ff;
  color: var(--jm-primary);
  font-size: 13px;
  transition: background-color 0.15s, color 0.15s;
}

.places-category-pill--sidebar:hover .places-category-pill__icon,
.places-category-pill--sidebar.is-active .places-category-pill__icon {
  background: var(--jm-primary);
  color: #fff;
}

.places-category-pill__copy {
  min-width: 0;
  flex: 1;
}

.places-category-pill--sidebar strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #111827;
  font-size: 12px;
  font-weight: 750;
}

.places-category-pill--sidebar:hover strong,
.places-category-pill--sidebar.is-active strong {
  color: var(--jm-primary);
}

.places-category-pill--sidebar small {
  display: block;
  margin-top: 1px;
  color: #6b7280;
  font-size: 9px;
  font-weight: 600;
}

.places-category-pill__toggle {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 0;
  background: transparent;
  color: #9ca3af;
  font-size: 10px;
  padding: 0;
  cursor: pointer;
}

.places-category-pill__toggle:hover {
  color: var(--jm-primary);
}

.places-category-pill__toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.jm-subcategories-list {
  display: grid;
  gap: 4px;
  padding: 4px 4px 4px 16px;
  margin-top: 4px;
  border-left: 2px solid #c7d2fe;
  margin-left: 16px;
}

.jm-subcategory-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 8px;
  border-radius: 8px;
  color: #4b5563;
  text-decoration: none !important;
  font-size: 11px;
  font-weight: 650;
  transition: background-color 0.15s, color 0.15s;
}

.jm-subcategory-pill:hover,
.jm-subcategory-pill.is-active {
  background: #eef2ff;
  color: var(--jm-primary);
}

.jm-subcategory-pill.is-active {
  font-weight: 800;
}

.places-community-entry {
  display: block;
  margin: 12px;
  padding: 14px;
  border: 1px solid rgba(79, 70, 229, 0.25);
  border-radius: 14px;
  background: linear-gradient(145deg, #faf5ff, #eef2ff);
  color: #0f172a;
  text-decoration: none !important;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.places-community-entry:hover {
  border-color: rgba(79, 70, 229, 0.5);
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.12);
}

.places-community-entry__eyebrow {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--jm-primary);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.places-community-entry > strong {
  display: block;
  margin: 4px 0 4px;
  font-size: 13px;
  font-weight: 850;
}

.places-community-entry > small {
  display: block;
  color: #64748b;
  font-size: 10px;
  line-height: 1.45;
}

.places-community-entry__action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  color: var(--jm-primary);
  font-size: 10px;
  font-weight: 850;
}

/* --------------------------------------------------------------------------
   3. Top Nav Tabs & Quick Actions (#4F46E5)
   -------------------------------------------------------------------------- */
.jm-top-tabs {
  position: relative;
  min-height: 60px;
  overflow-x: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--jm-border);
}

.jm-top-tabs ul {
  white-space: nowrap;
  margin-bottom: 0;
  padding-left: 0;
}

.jm-top-tabs li a {
  display: flex;
  align-items: center;
  padding: 18px 18px;
  color: #6b7280;
  font-weight: 650;
  font-size: 14px;
  text-decoration: none !important;
  transition: color 0.15s;
}

.jm-top-tabs li a:hover {
  color: var(--jm-primary);
}

.jm-top-tabs li.active a {
  color: var(--jm-primary);
  border-bottom: 3px solid var(--jm-primary);
  font-weight: 800;
}

.jm-top-tabs li.active a i {
  color: var(--jm-primary) !important;
}

/* --------------------------------------------------------------------------
   4. CV Builder Specialized Styles (#4F46E5)
   -------------------------------------------------------------------------- */

/* Header Card */
.jm-cv-builder-header {
  border-radius: 20px;
  border: 1px solid var(--jm-border);
  background: linear-gradient(135deg, #f5f7ff 0%, #fff 100%);
  padding: 24px 28px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.jm-cv-builder-header__info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.jm-cv-builder-header__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #eef2ff;
  color: var(--jm-primary);
  display: grid;
  place-items: center;
  font-size: 22px;
  border: 1px solid #c7d2fe;
  flex-shrink: 0;
}

.jm-cv-builder-header__title {
  font-size: 1.35rem;
  font-weight: 850;
  color: #111827;
  margin-bottom: 2px;
}

.jm-cv-builder-header__subtitle {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 0;
}

/* Section Cards */
.jm-cv-section-card {
  border-radius: 18px;
  border: 1px solid var(--jm-border);
  background: #fff;
  padding: 24px 26px;
  box-shadow: 0 3px 14px rgba(15, 23, 42, 0.03);
  margin-bottom: 22px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.jm-cv-section-card:focus-within {
  border-color: #c7d2fe;
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.06);
}

.jm-cv-section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.jm-cv-section-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #eef2ff;
  color: var(--jm-primary);
  display: grid;
  place-items: center;
  font-size: 15px;
  flex-shrink: 0;
}

.jm-cv-section-head strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #111827;
}

.jm-cv-section-head small {
  display: block;
  font-size: 11px;
  color: #6b7280;
}

.jm-cv-section-card .form-label {
  font-size: 12px;
  font-weight: 750;
  color: #374151;
  margin-bottom: 6px;
}

.jm-cv-section-card .form-control,
.jm-cv-section-card .form-select {
  border-radius: 12px;
  border: 1px solid #d1d5db;
  font-size: 13px;
  padding: 9px 13px;
  color: #111827;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.jm-cv-section-card .form-control:focus,
.jm-cv-section-card .form-select:focus {
  border-color: var(--jm-primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.16);
}

.jm-cv-section-card .form-text {
  font-size: 11px;
  color: #6b7280;
  margin-top: 4px;
}

/* Skills Chip UI */
.jm-skill-chips-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 42px;
  padding: 6px 10px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  background: #fafafa;
  margin-bottom: 8px;
}

.jm-skill-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  color: var(--jm-primary);
  font-size: 12px;
  font-weight: 750;
}

.jm-skill-chip button {
  background: transparent;
  border: 0;
  color: var(--jm-primary);
  font-size: 14px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  font-weight: bold;
}

.jm-skill-chip button:hover {
  color: var(--jm-primary-hover);
}

/* Sticky CV Sidebar & Actions */
.jm-cv-sidebar-card {
  border-radius: 18px;
  border: 1px solid var(--jm-border);
  background: #fff;
  padding: 22px;
  box-shadow: 0 4px 20px rgba(79, 70, 229, 0.05);
  margin-bottom: 20px;
}

.jm-cv-progress-wrap {
  margin-bottom: 18px;
}

.jm-cv-progress-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 750;
  color: #111827;
  margin-bottom: 6px;
}

.jm-cv-progress-bar-bg {
  height: 8px;
  border-radius: 999px;
  background: #eef2ff;
  overflow: hidden;
}

.jm-cv-progress-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--jm-primary);
  transition: width 0.3s ease;
}

.jm-cv-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 8px;
}

.jm-cv-check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 650;
  color: #4b5563;
}

.jm-cv-check-item.is-done {
  color: #111827;
}

.jm-cv-check-item.is-done i {
  color: var(--jm-success);
}

.jm-cv-check-item.is-pending i {
  color: #d1d5db;
}

.jm-cv-actions {
  display: grid;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.jm-cv-actions .btn-save-draft {
  background: #fff !important;
  border: 1px solid var(--jm-border) !important;
  color: var(--jm-primary) !important;
  font-weight: 750;
  border-radius: 12px;
  padding: 10px 16px;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.jm-cv-actions .btn-save-draft:hover {
  background: #eef2ff !important;
  border-color: #c7d2fe !important;
  color: var(--jm-primary-hover) !important;
}

.jm-cv-actions .btn-save-complete {
  background: var(--jm-primary) !important;
  border: 1px solid var(--jm-primary) !important;
  color: #fff !important;
  font-weight: 800;
  border-radius: 12px;
  padding: 12px 18px;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

.jm-cv-actions .btn-save-complete:hover {
  background: var(--jm-primary-hover) !important;
  border-color: var(--jm-primary-hover) !important;
  transform: translateY(-1px);
}

/* Visibility Radio Cards */
.jm-visibility-grid {
  display: grid;
  gap: 10px;
}

.jm-visibility-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--jm-border);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}

.jm-visibility-card:hover {
  border-color: #c7d2fe;
  background: #f8faff;
}

.jm-visibility-card input[type="radio"] {
  margin-top: 3px;
  accent-color: var(--jm-primary);
}

.jm-visibility-card strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #111827;
}

.jm-visibility-card small {
  display: block;
  font-size: 11px;
  color: #6b7280;
  line-height: 1.4;
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   5. Job Detail & Responsive Styles
   -------------------------------------------------------------------------- */
.jm-detail-header-card {
  border-radius: 20px;
  border: 1px solid var(--jm-border);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  margin-bottom: 24px;
}

.jm-detail-banner-wrap {
  position: relative;
  height: 150px;
  background: linear-gradient(130deg, #1e1b4b 0%, #312e81 48%, #4338ca 100%);
  overflow: hidden;
}

.jm-detail-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.jm-detail-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.2), rgba(15, 23, 42, 0.7));
}

.jm-detail-header-body {
  padding: 24px;
  position: relative;
}

.jm-detail-avatar-wrap {
  position: absolute;
  top: -36px;
  left: 24px;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: #fff;
  padding: 4px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
  border: 1px solid #e5e7eb;
}

.jm-detail-avatar-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  object-fit: cover;
}

.jm-detail-header-meta-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
  margin-bottom: 12px;
}

.jm-detail-title {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 850;
  color: #111827;
  margin-bottom: 6px;
  line-height: 1.25;
}

.jm-detail-employer-link {
  font-size: 13px;
  color: #4b5563;
  text-decoration: none !important;
}

.jm-detail-employer-link strong {
  color: #111827;
  font-weight: 750;
}

.jm-detail-employer-link:hover strong {
  color: var(--jm-primary);
}

.jm-meta-chips-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.jm-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 12px;
  font-weight: 650;
}

.jm-meta-chip--workplace {
  background: #eef2ff;
  border-color: #c7d2fe;
  color: var(--jm-primary);
  font-weight: 750;
}

.jm-meta-chip--employment {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
  font-weight: 750;
}

.jm-overview-card {
  border-radius: 18px;
  border: 1px solid var(--jm-border);
  background: #fff;
  padding: 20px 24px;
  box-shadow: 0 3px 14px rgba(15, 23, 42, 0.03);
  margin-bottom: 24px;
}

.jm-overview-card h5 {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6366f1;
  margin-bottom: 16px;
}

.jm-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.jm-overview-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.jm-overview-item__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #eef2ff;
  color: var(--jm-primary);
  display: grid;
  place-items: center;
  font-size: 16px;
  flex-shrink: 0;
}

.jm-overview-item__text small {
  display: block;
  font-size: 11px;
  color: #6b7280;
  font-weight: 600;
}

.jm-overview-item__text strong {
  display: block;
  font-size: 13px;
  color: #111827;
  font-weight: 800;
  line-height: 1.3;
}

.jm-content-card {
  border-radius: 18px;
  border: 1px solid var(--jm-border);
  background: #fff;
  padding: 28px;
  box-shadow: 0 3px 14px rgba(15, 23, 42, 0.03);
  margin-bottom: 24px;
}

.jm-content-section {
  margin-bottom: 28px;
}

.jm-content-section:last-child {
  margin-bottom: 0;
}

.jm-content-section h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.jm-content-section h4 i {
  color: var(--jm-primary);
  font-size: 16px;
}

.jm-content-body {
  color: #374151;
  font-size: 14px;
  line-height: 1.8;
  white-space: pre-line;
}

.jm-apply-card {
  border-radius: 18px;
  border: 1px solid var(--jm-border);
  background: #fff;
  padding: 22px;
  box-shadow: 0 4px 20px rgba(79, 70, 229, 0.06);
  margin-bottom: 20px;
}

.jm-apply-card__head {
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 16px;
}

.jm-apply-card__salary-label {
  font-size: 11px;
  font-weight: 750;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.jm-apply-card__salary {
  font-size: 1.45rem;
  font-weight: 850;
  color: var(--jm-success);
  margin: 2px 0 0;
}

.jm-apply-card__deadline-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 750;
  padding: 4px 10px;
  border-radius: 6px;
  margin-top: 10px;
}

.jm-apply-card__deadline-pill--active {
  background: #f0fdf4;
  color: #166534;
}

.jm-apply-card__deadline-pill--urgent {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #ffedd5;
}

.jm-apply-card__deadline-pill--closed {
  background: #f1f5f9;
  color: #64748b;
}

.jm-cv-card {
  background: var(--jm-bg-subtle) !important;
  border: 1px solid var(--jm-border) !important;
  border-radius: 16px !important;
  padding: 20px !important;
  text-align: left;
}

.jm-cv-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--jm-bg-light);
  color: var(--jm-primary);
  display: grid;
  place-items: center;
  font-size: 18px;
  margin-bottom: 12px;
}

.jm-cv-card__title {
  font-size: 15px;
  font-weight: 800;
  color: var(--jm-text-main);
  margin-bottom: 4px;
}

.jm-cv-card__desc {
  font-size: 13px;
  color: var(--jm-text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.jm-status-card {
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  border: 1px solid var(--jm-border);
  background: var(--jm-bg-subtle);
}

.jm-status-card--success {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.jm-status-card--success i {
  color: #16a34a;
}

.jm-status-card--closed {
  background: #f8fafc;
  border-color: #e2e8f0;
}

.jm-status-card--closed i {
  color: #94a3b8;
}

.jm-employer-card {
  border-radius: 18px;
  border: 1px solid var(--jm-border);
  background: #fff;
  padding: 20px;
  box-shadow: 0 3px 14px rgba(15, 23, 42, 0.03);
  margin-bottom: 20px;
}

.jm-employer-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.jm-employer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid #e5e7eb;
  flex-shrink: 0;
}

.jm-employer-info strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #111827;
}

.jm-employer-info small {
  display: block;
  font-size: 11px;
  color: #6b7280;
}

.jm-related-jobs-section {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid #e5e7eb;
}

/* --------------------------------------------------------------------------
   7. Marketplace Toolbar, Filter Card & Chips
   -------------------------------------------------------------------------- */
.jm-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eef2ff;
}

.jm-toolbar__count {
  display: inline-block;
  color: #6b7280;
  font-size: 13px;
  font-weight: 600;
  margin-top: 2px;
}

.jm-mobile-filter-btn {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #eef2ff;
  color: var(--jm-primary);
  border: 1px solid #c7d2fe;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.jm-filter-card {
  border-radius: 18px;
  border: 1px solid var(--jm-border);
  background: #fff;
  box-shadow: 0 4px 18px rgba(79, 70, 229, 0.05);
  margin-bottom: 20px;
  overflow: hidden;
}

.jm-filter-card .card-header {
  padding: 16px 18px;
  background: #fafafa;
  border-bottom: 1px solid #f1f5f9;
}

.jm-filter-card .card-body {
  padding: 18px;
}

.jm-filter-card .form-label {
  font-size: 11px;
  font-weight: 750;
  color: #4b5563;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 5px;
}

.jm-filter-card .form-control,
.jm-filter-card .form-select {
  border-radius: 10px;
  border: 1px solid #d1d5db;
  font-size: 12px;
  padding: 7px 11px;
}

.btn-apply-filters {
  background: var(--jm-primary) !important;
  color: #fff !important;
  font-weight: 750;
  border-radius: 12px;
  padding: 10px;
  font-size: 12px;
  border: 0;
  transition: background-color 0.15s, transform 0.15s;
}

.btn-apply-filters:hover {
  background: var(--jm-primary-dark) !important;
  transform: translateY(-1px);
}

.jm-filter-chips-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.jm-active-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  color: var(--jm-primary) !important;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none !important;
  transition: background-color 0.15s;
}

.jm-active-chip:hover {
  background: #e0e7ff;
}

/* --------------------------------------------------------------------------
   8. Professional Compact Job Results Card
   -------------------------------------------------------------------------- */
.jm-jobs-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.jm-job-card {
  border-radius: 16px;
  border: 1px solid var(--jm-border);
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
  overflow: hidden;
  margin-bottom: 0;
}

.jm-job-card:hover {
  border-color: #c7d2fe;
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.08);
  transform: translateY(-2px);
}

.jm-job-card__body {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
}

.jm-job-card__logo-wrap {
  width: 96px;
  height: 96px;
  min-width: 96px;
  max-width: 96px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.jm-job-card__logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.jm-job-card__main {
  flex: 1;
  min-width: 0;
}

.jm-job-card__title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #111827;
  text-decoration: none !important;
  line-height: 1.35;
  transition: color 0.15s ease;
}

.jm-job-card__title:hover {
  color: var(--jm-primary);
}

.jm-job-card__employer {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #4b5563;
  font-weight: 600;
  margin-top: 2px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.jm-job-card__company-name {
  font-weight: 750;
  color: #374151;
}

.jm-job-card__dot {
  color: #9ca3af;
}

.jm-job-card__category {
  color: #6366f1;
  font-weight: 650;
}

.jm-job-card__meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
}

.jm-job-card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #4b5563;
}

.jm-job-card__meta-item--pill {
  background: #f1f5f9;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #334155;
}

.jm-job-card__meta-item--salary {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 750;
}

.jm-job-card__submeta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.jm-job-card__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  min-width: 135px;
  flex-shrink: 0;
  border-left: 1px solid #f1f5f9;
  padding-left: 18px;
  gap: 12px;
}

.jm-job-card__deadline-box {
  text-align: right;
}

.jm-job-card__deadline-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.jm-job-card__deadline-date {
  font-size: 12px;
  font-weight: 750;
  color: #334155;
}

.jm-btn-view-job {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--jm-primary) !important;
  color: #ffffff !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  border: 0;
  white-space: nowrap;
}

.jm-btn-view-job:hover {
  background: var(--jm-primary-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

@media (max-width: 991.98px) {
  .jm-job-card__body {
    gap: 14px;
    padding: 16px;
  }
  .jm-job-card__logo-wrap {
    width: 80px;
    height: 80px;
    min-width: 80px;
    max-width: 80px;
  }
  .jm-job-card__side {
    min-width: 120px;
    padding-left: 14px;
  }
}

@media (max-width: 767.98px) {
  .jm-job-card__body {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px;
  }
  .jm-job-card__logo-wrap {
    width: 64px;
    height: 64px;
    min-width: 64px;
    max-width: 64px;
    border-radius: 12px;
  }
  .jm-job-card__side {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-left: 0;
    border-top: 1px solid #f1f5f9;
    padding-left: 0;
    padding-top: 12px;
    min-width: 100%;
  }
  .jm-job-card__deadline-box {
    text-align: left;
  }
  .jm-btn-view-job {
    padding: 8px 16px;
    font-size: 11px;
  }
}

/* --------------------------------------------------------------------------
   6. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .jm-overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991.98px) {
  .jm-mobile-filter-btn {
    display: inline-flex;
  }
  .jm-hero-v2 {
    min-height: auto;
  }
  .jm-hero-v2__inner {
    display: block;
    min-height: 0;
    padding-top: 40px;
    padding-bottom: 46px;
  }
  .jm-hero-v2__copy {
    max-width: 100%;
  }
  .jm-hero-visual {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  .jm-hero-v2 {
    min-height: auto;
    margin-bottom: 18px;
  }
  .jm-hero-v2__inner {
    display: block;
    min-height: 0;
    padding-top: 28px;
    padding-bottom: 34px;
  }
  .jm-hero-v2__copy {
    max-width: 100%;
  }
  .jm-hero-v2 h1 {
    font-size: clamp(26px, 7.5vw, 34px);
    line-height: 1.15;
    margin: 12px 0 10px;
  }
  .jm-hero-v2__copy > p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 18px;
  }
  .jm-hero-visual {
    display: none !important;
  }
  .jm-hero-search {
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    gap: 8px;
    border-radius: 16px;
  }
  .jm-hero-search__field {
    padding: 0 8px;
    height: 42px;
    border-bottom: 1px solid #f1f5f9;
  }
  .jm-hero-search__field--location {
    border-left: 0;
    border-bottom: 1px solid #f1f5f9;
    flex: auto;
  }
  .jm-hero-search button {
    width: 100%;
    height: 44px;
    margin-top: 4px;
    border-radius: 12px;
  }
  .jm-hero-chips {
    margin-top: 14px;
    gap: 6px;
  }
  .jm-hero-chip {
    padding: 4px 10px;
    font-size: 11px;
  }
  .jm-cv-builder-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
  }
  .jm-cv-section-card {
    padding: 18px;
  }
  .jm-overview-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* Mobile Full-Height Sliding Drawer */
  .kizmio-jobmarketplace-page.sg-offcanvas {
    position: static;
    overflow: visible !important;
  }

  .kizmio-jobmarketplace-page.sg-offcanvas.active {
    position: relative !important;
    z-index: 1000000 !important;
    isolation: isolate;
  }

  .sg-offcanvas.active {
    overflow: visible !important;
    min-height: max-content !important;
  }

  .jm-unified-sidebar {
    overflow: visible;
  }

  .jm-unified-sidebar__filters .card-header,
  .jm-unified-sidebar__filters .card-body {
    background: #fff;
  }

  .kizmio-jobmarketplace-page .sg-offcanvas-sidebar {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    right: auto !important;
    width: min(88vw, 340px) !important;
    max-width: 88vw !important;
    height: 100vh !important;
    max-height: 100vh !important;
    background: #ffffff !important;
    z-index: 2 !important;
    pointer-events: auto !important;
    touch-action: pan-y;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    padding: 16px 14px 80px !important;
    box-shadow: 0 0 40px rgba(15, 23, 42, 0.3) !important;
    transform: translateX(-105%) !important;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: block !important;
  }

  .kizmio-jobmarketplace-page.sg-offcanvas.active .sg-offcanvas-sidebar,
  .kizmio-jobmarketplace-page.active .sg-offcanvas-sidebar {
    transform: translateX(0) !important;
    visibility: visible !important;
  }

  .kizmio-jobmarketplace-page.sg-offcanvas.active .sg-offcanvas-sidebar *,
  .kizmio-jobmarketplace-page.active .sg-offcanvas-sidebar * {
    pointer-events: auto;
  }

  .kizmio-jobmarketplace-page .sg-offcanvas-mainbar,
  .kizmio-jobmarketplace-page.sg-offcanvas.active .sg-offcanvas-mainbar {
    left: 0 !important;
    position: static !important;
    width: 100% !important;
  }

  .jm-sidebar-close-btn {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 14px;
    margin-bottom: 12px;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    border-radius: 12px;
    color: var(--jm-primary);
    font-size: 12px;
    font-weight: 750;
    cursor: pointer;
  }

  .jm-sidebar-close-btn:hover {
    background: #e0e7ff;
  }

  .jm-sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1;
    pointer-events: auto;
  }

  .kizmio-jobmarketplace-page.sg-offcanvas.active ~ .jm-sidebar-backdrop,
  .kizmio-jobmarketplace-page.active ~ .jm-sidebar-backdrop,
  .kizmio-jobmarketplace-page.active .jm-sidebar-backdrop,
  .kizmio-jobmarketplace-page.sg-offcanvas.active .jm-sidebar-backdrop {
    display: block;
  }
}

.jm-sidebar-close-btn {
  display: none;
}

.jm-sidebar-backdrop {
  display: none;
}

.cursor-pointer {
  cursor: pointer;
}

@media print {
  body {
    background: #fff !important;
  }
  .main-header, .footer, .jm-top-tabs, .btn, .places-detail-sidebar, .sg-offcanvas-sidebar {
    display: none !important;
  }
  .card {
    box-shadow: none !important;
    border: 1px solid #e5e7eb !important;
  }
}
