/* ==============================================================
   KerjaHub - Modern Job Portal CSS (60 FPS GPU-Optimized)
   Google Fonts loaded via <link> in index.html (no blocking @import)
   ============================================================== */

:root {
  --primary: #1d4ed8;
  --primary-hover: #1e40af;
  --primary-light: #eff6ff;
  --primary-glow: rgba(29, 78, 216, 0.22);
  --secondary: #0284c7;
  --accent: #f59e0b;
  --success: #10b981;
  --danger: #ef4444;
  --purple: #6366f1;

  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-alt: #f1f5f9;
  --border-color: #e2e8f0;
  --border-focus: #3b82f6;

  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 14px 28px rgba(29, 78, 216, 0.12), 0 10px 10px rgba(0, 0, 0, 0.04);

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
}

[data-theme="dark"] {
  --bg-main: #0b0f19;
  --bg-surface: #131b2e;
  --bg-surface-alt: #1a243b;
  --border-color: #1e293b;
  --border-focus: #6366f1;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-light: #64748b;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
  --shadow-hover: 0 14px 28px rgba(99, 102, 241, 0.25);
  --primary-light: rgba(79, 70, 229, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100vw;
  overflow-x: clip;
  position: relative;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: #eef4ff;
  background-image:
    radial-gradient(ellipse 68% 42% at 8% 0%, rgba(59, 130, 246, 0.16) 0%, transparent 65%),
    radial-gradient(ellipse 58% 42% at 92% 12%, rgba(99, 102, 241, 0.14) 0%, transparent 65%),
    radial-gradient(ellipse 55% 45% at 85% 62%, rgba(14, 165, 233, 0.12) 0%, transparent 68%),
    radial-gradient(ellipse 60% 45% at 15% 88%, rgba(16, 185, 129, 0.08) 0%, transparent 65%),
    linear-gradient(180deg, #eff6ff 0%, #f5f3ff 38%, #ecfeff 74%, #f1f5f9 100%);
  background-attachment: scroll;
  color: var(--text-main);
  line-height: 1.6;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 72px;
}

[data-theme="dark"] body {
  background-color: #0b0f19;
  background-image:
    radial-gradient(ellipse 65% 45% at 10% 0%, rgba(37, 99, 235, 0.22) 0%, transparent 65%),
    radial-gradient(ellipse 55% 42% at 90% 15%, rgba(99, 102, 241, 0.2) 0%, transparent 65%),
    radial-gradient(ellipse 60% 45% at 50% 85%, rgba(14, 165, 233, 0.12) 0%, transparent 65%),
    linear-gradient(180deg, #0b0f19 0%, #0f172a 55%, #0b1120 100%);
}

#lowongan,
#kategori-section,
#panduan-pelamar {
  scroll-margin-top: 86px;
}

/* Container */
.container {
  max-width: 1720px;
  width: 95%;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* ==============================================================
   NAVBAR (FIXED / FROZEN TOP BAR)
   ============================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

[data-theme="dark"] .navbar {
  background: rgba(19, 27, 46, 0.85);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-credit-divider {
  width: 1px;
  height: 22px;
  background: var(--border-color);
  flex-shrink: 0;
}

.daysheet-top-credit {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 4px;
  background: transparent !important;
  border: none !important;
  text-decoration: none;
  color: var(--text-muted);
  transition: transform 0.2s ease, opacity 0.2s ease;
  flex-shrink: 0;
}

.daysheet-top-credit:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.daysheet-by {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.02em;
  line-height: 1;
}

.daysheet-top-logo {
  height: 21px;
  width: auto;
  display: block;
  background: transparent !important;
  object-fit: contain;
}

.daysheet-footer-link {
  color: #0284c7;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px dashed rgba(2, 132, 199, 0.45);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.daysheet-footer-link:hover {
  color: #0d9488;
  border-bottom-color: #0d9488;
}

.daysheet-watermark-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 15px 7px 8px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0b1628 0%, #10203a 100%);
  border: 1px solid rgba(56, 189, 248, 0.28);
  box-shadow: 0 8px 20px -6px rgba(8, 17, 36, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  text-decoration: none;
  color: #ffffff;
  text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.daysheet-watermark-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(45, 212, 191, 0.55);
  box-shadow: 0 12px 26px -6px rgba(13, 148, 136, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.daysheet-wm-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}

.daysheet-wm-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.daysheet-wm-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}

.daysheet-wm-label {
  font-size: 0.63rem;
  font-weight: 500;
  color: #94a3b8;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.daysheet-wm-domain {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.daysheet-wm-tld {
  color: #2dd4bf;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.32rem;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.brand-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.brand-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--primary-light);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-left: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  border: 1px solid transparent;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #6366f1);
  color: white;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-hover), #4f46e5);
  box-shadow: 0 6px 16px var(--primary-glow);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-surface-alt);
  color: var(--text-main);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background: var(--border-color);
  color: var(--text-main);
}

.btn-admin {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #f8fafc;
  border: 1px solid #334155;
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .btn-admin {
  background: linear-gradient(135deg, #312e81, #1e1b4b);
  border-color: #4338ca;
}

.btn-admin:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: white;
}

.btn-outline {
  background: transparent;
  border-color: var(--border-color);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  cursor: pointer;
}

.btn-icon:hover {
  background: var(--bg-surface-alt);
  color: var(--primary);
}

/* ==============================================================
   HERO SECTION
   ============================================================== */
.hero {
  position: relative;
  padding: 54px 0 42px 0;
  overflow-x: clip;
  overflow-y: visible;
  background: transparent;
}

.hero-content {
  text-align: center;
  max-width: 1040px;
  margin: 0 auto;
}

.chip-views-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: 4px;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(249, 115, 22, 0.12);
  color: #ea580c;
}

.chip-keyword.active .chip-views-badge {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(79, 70, 229, 0.2);
}

.hero-pill i {
  color: var(--accent);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  color: var(--text-main);
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, #a855f7 50%, var(--secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 36px auto;
}

/* ==============================================================
   SEARCH BAR
   ============================================================== */
.search-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 10px;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  transition: all var(--transition-normal);
}

.search-wrapper:focus-within {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 4px var(--primary-glow), var(--shadow-xl);
}

.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  padding: 6px 14px;
}

.search-field i {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.search-field input {
  width: 100%;
  border: none;
  background: transparent;
  color: var(--text-main);
  font-size: 0.95rem;
  font-family: var(--font-body);
  outline: none;
}

/* ==============================================================
   CUSTOM DROPDOWN SYSTEM
   ============================================================== */
.custom-dropdown {
  position: relative;
  width: 100%;
  user-select: none;
}

.dropdown-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-main);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.dropdown-trigger:hover {
  background: var(--bg-surface-alt);
}

.custom-dropdown.open .dropdown-trigger {
  background: var(--bg-surface-alt);
  box-shadow: 0 0 0 2px var(--primary-glow);
}

.dropdown-trigger-content {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.dropdown-trigger-icon {
  color: var(--primary);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.dropdown-selected-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropdown-chevron {
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.custom-dropdown.open .dropdown-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

/* Floating Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  width: max-content;
  max-width: 320px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 6px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px) scale(0.98);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 320px;
  overflow-y: auto;
}

[data-theme="dark"] .dropdown-menu {
  background: rgba(19, 27, 46, 0.98);
  border-color: #334155;
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.6);
}

.custom-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dropdown-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dropdown-item-left i {
  color: var(--text-muted);
  font-size: 0.92rem;
  width: 18px;
  text-align: center;
}

.dropdown-item:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.dropdown-item:hover .dropdown-item-left i {
  color: var(--primary);
}

.dropdown-item.active {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
}

.dropdown-item.active .dropdown-item-left i {
  color: var(--primary);
}

.dropdown-check {
  font-size: 0.8rem;
  color: var(--primary);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.dropdown-item.active .dropdown-check {
  opacity: 1;
}

/* Sort Dropdown */
.sort-dropdown {
  min-width: 220px;
  width: auto;
}

.sort-trigger {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 9px 16px;
  box-shadow: var(--shadow-sm);
}

.sort-trigger:hover {
  border-color: var(--primary);
}

.sort-menu {
  right: 0;
  left: auto;
}

.search-divider {
  width: 1px;
  height: 32px;
  background-color: var(--border-color);
}

/* Quick Categories */
.quick-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.quick-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.tag-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tag-btn:hover,
.tag-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 2px 8px var(--primary-glow);
}

/* Stats Counter Ribbon */
.stats-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  margin: 40px 0 20px 0;
  box-shadow: var(--shadow-md);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.stat-icon.blue {
  background: rgba(79, 70, 229, 0.1);
  color: var(--primary);
}

.stat-icon.teal {
  background: rgba(6, 182, 212, 0.1);
  color: var(--secondary);
}

.stat-icon.amber {
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent);
}

.stat-icon.purple {
  background: rgba(139, 92, 246, 0.1);
  color: var(--purple);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
}

.stat-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==============================================================
   MAIN CONTENT & LAYOUT
   ============================================================== */
.main-section {
  padding: 40px 0 80px 0;
}

.content-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 32px;
  align-items: start;
}

/* Sidebar Filter */
.filter-sidebar {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 96px;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.sidebar-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-reset {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.filter-reset:hover {
  text-decoration: underline;
}

.filter-group {
  margin-bottom: 22px;
}

.filter-group-title {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
}

.filter-checkbox input[type="radio"],
.filter-checkbox input[type="checkbox"] {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.filter-checkbox:hover {
  color: var(--text-main);
}

/* Listings Container */
.listings-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.results-count {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
}

.results-count span {
  color: var(--primary);
}

.topbar-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sort-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 9px 38px 9px 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  outline: none;
  transition: all var(--transition-fast);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2.2' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 13px;
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .sort-select {
  background-color: var(--bg-surface-alt);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2.2' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
}

.sort-select:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
}

.sort-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.sort-select option {
  background-color: var(--bg-surface);
  color: var(--text-main);
  padding: 10px;
}

[data-theme="dark"] .sort-select option {
  background-color: #1e293b;
  color: #f8fafc;
}

.view-toggles {
  display: flex;
  background: var(--bg-surface-alt);
  border-radius: var(--radius-md);
  padding: 3px;
  border: 1px solid var(--border-color);
}

.view-btn {
  border: none;
  background: transparent;
  width: 34px;
  height: 32px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.view-btn.active {
  background: var(--bg-surface);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

/* ==============================================================
   JOB CARDS (GRID VIEW)
   ============================================================== */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 24px;
}

.jobs-grid.list-view {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.job-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(99, 102, 241, 0.3);
}

/* Poster Preview Banner inside card */
.job-poster-preview {
  position: relative;
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  overflow: hidden;
  cursor: pointer;
}

.job-poster-preview.is-poster-ready {
  background: #0f172a;
}

.job-poster-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease, opacity 0.2s ease-out;
}

.job-poster-preview img.poster-img-fade {
  opacity: 0;
}

.job-poster-preview img.poster-img-fade.is-loaded {
  opacity: 1;
}

.job-card:hover .job-poster-preview img {
  transform: scale(1.05);
}

.poster-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.08), rgba(15, 23, 42, 0.72));
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.job-poster-preview:hover .poster-overlay {
  opacity: 1;
}

.poster-badge-btn {
  background: rgba(255, 255, 255, 0.9);
  color: #0f172a;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-md);
  transform: translateY(10px);
  transition: transform var(--transition-fast);
}

.job-poster-preview:hover .poster-badge-btn {
  transform: translateY(0);
}

.badge-card-flyer {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.badge-card-flyer:hover {
  background: var(--primary);
  border-color: #818cf8;
  transform: scale(1.06);
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.45);
}

.badge-featured {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
}

.badge-category {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #f8fafc;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  z-index: 2;
}

.job-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.company-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.company-avatar {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
  overflow: hidden;
  border: 1px solid var(--border-color);
  flex-shrink: 0;
}

.company-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-meta {
  flex: 1;
  overflow: hidden;
}

.company-name {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.job-location {
  font-size: 0.8rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 4px;
}

.job-title {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 12px;
  transition: color var(--transition-fast);
  cursor: pointer;
}

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

.job-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.pill-type {
  background: rgba(6, 182, 212, 0.12);
  color: #0891b2;
}

[data-theme="dark"] .pill-type {
  color: #22d3ee;
}

.pill-exp {
  background: rgba(139, 92, 246, 0.12);
  color: #7c3aed;
}

[data-theme="dark"] .pill-exp {
  color: #a78bfa;
}

.pill-salary {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  font-weight: 700;
}

[data-theme="dark"] .pill-salary {
  color: #34d399;
}

/* Application Channel Pills on Job Cards (Via Email / Via Website / Via WhatsApp) */
.pill-channel-email {
  background: rgba(79, 70, 229, 0.12);
  color: #4f46e5;
  border: 1px solid rgba(79, 70, 229, 0.25);
  font-weight: 700;
}

.pill-channel-web {
  background: rgba(2, 132, 199, 0.12);
  color: #0284c7;
  border: 1px solid rgba(2, 132, 199, 0.25);
  font-weight: 700;
}

.pill-channel-wa {
  background: rgba(22, 163, 74, 0.12);
  color: #16a34a;
  border: 1px solid rgba(22, 163, 74, 0.25);
  font-weight: 700;
}

[data-theme="dark"] .pill-channel-email {
  background: rgba(99, 102, 241, 0.22);
  color: #a5b4fc;
  border-color: rgba(129, 140, 248, 0.35);
}

[data-theme="dark"] .pill-channel-web {
  background: rgba(14, 165, 233, 0.22);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.35);
}

[data-theme="dark"] .pill-channel-wa {
  background: rgba(34, 197, 94, 0.22);
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.35);
}

/* Platform Pills (LinkedIn, Instagram, Facebook, Resmi) */
.pill-platform {
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pill-platform.pill-linkedin {
  background: rgba(10, 102, 194, 0.12);
  color: #0a66c2;
  border: 1px solid rgba(10, 102, 194, 0.25);
}

[data-theme="dark"] .pill-platform.pill-linkedin {
  background: rgba(10, 102, 194, 0.25);
  color: #38bdf8;
}

.pill-platform.pill-instagram {
  background: rgba(225, 48, 108, 0.12);
  color: #e1306c;
  border: 1px solid rgba(225, 48, 108, 0.25);
}

[data-theme="dark"] .pill-platform.pill-instagram {
  background: rgba(225, 48, 108, 0.25);
  color: #f472b6;
}

.pill-platform.pill-facebook {
  background: rgba(24, 119, 242, 0.12);
  color: #1877f2;
  border: 1px solid rgba(24, 119, 242, 0.25);
}

[data-theme="dark"] .pill-platform.pill-facebook {
  background: rgba(24, 119, 242, 0.25);
  color: #60a5fa;
}

.pill-platform.pill-official {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

[data-theme="dark"] .pill-platform.pill-official {
  background: rgba(16, 185, 129, 0.25);
  color: #34d399;
}

/* Anti-Hoax Shield Pill on Job Cards */
.pill-anti-hoax {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

[data-theme="dark"] .pill-anti-hoax {
  background: rgba(16, 185, 129, 0.25);
  color: #34d399;
  border-color: rgba(52, 211, 153, 0.35);
}

/* Modal Anti-Hoax Guarantee Banner */
.modal-anti-hoax-banner {
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
  border: 1.5px solid #a7f3d0;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-anti-hoax-banner i {
  font-size: 1.5rem;
  color: #10b981;
  flex-shrink: 0;
}

.modal-anti-hoax-banner .title {
  font-weight: 800;
  font-size: 0.88rem;
  color: #065f46;
  margin-bottom: 2px;
}

.modal-anti-hoax-banner .desc {
  font-size: 0.78rem;
  color: #047857;
  line-height: 1.4;
}

.job-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.job-card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.posted-time {
  font-size: 0.78rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-actions {
  display: flex;
  gap: 8px;
}

/* List view adjustments */
.jobs-grid.list-view .job-card {
  flex-direction: row;
}

.jobs-grid.list-view .job-poster-preview {
  width: 240px;
  height: 100%;
  min-height: 200px;
  flex-shrink: 0;
}

/* ==============================================================
   EMPTY STATE
   ============================================================== */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-color);
  grid-column: 1 / -1;
}

.empty-icon {
  font-size: 3rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.empty-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.empty-desc {
  color: var(--text-muted);
  max-width: 400px;
  margin: 0 auto 20px auto;
  font-size: 0.92rem;
}

/* ==============================================================
   MODALS (DETAIL, APPLY, POSTER LIGHTBOX)
   ============================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 980px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px) scale(0.98);
  transition: all var(--transition-normal);
  position: relative;
}

.modal-overlay.active .modal-container {
  transform: translateY(0) scale(1);
}

#job-detail-modal .modal-container:has(.modal-hero-banner) > .modal-close-btn {
  display: none;
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}

/* Detail Modal Specifics - Sticky Clean Glassmorphic Header (Frozen on Scroll, Zero Cluttered BG Image) */
.modal-hero-banner {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  min-height: 0;
  height: auto;
  background: linear-gradient(135deg, #0f172a 0%, #172554 52%, #1e1b4b 100%);
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 10px 28px -8px rgba(15, 23, 42, 0.45);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal-hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 12%, rgba(56, 189, 248, 0.22) 0%, transparent 48%),
    radial-gradient(circle at 12% 88%, rgba(99, 102, 241, 0.24) 0%, transparent 52%);
  pointer-events: none;
}

.modal-banner-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 14px 22px;
}

.modal-hero-compact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
}

.modal-hero-identity {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  flex: 1;
}

.modal-hero-actions-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

.mh-btn-flyer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.28), rgba(59, 130, 246, 0.36));
  border: 1px solid rgba(125, 211, 252, 0.55);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.mh-btn-flyer:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #0284c7, #2563eb);
  box-shadow: 0 6px 16px rgba(14, 165, 233, 0.36);
}

.modal-close-btn.modal-sticky-close {
  position: static;
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  flex-shrink: 0;
}

.modal-close-btn.modal-sticky-close:hover {
  background: rgba(239, 68, 68, 0.8);
  border-color: rgba(254, 202, 202, 0.6);
}

.modal-hero-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.35);
}

.modal-header-info {
  color: white;
  min-width: 0;
  flex: 1;
}

.modal-hero-company {
  font-size: 0.8rem;
  font-weight: 700;
  color: #93c5fd;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
  line-height: 1.3;
  max-width: 100%;
}

.modal-header-info h2 {
  font-family: var(--font-heading);
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
  color: #ffffff;
  letter-spacing: -0.2px;
  overflow-wrap: anywhere;
}

.modal-detail-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 28px 20px 28px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-surface-alt);
}

.modal-footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.modal-body {
  padding: 32px;
}

.detail-grid-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 28px;
}

.detail-main {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
}

.detail-section {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.detail-section:hover {
  border-color: rgba(99, 102, 241, 0.3);
}

.detail-section h4 {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-section h4 i {
  color: var(--primary);
  font-size: 1.1rem;
}

.detail-section p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* Metadata Chips in Description Section */
.desc-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.desc-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(99, 102, 241, 0.07);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 20px;
  font-size: 0.84rem;
  color: var(--text-main);
}

.desc-meta-chip i {
  color: var(--primary);
  font-size: 0.9rem;
}

.desc-meta-chip strong {
  color: var(--text-muted);
  font-weight: 600;
  margin-right: 2px;
}

.desc-body-box {
  background: var(--bg-surface-alt);
  border-radius: 10px;
  padding: 16px 20px;
  border-left: 3px solid var(--primary);
}

.desc-body-text {
  color: var(--text-main) !important;
  font-size: 0.94rem;
  line-height: 1.75 !important;
  margin: 0;
  white-space: pre-line;
}

.detail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.detail-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text-main);
  font-size: 0.93rem;
  line-height: 1.6;
}

.detail-list li::before {
  content: '✓';
  position: absolute;
  left: 4px;
  top: 1px;
  color: var(--success);
  font-weight: 800;
  font-size: 1rem;
}

.benefits-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.benefit-tag {
  background: var(--bg-surface-alt);
  color: var(--text-main);
  padding: 6px 14px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 6px;
}

.benefit-tag i {
  color: var(--accent);
}

/* Detail Sidebar */
.detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.sidebar-card {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  min-width: 0;
  box-sizing: border-box;
}

.sidebar-card-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-main);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  min-width: 0;
}

.info-item>div {
  min-width: 0;
  flex: 1;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-item i {
  color: var(--primary);
  margin-top: 3px;
  font-size: 1rem;
  flex-shrink: 0;
}

.info-label {
  font-size: 0.78rem;
  color: var(--text-light);
  text-transform: uppercase;
  font-weight: 600;
}

.info-val {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  overflow-wrap: anywhere;
}

.apply-guide-box {
  flex-direction: column;
  align-items: stretch;
  background: rgba(59, 130, 246, 0.06);
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(59, 130, 246, 0.22);
  margin: 8px 0 14px 0;
  gap: 6px;
}

.apply-guide-box .info-label {
  color: #1d4ed8;
  font-weight: 800;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.apply-guide-box .info-label i {
  color: #2563eb;
  margin-top: 0;
  font-size: 0.85rem;
}

.apply-guide-box .info-val {
  color: var(--text-main);
  font-size: 0.82rem;
  line-height: 1.5;
  white-space: pre-line;
  font-weight: 600;
}

[data-theme="dark"] .apply-guide-box {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(96, 165, 250, 0.28);
}

[data-theme="dark"] .apply-guide-box .info-label,
[data-theme="dark"] .apply-guide-box .info-label i {
  color: #93c5fd;
}

/* Poster Box inside Modal */
.poster-showcase-box {
  background: var(--bg-main);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 12px;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

.poster-showcase-box .poster-showcase-heading,
.poster-showcase-box p {
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 10px auto !important;
  width: 100% !important;
}

.poster-showcase-box img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform var(--transition-fast);
  margin: 0 auto;
}

.poster-showcase-box img:hover {
  transform: scale(1.02);
}

/* ==============================================================
   JOB FLYER AUTO-SLIDING CAROUSEL STYLES
   ============================================================== */
.flyer-carousel-container {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 220px;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1), transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.02);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.carousel-nav-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.1);
}

.carousel-nav-btn.prev {
  left: 14px;
}

.carousel-nav-btn.next {
  right: 14px;
}

.carousel-dots-indicator {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(6px);
  padding: 5px 10px;
  border-radius: 20px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.25s ease;
}

.carousel-dot.active {
  width: 22px;
  border-radius: 10px;
  background: #ffffff;
}

.carousel-counter-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Sidebar Carousel inside modal */
.sidebar-flyer-carousel .side-carousel-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #0f172a;
  min-height: 200px;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.side-carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.side-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.side-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.side-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: pointer;
}

.side-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.7);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  font-size: 0.7rem;
  transition: all 0.2s ease;
}

.side-nav-btn:hover {
  background: var(--primary);
}

.side-nav-btn.prev {
  left: 6px;
}

.side-nav-btn.next {
  right: 6px;
}

.side-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
}

.side-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border-color);
  cursor: pointer;
  transition: all 0.2s ease;
}

.side-dot.active {
  width: 16px;
  border-radius: 6px;
  background: var(--primary);
}

/* Poster Fullscreen Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--transition-normal);
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

.lightbox-bar {
  margin-top: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.lightbox-nav-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(15, 23, 42, 0.72);
  color: #ffffff;
  font-size: 1rem;
  cursor: pointer;
  z-index: 2010;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  touch-action: manipulation;
}

.lightbox-nav-btn:hover {
  background: rgba(37, 99, 235, 0.9);
  transform: translateY(-50%) scale(1.06);
}

.lightbox-nav-btn.prev {
  left: 16px;
}

.lightbox-nav-btn.next {
  right: 16px;
}

/* ==============================================================
   FORMS & INPUTS
   ============================================================== */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-label span.req {
  color: var(--danger);
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.file-dropzone {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  background: var(--bg-surface-alt);
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.file-dropzone:hover,
.file-dropzone.dragover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.file-dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.dropzone-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.dropzone-text {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
}

.dropzone-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ==============================================================
   TOAST NOTIFICATION
   ============================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary);
  color: var(--text-main);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  min-width: 280px;
  animation: slideIn 0.3s ease;
}

.toast.success {
  border-left-color: var(--success);
}

.toast.error {
  border-left-color: var(--danger);
}

.toast.info {
  border-left-color: var(--primary);
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ==============================================================
   FOOTER
   ============================================================== */
.footer {
  margin-top: auto;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 40px 0 92px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  text-align: left;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  font-size: 0.82rem;
  color: var(--text-light);
}

.footer-bottom-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-social-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.social-footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 4px 13px 4px 5px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.79rem;
  font-weight: 700;
  text-decoration: none;
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.social-footer-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.social-footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.social-footer-btn.social-ig .social-footer-icon {
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 52%, #8134af 100%);
}

.social-footer-btn.social-ig:hover {
  border-color: rgba(221, 42, 123, 0.48);
}

.social-footer-btn.social-tt .social-footer-icon {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  box-shadow: -1.5px 0 0 #25f4ee inset, 1.5px 0 0 #fe2c55 inset;
}

.social-footer-btn.social-tt:hover {
  border-color: rgba(15, 23, 42, 0.45);
}

[data-theme="dark"] .social-footer-btn {
  background: #131b2e;
  border-color: #273549;
  color: #f8fafc;
}

[data-theme="dark"] .social-footer-btn.social-tt:hover {
  border-color: #38bdf8;
}

@media (max-width: 768px) {
  .footer {
    padding: 36px 0 98px 0;
  }
}

@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .footer-bottom-actions {
    justify-content: center;
  }
}

/* ==============================================================
   RESPONSIVE MEDIA QUERIES
   ============================================================== */
/* Mobile Filter Bar & Drawer */
.mobile-filter-bar {
  display: none;
  margin-bottom: 16px;
}

.btn-mobile-filter-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.btn-mobile-filter-toggle:hover,
.btn-mobile-filter-toggle.active {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
}

.mft-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mft-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mft-badge {
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  color: var(--primary);
  font-weight: 700;
}

.mft-chevron {
  transition: transform 0.3s ease;
}

.btn-mobile-filter-toggle.active .mft-chevron {
  transform: rotate(180deg);
}

.mobile-filter-apply-box {
  display: none;
}

@media (max-width: 992px) {
  .mobile-filter-bar {
    display: block;
  }

  .mobile-filter-apply-box {
    display: block;
  }

  .content-layout {
    grid-template-columns: 1fr;
  }

  .filter-sidebar {
    display: none;
    position: static;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
    animation: fadeIn 0.25s ease;
  }

  .filter-sidebar.open-mobile {
    display: block;
  }

  .detail-grid-layout {
    display: flex;
    flex-direction: column;
  }

  .detail-sidebar {
    order: -1;
    margin-bottom: 24px;
  }

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

  .hero-title {
    font-size: 2.3rem;
  }
}

@media (max-width: 768px) {
  .container {
    width: 100%;
    padding: 0 12px;
  }

  .nav-links {
    display: none;
  }

  .hero-title {
    font-size: 1.8rem;
    line-height: 1.25;
  }

  .hero-desc {
    font-size: 0.92rem;
    padding: 0 4px;
  }

  .search-wrapper {
    flex-direction: column;
    gap: 10px;
    padding: 14px 12px;
    width: 100%;
    box-sizing: border-box;
  }

  .search-field {
    min-width: 0 !important;
    width: 100% !important;
  }

  .search-input {
    font-size: 16px;
    /* Prevents auto-zoom in mobile browsers */
  }

  .search-divider {
    display: none;
  }

  .jobs-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    width: 100%;
  }

  .stats-ribbon {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 12px 10px;
  }

  .stat-item {
    padding: 8px 6px;
    gap: 8px;
  }

  .stat-icon {
    width: 34px;
    height: 34px;
    font-size: 0.9rem;
    flex-shrink: 0;
  }

  .stat-info h4 {
    font-size: 0.9rem;
    margin-bottom: 2px;
  }

  .stat-info p {
    font-size: 0.68rem;
    line-height: 1.25;
  }

  .modal-overlay {
    padding: 8px;
  }

  .modal-container {
    max-height: 96vh;
    border-radius: var(--radius-md);
    width: 100%;
  }

  .modal-hero-banner {
    min-height: 0;
    height: auto;
  }

  .modal-banner-overlay {
    padding: 11px 14px;
  }

  .modal-hero-compact-row {
    gap: 10px;
  }

  .modal-hero-identity {
    gap: 10px;
  }

  .modal-hero-avatar {
    width: 36px;
    height: 36px;
    font-size: 1rem;
    border-radius: 10px;
  }

  .modal-hero-company {
    font-size: 0.72rem;
  }

  .modal-header-info h2 {
    font-size: 1.02rem;
  }

  .mh-btn-flyer {
    padding: 5px 10px;
    font-size: 0.72rem;
  }

  .modal-detail-footer {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 14px 16px 18px 16px;
  }

  .modal-body {
    padding: 14px;
  }

  .listings-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .topbar-controls {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
  }

  .promo-cv-banner {
    padding: 16px 14px;
    margin: 20px 0;
    gap: 14px;
  }

  .promo-cv-left {
    min-width: 0;
    width: 100%;
  }

  .job-card-footer {
    flex-wrap: wrap;
    gap: 10px;
  }

  .card-actions {
    flex: 1 1 auto;
    justify-content: flex-end;
  }

  .card-actions .btn,
  .job-card-body .btn-apply-direct {
    min-height: 38px;
    white-space: nowrap;
    touch-action: manipulation;
  }
}

/* ==============================================================
   INTERACTIVE JOB SEEKER FEATURES & ENHANCEMENTS
   ============================================================== */

/* Search Clear Button */
.search-field-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
}

.search-clear-btn {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  display: none;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.search-clear-btn:hover {
  color: var(--danger);
  background: rgba(239, 68, 68, 0.1);
}

/* Trending Keywords Chips */
.trending-keywords {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  justify-content: center;
}

@media (max-width: 768px) {
  .trending-keywords {
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: visible;
    padding: 0 2px;
    margin: 14px 0 0 0;
    gap: 7px;
  }

  .trending-label {
    flex-basis: 100%;
    justify-content: center;
    padding-left: 0;
    margin-bottom: 2px;
    font-size: 0.78rem;
  }

  .chip-keyword {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 0.75rem;
    padding: 6px 11px;
  }
}

.trending-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.chip-keyword {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.chip-keyword:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.15);
}

.chip-keyword.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* Tabs Navigation Bar */
.job-tabs-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  scrollbar-width: none;
}

.job-tabs-nav::-webkit-scrollbar {
  display: none;
}

.job-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  background: var(--bg-surface-alt);
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-normal);
}

.job-tab-btn:hover {
  background: var(--bg-surface);
  color: var(--text-main);
  border-color: var(--border-color);
}

.job-tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

.job-tab-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.08);
}

.job-tab-btn.active .job-tab-badge {
  background: rgba(255, 255, 255, 0.25);
  color: white;
}

/* Active Filters Bar */
.active-filters-bar {
  display: none;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px;
  margin-bottom: 18px;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  animation: fadeIn 0.2s ease;
}

.active-filter-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-chip-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-surface);
  border: 1px solid var(--border-focus);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.filter-chip-item button {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
}

.filter-chip-item button:hover {
  color: var(--danger);
}

.btn-clear-all-chips {
  background: none;
  border: none;
  color: var(--danger);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 8px;
  text-decoration: underline;
}

/* Skill Tags on Card */
.card-skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  margin-bottom: 6px;
}

.skill-tag-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--bg-surface-alt);
  color: var(--text-muted);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.skill-tag-pill:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--border-focus);
}

/* Urgency & Deadline Badge */
.pill-urgency {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.3);
  font-weight: 700;
}

[data-theme="dark"] .pill-urgency {
  color: #fbbf24;
}

.pill-salary {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-weight: 700;
}

[data-theme="dark"] .pill-salary {
  color: #34d399;
}

/* Application Channel Pills on Job Cards (Via Email / Via Website / Via WhatsApp) */
.pill-channel-email {
  background: rgba(79, 70, 229, 0.12);
  color: #4f46e5;
  border: 1px solid rgba(79, 70, 229, 0.25);
  font-weight: 700;
}

.pill-channel-web {
  background: rgba(2, 132, 199, 0.12);
  color: #0284c7;
  border: 1px solid rgba(2, 132, 199, 0.25);
  font-weight: 700;
}

.pill-channel-wa {
  background: rgba(22, 163, 74, 0.12);
  color: #16a34a;
  border: 1px solid rgba(22, 163, 74, 0.25);
  font-weight: 700;
}

[data-theme="dark"] .pill-channel-email {
  background: rgba(99, 102, 241, 0.22);
  color: #a5b4fc;
  border-color: rgba(129, 140, 248, 0.35);
}

[data-theme="dark"] .pill-channel-web {
  background: rgba(14, 165, 233, 0.22);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.35);
}

[data-theme="dark"] .pill-channel-wa {
  background: rgba(34, 197, 94, 0.22);
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.35);
}

/* Interactive Checklist in Modal */
.interactive-check-box {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 12px;
}

.check-meter-bar {
  height: 8px;
  background: var(--border-color);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 10px 0 6px 0;
}

.check-meter-fill {
  height: 100%;
  background: linear-gradient(90deg, #4f46e5, #10b981);
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

.check-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border-color);
  cursor: pointer;
  font-size: 0.88rem;
}

.check-list-item:last-child {
  border-bottom: none;
}

.check-list-item input[type="checkbox"] {
  margin-top: 4px;
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
  cursor: pointer;
  flex-shrink: 0;
}

.check-list-item.checked .check-item-text,
.check-list-item.checked > span:last-child {
  text-decoration: line-through;
  color: var(--text-light);
}

/* Eye-Catching Auto-Numbered Description, Responsibilities & Qualifications */
.desc-section-subhead {
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.45px;
  margin: 12px 0 8px 0;
}

.desc-section-subhead:first-child {
  margin-top: 0;
}

.auto-numbered-list {
  list-style: none;
  margin: 4px 0 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.auto-numbered-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 10px 13px;
  background: var(--bg-surface);
  border: 1px solid rgba(203, 213, 225, 0.78);
  border-radius: 11px;
  font-size: 0.91rem;
  line-height: 1.55;
  color: var(--text-main);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

[data-theme="dark"] .auto-numbered-list li {
  background: rgba(15, 23, 42, 0.65);
  border-color: rgba(51, 65, 85, 0.85);
}

.num-point-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(37, 99, 235, 0.28);
  margin-top: 1px;
}

.auto-numbered-emerald .num-point-badge {
  background: linear-gradient(135deg, #059669, #10b981);
  box-shadow: 0 3px 8px rgba(16, 185, 129, 0.28);
}

.num-point-text {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}

.check-list-numbered-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.check-list-item.check-list-numbered {
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  background: var(--bg-surface);
  border: 1px solid rgba(203, 213, 225, 0.8);
  border-radius: 11px;
  transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.check-list-item.check-list-numbered:hover {
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.08);
}

.check-list-item.check-list-numbered input[type="checkbox"] {
  margin-top: 0;
  margin-left: auto;
}

.check-item-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(99, 102, 241, 0.18));
  color: var(--primary);
  border: 1px solid rgba(59, 130, 246, 0.28);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
  transition: all 0.16s ease;
}

.check-list-item.check-list-numbered.checked .check-item-num {
  background: linear-gradient(135deg, #059669, #10b981);
  color: #ffffff;
  border-color: transparent;
}

.check-item-text {
  flex: 1;
  min-width: 0;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-main);
  overflow-wrap: anywhere;
}

[data-theme="dark"] .check-list-item.check-list-numbered {
  background: rgba(15, 23, 42, 0.65);
  border-color: rgba(51, 65, 85, 0.85);
}

[data-theme="dark"] .check-item-num {
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.22);
}

/* Chat Template Card in Modal */
.chat-template-card {
  margin-top: 16px;
  padding: 16px;
  background: linear-gradient(145deg, var(--bg-surface), var(--bg-surface-alt));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.chat-template-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.chat-template-text {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-main);
  white-space: pre-line;
  user-select: all;
}

.btn-copy-template {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-copy-template:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

/* Share Box Card inside Detail Modal Sidebar */
.share-box {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.share-box-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.share-box-title i {
  color: var(--primary);
}

.share-btns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.81rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
  width: 100%;
  min-width: 0;
}

.share-btn:hover {
  transform: translateY(-1px);
}

.share-btn:active {
  transform: translateY(0);
}

.share-wa {
  background: rgba(22, 163, 74, 0.1);
  color: #15803d;
  border: 1px solid rgba(22, 163, 74, 0.28);
}

.share-wa:hover {
  background: #16a34a;
  color: #ffffff;
  border-color: #16a34a;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
}

.share-copy {
  background: var(--bg-surface);
  color: var(--primary);
  border: 1px solid rgba(79, 70, 229, 0.26);
}

.share-copy:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

[data-theme="dark"] .share-wa {
  background: rgba(34, 197, 94, 0.14);
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.3);
}

[data-theme="dark"] .share-wa:hover {
  background: #16a34a;
  color: #ffffff;
}

[data-theme="dark"] .share-copy {
  background: rgba(99, 102, 241, 0.12);
  color: #a5b4fc;
  border-color: rgba(129, 140, 248, 0.3);
}

[data-theme="dark"] .share-copy:hover {
  background: var(--primary);
  color: #ffffff;
}

/* ==============================================================
   LOCKED / EXPIRED LOWONGAN STYLES
   ============================================================== */
.job-card.job-card-locked {
  border-color: #cbd5e1;
  background: var(--bg-surface-alt);
  position: relative;
  filter: grayscale(0.2);
}

.job-card.job-card-locked:hover {
  transform: none;
  box-shadow: var(--shadow-sm);
}

.badge-locked-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  background: rgba(220, 38, 38, 0.94);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  z-index: 5;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
}

.pill.pill-expired {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-locked-disabled {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: #e2e8f0;
  color: #64748b;
  border: 1px solid #cbd5e1;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: not-allowed;
  transition: all 0.2s;
}

.btn-locked-disabled:hover {
  background: #fecaca;
  color: #b91c1c;
  border-color: #f87171;
}

/* ==============================================================
   SMART AI CV MATCHER COMPONENT
   ============================================================== */
.cv-matcher-card {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(147, 51, 234, 0.07) 100%);
  border: 1.5px solid rgba(129, 140, 248, 0.3);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 28px;
  box-shadow: 0 8px 24px -4px rgba(79, 70, 229, 0.08);
  position: relative;
  overflow: hidden;
}

.cv-matcher-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
}

.cv-matcher-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.cv-matcher-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.cv-upload-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
}

.cv-dropzone {
  border: 2px dashed #818cf8;
  border-radius: var(--radius-md);
  padding: 24px 20px;
  background: rgba(99, 102, 241, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  transition: all 0.2s;
}

.cv-dropzone:hover {
  background: rgba(99, 102, 241, 0.08);
  border-color: var(--primary);
  transform: translateY(-1px);
}

.cv-drop-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e0e7ff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.cv-drop-text {
  flex: 1;
}

.cv-drop-text strong {
  display: block;
  font-size: 0.98rem;
  color: var(--text-main);
  margin-bottom: 3px;
}

.cv-drop-text span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cv-or-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 16px 0;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.cv-or-divider::before,
.cv-or-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-color);
}

.cv-or-divider span {
  padding: 0 12px;
}

.cv-paste-row {
  display: flex;
  gap: 12px;
}

.cv-textarea {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  resize: vertical;
}

.cv-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

/* Match Status Bar */
.cv-match-status-bar {
  margin-top: 18px;
  background: #ecfdf5;
  border: 1.5px solid #a7f3d0;
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  animation: fadeIn 0.3s ease;
}

.match-status-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.match-pulse-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #10b981;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.35);
}

.match-status-left strong {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: #065f46;
  display: block;
}

.match-status-left p {
  font-size: 0.8rem;
  color: #047857;
  margin-top: 2px;
}

.btn-reset-cv {
  background: white;
  border: 1px solid #6ee7b7;
  color: #047857;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s;
}

.btn-reset-cv:hover {
  background: #047857;
  color: white;
}

/* Card CV Match Badge */
.cv-match-badge {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.matched-skills-chips {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin: 6px 0 10px 0;
  font-size: 0.74rem;
}

.matched-skills-label {
  color: #059669;
  font-weight: 700;
}

.matched-skill-tag {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 600;
}

/* Multi-Channel Contact Buttons in Modal */
.modal-contact-channels {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.btn-wa-direct {
  width: 100%;
  padding: 14px;
  font-size: 0.98rem;
  background: #25d366;
  color: white;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-wa-direct:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

.btn-email-direct {
  width: 100%;
  padding: 13px;
  font-size: 0.95rem;
  background: var(--primary);
  color: white;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

.btn-email-direct:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-web-direct {
  width: 100%;
  padding: 13px;
  font-size: 0.95rem;
  background: #0284c7;
  color: white;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

.btn-web-direct:hover {
  background: #0369a1;
  transform: translateY(-2px);
}

.btn-bukajobs-direct {
  background: linear-gradient(135deg, #4f46e5, #6366f1) !important;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35) !important;
}

.btn-bukajobs-direct:hover {
  background: linear-gradient(135deg, #4338ca, #4f46e5) !important;
}

.btn-pertamina-direct {
  background: linear-gradient(135deg, #059669, #10b981) !important;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35) !important;
}

.btn-pertamina-direct:hover {
  background: linear-gradient(135deg, #047857, #059669) !important;
}

.btn-bca-direct {
  background: linear-gradient(135deg, #005696, #0077c8) !important;
  box-shadow: 0 4px 14px rgba(0, 86, 150, 0.35) !important;
}

.btn-bca-direct:hover {
  background: linear-gradient(135deg, #004375, #005696) !important;
}

/* ============================================================== */
/* FLOATING WHATSAPP 2-STEP BOBBING WIDGET & POPOVER              */
/* ============================================================== */
.floating-wa-cv-container {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.floating-wa-cv-btn {
  position: relative;
  width: 54px;
  height: 54px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff !important;
  font-size: 1.72rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(18, 140, 126, 0.36), 0 3px 8px rgba(15, 23, 42, 0.16);
  animation: waFloatBob 2.6s ease-in-out infinite;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-wa-cv-btn:hover,
.floating-wa-cv-container.is-open .floating-wa-cv-btn {
  animation-play-state: paused;
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 14px 28px rgba(18, 140, 126, 0.45), 0 4px 12px rgba(15, 23, 42, 0.2);
}

.wa-btn-badge-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #4ade80;
  border: 2px solid #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.wa-popover-card[hidden] {
  display: none !important;
}

.wa-popover-card {
  width: min(300px, calc(100vw - 28px));
  background: #ffffff;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 22px 44px -12px rgba(15, 23, 42, 0.28), 0 4px 14px rgba(15, 23, 42, 0.08);
  transform-origin: bottom right;
  animation: waPopoverIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] .wa-popover-card {
  background: #131b2e;
  border-color: #273549;
}

.wa-popover-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: linear-gradient(135deg, #075e54 0%, #128c7e 100%);
  color: #ffffff;
}

.wa-popover-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.wa-popover-meta {
  flex: 1;
  min-width: 0;
}

.wa-popover-name {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.2;
}

.wa-popover-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 2px;
}

.wa-online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  display: inline-block;
}

.wa-popover-close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: background 0.15s ease;
}

.wa-popover-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.wa-popover-body {
  padding: 14px;
  background: linear-gradient(180deg, #f0fdf4 0%, #f8fafc 100%);
}

[data-theme="dark"] .wa-popover-body {
  background: #0f172a;
}

.wa-chat-bubble {
  background: #ffffff;
  color: #1e293b;
  border: 1px solid rgba(203, 213, 225, 0.7);
  border-radius: 14px 14px 14px 4px;
  padding: 10px 12px;
  font-size: 0.82rem;
  line-height: 1.48;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
}

[data-theme="dark"] .wa-chat-bubble {
  background: #1e293b;
  color: #e2e8f0;
  border-color: #334155;
}

.wa-popover-foot {
  padding: 10px 14px 14px 14px;
  background: var(--bg-surface);
}

.wa-popover-cta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.32);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.wa-popover-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.42);
}

@keyframes waFloatBob {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes waPopoverIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-wa-cv-btn {
    animation: none !important;
  }
}

@media (max-width: 640px) {
  .floating-wa-cv-container {
    bottom: 16px;
    right: 16px;
  }

  .floating-wa-cv-btn {
    width: 50px;
    height: 50px;
    font-size: 1.55rem;
  }
}

/* Promo Banner Jasa CV ATS in Home */
.promo-cv-banner {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.08), rgba(99, 102, 241, 0.08));
  border: 1.5px solid rgba(37, 211, 102, 0.25);
  border-radius: var(--radius-lg);
  padding: 22px 28px;
  margin: 30px 0 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.promo-cv-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  min-width: 280px;
}

.promo-cv-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #25d366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.promo-cv-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.12rem;
  color: var(--text-main);
  margin-bottom: 4px;
}

.promo-cv-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.btn-pesan-cv-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: white !important;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 22px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
  white-space: nowrap;
}

.btn-pesan-cv-wa:hover {
  background: #1eb956;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
  color: white !important;
}

/* OUT OF CATEGORY SEARCH BANNER */
.search-out-of-category-notice {
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeIn 0.3s ease;
}

.search-out-of-cat-text {
  font-size: 0.88rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-clear-category-chip {
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-clear-category-chip:hover {
  background: var(--primary-hover);
}

/* ============================================================== */
/* PLATFORM PILLS & DIRECT SOCIAL BUTTONS (LinkedIn, IG, FB, Resmi) */
/* ============================================================== */
.pill-platform {
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.pill-platform.pill-linkedin {
  background: rgba(10, 102, 194, 0.1);
  color: #0a66c2;
  border: 1px solid rgba(10, 102, 194, 0.25);
}

.pill-platform.pill-instagram {
  background: rgba(225, 48, 108, 0.1);
  color: #e1306c;
  border: 1px solid rgba(225, 48, 108, 0.25);
}

.pill-platform.pill-facebook {
  background: rgba(24, 119, 242, 0.1);
  color: #1877f2;
  border: 1px solid rgba(24, 119, 242, 0.25);
}

.pill-platform.pill-official {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

/* Dark mode overrides for platform pills */
[data-theme="dark"] .pill-platform.pill-linkedin {
  background: rgba(10, 102, 194, 0.2);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.35);
}

[data-theme="dark"] .pill-platform.pill-instagram {
  background: rgba(225, 48, 108, 0.2);
  color: #f472b6;
  border-color: rgba(244, 114, 182, 0.35);
}

[data-theme="dark"] .pill-platform.pill-facebook {
  background: rgba(24, 119, 242, 0.2);
  color: #60a5fa;
  border-color: rgba(96, 165, 250, 0.35);
}

[data-theme="dark"] .pill-platform.pill-official {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border-color: rgba(52, 211, 153, 0.35);
}

/* Direct Social Media Action Buttons in Detail Modal */
.btn-linkedin-direct {
  background: #0a66c2 !important;
  box-shadow: 0 4px 14px rgba(10, 102, 194, 0.35) !important;
}

.btn-linkedin-direct:hover {
  background: #004182 !important;
}

.btn-instagram-direct {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045) !important;
  box-shadow: 0 4px 14px rgba(225, 48, 108, 0.35) !important;
}

.btn-instagram-direct:hover {
  filter: brightness(1.1);
}

.btn-facebook-direct {
  background: #1877f2 !important;
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.35) !important;
}

.btn-facebook-direct:hover {
  background: #0c5dc7 !important;
}

/* ============================================================== */
/* MODAL CONTACT CHANNELS & DIRECT WEBMAIL BUTTONS                */
/* ============================================================== */
.modal-contact-channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.contact-channel-item {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.btn-wa-direct {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25d366;
  color: white !important;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 13px 18px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-wa-direct:hover {
  background: #1eb956;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.contact-address-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  padding: 7px 11px;
  border-radius: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  font-size: 0.78rem;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.contact-address-email {
  background: rgba(234, 67, 53, 0.05);
  border-color: rgba(234, 67, 53, 0.2);
}

[data-theme="dark"] .contact-address-email {
  background: rgba(234, 67, 53, 0.12);
  border-color: rgba(248, 113, 113, 0.25);
}

.contact-address-subject {
  background: rgba(79, 70, 229, 0.06);
  border-color: rgba(79, 70, 229, 0.22);
}

.contact-address-subject .contact-address-val {
  overflow-wrap: break-word;
  word-break: normal;
  font-size: 0.76rem;
}

[data-theme="dark"] .contact-address-subject {
  background: rgba(99, 102, 241, 0.14);
  border-color: rgba(129, 140, 248, 0.28);
}

.contact-address-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-muted);
  font-weight: 700;
  flex-shrink: 0;
}

.contact-address-val {
  flex: 1;
  min-width: 0;
  font-weight: 700;
  color: var(--text-main);
  overflow-wrap: anywhere;
  word-break: break-all;
  line-height: 1.35;
}

.contact-address-copy {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border-radius: 7px;
  border: 1px solid var(--border-color);
  background: var(--bg-surface-alt);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.contact-address-copy:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.btn-email-direct {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 9px;
  background: linear-gradient(135deg, #ea4335 0%, #db4437 100%);
  color: white !important;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.93rem;
  line-height: 1.35;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  white-space: normal;
  overflow-wrap: anywhere;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(234, 67, 53, 0.35);
}

.btn-email-direct:hover {
  background: linear-gradient(135deg, #d93025 0%, #c5221f 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 67, 53, 0.45);
}

.email-providers-box {
  margin-top: 8px;
  padding: 9px 10px;
  border-radius: 10px;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  width: 100%;
  box-sizing: border-box;
}

.email-providers-quick-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 7px;
  width: 100%;
}

.ep-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
}

.ep-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  padding: 6px 4px;
  border-radius: 7px;
  font-size: 0.74rem;
  font-weight: 700;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-main);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
  text-decoration: none !important;
  box-sizing: border-box;
}

.ep-pill:hover {
  transform: translateY(-1px);
}

.ep-pill.ep-gmail:hover {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #dc2626;
}

.ep-pill.ep-outlook:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #0284c7;
}

.ep-pill.ep-yahoo:hover {
  background: #f5f3ff;
  border-color: #c4b5fd;
  color: #7c3aed;
}

.ep-pill.ep-client:hover,
.ep-pill.ep-copy:hover {
  background: var(--bg-surface-alt);
  color: var(--primary);
  border-color: var(--primary);
}

.btn-web-direct {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 9px;
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  color: white !important;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.93rem;
  line-height: 1.35;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  white-space: normal;
  overflow-wrap: anywhere;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.btn-web-direct:hover {
  background: linear-gradient(135deg, #4338ca 0%, #4f46e5 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.45);
}

/* ============================================================== */
/* USER PORTAL MODERN UI POLISH & INTERACTIVE REFINEMENTS         */
/* ============================================================== */
.navbar {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 1px 12px rgba(15, 23, 42, 0.03);
}

[data-theme="dark"] .navbar {
  background: rgba(11, 17, 32, 0.9);
  border-bottom-color: rgba(30, 41, 59, 0.9);
}

.nav-link {
  position: relative;
  font-weight: 600;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(29, 78, 216, 0.06);
}

.search-wrapper {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(203, 213, 225, 0.9);
  box-shadow: 0 18px 36px -12px rgba(15, 23, 42, 0.1), 0 4px 12px -4px rgba(15, 23, 42, 0.04);
}

[data-theme="dark"] .search-wrapper {
  background: var(--bg-surface);
  border-color: #293548;
  box-shadow: 0 18px 36px -12px rgba(0, 0, 0, 0.45);
}

.stats-ribbon {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.06);
}

[data-theme="dark"] .stats-ribbon,
[data-theme="dark"] .filter-sidebar,
[data-theme="dark"] .job-card {
  background: var(--bg-surface);
}

.stats-ribbon .stat-item {
  transition: transform 0.2s ease;
}

.stats-ribbon .stat-item:hover {
  transform: translateY(-2px);
}

.job-tabs-nav {
  gap: 10px;
}

.job-tab-btn {
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-sidebar {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 4px 18px -6px rgba(15, 23, 42, 0.05);
}

.filter-checkbox {
  padding: 5px 8px;
  margin: 0 -8px;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}

.filter-checkbox:hover {
  background: var(--bg-surface-alt);
}

.job-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 4px 16px -4px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 32px -12px rgba(29, 78, 216, 0.15), 0 4px 10px rgba(15, 23, 42, 0.04);
  border-color: rgba(59, 130, 246, 0.45);
}

.company-avatar {
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.08), rgba(2, 132, 199, 0.12));
  border-color: rgba(29, 78, 216, 0.16);
}

.job-card-body .btn-apply-direct {
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.22);
}

@media (max-width: 640px) {
  body {
    padding-top: 64px;
  }

  .nav-container {
    height: 64px;
    gap: 8px;
  }

  .brand-lockup {
    gap: 6px;
  }

  .brand-logo {
    font-size: 1.12rem;
    gap: 7px;
  }

  .brand-icon {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }

  .brand-tag {
    display: none;
  }

  .brand-credit-divider {
    height: 18px;
  }

  .daysheet-by {
    font-size: 0.65rem;
  }

  .daysheet-top-logo {
    height: 17px;
  }
}




/* ============================================================== */
/* USER PORTAL SCROLL & COMPOSITOR PERFORMANCE OPTIMIZATION       */
/* ============================================================== */
.navbar {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: translateZ(0);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.dropdown-menu {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: opacity 0.18s ease, transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.18s ease;
}

.job-card {
  content-visibility: auto;
  contain-intrinsic-size: auto 460px;
  contain: layout style;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background-color 0.2s ease;
}

.jobs-grid.list-view .job-card {
  contain-intrinsic-size: auto 210px;
}

.badge-card-flyer,
.badge-category {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.badge-card-flyer {
  background: rgba(15, 23, 42, 0.92);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

/* ============================================================== */
/* CLOSED / LOCKED JOB CARDS (PINNED AT BOTTOM, NON-OPENABLE)     */
/* ============================================================== */
.closed-jobs-divider {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 4px 0;
  width: 100%;
}

.closed-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.3), transparent);
}

.closed-divider-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.28);
  color: #b91c1c;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

[data-theme="dark"] .closed-divider-pill {
  background: rgba(239, 68, 68, 0.18);
  color: #fca5a5;
  border-color: rgba(248, 113, 113, 0.35);
}

.job-card.job-card-locked {
  opacity: 0.82;
  filter: grayscale(0.45);
  cursor: pointer;
  border-color: rgba(220, 38, 38, 0.3);
  transition: transform 0.2s ease, opacity 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.job-card.job-card-locked:hover {
  opacity: 0.96;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 24px rgba(220, 38, 38, 0.12) !important;
  border-color: rgba(220, 38, 38, 0.5) !important;
}

.job-card.job-card-locked .job-poster-preview {
  cursor: pointer;
}

.job-card.job-card-locked .job-poster-preview img {
  filter: grayscale(0.8) brightness(0.76);
  transform: none !important;
}

.job-card.job-card-locked .job-title {
  cursor: pointer;
  color: var(--text-muted);
}

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

.btn-locked-open {
  width: 100%;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  background: rgba(220, 38, 38, 0.09);
  color: #b91c1c;
  border: 1.5px solid rgba(220, 38, 38, 0.3);
  font-size: 0.82rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
}

.btn-locked-open:hover {
  background: #dc2626;
  color: #ffffff;
  border-color: #dc2626;
}

[data-theme="dark"] .btn-locked-open {
  background: rgba(239, 68, 68, 0.16);
  color: #fca5a5;
  border-color: rgba(248, 113, 113, 0.4);
}

[data-theme="dark"] .btn-locked-open:hover {
  background: #dc2626;
  color: #ffffff;
  border-color: #ef4444;
}

/* ============================================================== */
/* EXPIRED / LOCKED JOB DETAIL MODAL INSIDE VIEW                  */
/* ============================================================== */
.modal-hero-banner.is-expired {
  background: linear-gradient(135deg, #450a0a 0%, #7f1d1d 55%, #991b1b 100%) !important;
  border-bottom: 1px solid rgba(254, 202, 202, 0.25);
}

.mh-expired-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 8px;
  padding: 2px 9px;
  border-radius: 999px;
  background: #dc2626;
  color: #ffffff;
  border: 1px solid rgba(254, 202, 202, 0.65);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  vertical-align: middle;
}

.modal-expired-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border: 1.5px solid #fca5a5;
  box-shadow: 0 8px 22px rgba(220, 38, 38, 0.1);
}

[data-theme="dark"] .modal-expired-banner {
  background: linear-gradient(135deg, rgba(127, 29, 29, 0.45) 0%, rgba(153, 27, 27, 0.32) 100%);
  border-color: rgba(248, 113, 113, 0.45);
}

.modal-expired-stamp {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: 10px;
  border: 2px solid #fecaca;
  background: #dc2626;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  transform: rotate(-3deg);
  box-shadow: 0 6px 14px rgba(185, 28, 28, 0.28);
}

.modal-expired-copy {
  flex: 1;
  min-width: 0;
}

.modal-expired-title {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 800;
  color: #991b1b;
  margin-bottom: 3px;
}

.modal-expired-desc {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: #7f1d1d;
}

[data-theme="dark"] .modal-expired-title {
  color: #fecaca;
}

[data-theme="dark"] .modal-expired-desc {
  color: #fca5a5;
}

.btn-expired-browse-other {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 16px;
  border-radius: 11px;
  border: none;
  background: #dc2626;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
  transition: background 0.18s ease, transform 0.15s ease;
}

.btn-expired-browse-other:hover {
  background: #b91c1c;
  transform: translateY(-1px);
}

.desc-meta-chip-expired {
  background: #fef2f2 !important;
  border-color: #fca5a5 !important;
  color: #b91c1c !important;
}

.desc-meta-chip-expired i {
  color: #dc2626 !important;
}

[data-theme="dark"] .desc-meta-chip-expired {
  background: rgba(153, 27, 27, 0.35) !important;
  border-color: rgba(248, 113, 113, 0.45) !important;
  color: #fecaca !important;
}

.locked-contact-card {
  padding: 18px 16px;
  background: linear-gradient(180deg, #fef2f2 0%, #fff1f2 100%);
  border: 1.5px solid #fca5a5;
  border-radius: 14px;
  text-align: center;
  margin-bottom: 14px;
}

[data-theme="dark"] .locked-contact-card {
  background: linear-gradient(180deg, rgba(127, 29, 29, 0.42) 0%, rgba(153, 27, 27, 0.25) 100%);
  border-color: rgba(248, 113, 113, 0.45);
}

.locked-contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #dc2626;
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.locked-contact-title {
  font-family: var(--font-heading);
  font-weight: 800;
  color: #991b1b;
  font-size: 0.96rem;
}

.locked-contact-desc {
  font-size: 0.81rem;
  line-height: 1.48;
  color: #7f1d1d;
  margin: 6px 0 12px;
}

[data-theme="dark"] .locked-contact-title {
  color: #fecaca;
}

[data-theme="dark"] .locked-contact-desc {
  color: #fca5a5;
}

.btn-locked-apply-blocked {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(220, 38, 38, 0.12);
  color: #b91c1c;
  border: 1.5px dashed rgba(220, 38, 38, 0.42);
  font-size: 0.83rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: not-allowed;
}

[data-theme="dark"] .btn-locked-apply-blocked {
  background: rgba(239, 68, 68, 0.2);
  color: #fecaca;
  border-color: rgba(248, 113, 113, 0.5);
}

.poster-showcase-media-wrap {
  position: relative;
}

.poster-showcase-expired .poster-showcase-media-wrap img {
  filter: grayscale(0.65) brightness(0.84);
}

.poster-expired-ribbon {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(220, 38, 38, 0.94);
  color: #ffffff;
  border: 1.5px solid #fecaca;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
  pointer-events: none;
}

@media (max-width: 720px) {
  .modal-expired-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px;
    gap: 12px;
  }

  .btn-expired-browse-other {
    width: 100%;
    justify-content: center;
  }
}

.closed-stamp-center {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.36);
  pointer-events: none;
}

.closed-stamp-center span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 18px;
  border-radius: 10px;
  border: 2.5px solid #fecaca;
  background: rgba(185, 28, 28, 0.92);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  transform: rotate(-7deg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.skill-tag-pill.skill-tag-disabled {
  pointer-events: none;
  opacity: 0.65;
}

.btn-locked-disabled[disabled] {
  cursor: not-allowed;
  background: rgba(220, 38, 38, 0.1);
  color: #b91c1c;
  border-color: rgba(220, 38, 38, 0.28);
  opacity: 1;
}

[data-theme="dark"] .btn-locked-disabled[disabled] {
  background: rgba(239, 68, 68, 0.18);
  color: #fca5a5;
  border-color: rgba(248, 113, 113, 0.35);
}

/* ============================================================== */
/* ADAPTIVE RESPONSIVE LAYOUT (PHONE / TABLET / LAPTOP / DESKTOP) */
/* ============================================================== */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.content-layout > *,
.listings-area,
.job-card,
.job-card-body,
.company-meta {
  min-width: 0;
}

/* Wide Desktop (>= 1380px): 3 balanced columns beside sidebar */
@media (min-width: 1380px) {
  .container {
    max-width: 1460px;
    width: 94%;
    padding: 0 24px;
  }

  .content-layout {
    grid-template-columns: 272px minmax(0, 1fr);
    gap: 26px;
  }

  .jobs-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

/* Standard Laptop (1025px - 1379px): 2 crisp columns beside compact sidebar */
@media (min-width: 1025px) and (max-width: 1379px) {
  .container {
    width: 96%;
    max-width: 1320px;
    padding: 0 18px;
  }

  .content-layout {
    grid-template-columns: 248px minmax(0, 1fr);
    gap: 20px;
  }

  .filter-sidebar {
    padding: 18px;
  }

  .jobs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

/* Tablet Portrait & Landscape (641px - 1024px): Full-width 2-column grid + collapsible filter */
@media (min-width: 641px) and (max-width: 1024px) {
  .container {
    width: 100%;
    max-width: 100%;
    padding: 0 18px;
  }

  .mobile-filter-bar,
  .mobile-filter-apply-box {
    display: block;
  }

  .content-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .filter-sidebar {
    display: none;
    position: static;
    margin-bottom: 18px;
  }

  .filter-sidebar.open-mobile {
    display: block;
  }

  .search-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 12px;
  }

  .search-divider {
    display: none;
  }

  .search-field:first-child {
    grid-column: 1 / -1;
  }

  .search-wrapper .btn-search {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
  }

  .jobs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .jobs-grid.list-view .job-poster-preview {
    width: 200px;
  }

  .stats-ribbon {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .detail-grid-layout {
    display: flex;
    flex-direction: column;
  }

  .detail-sidebar {
    order: -1;
  }
}

/* Smartphone (<= 640px): 100% phone-fit, zero horizontal clipping */
@media (max-width: 640px) {
  .container {
    width: 100%;
    max-width: 100%;
    padding: 0 12px;
  }

  .main-section {
    padding: 20px 0 76px 0;
  }

  .hero-section {
    padding: 22px 0 20px 0;
  }

  .hero-title {
    font-size: 1.58rem;
    line-height: 1.24;
  }

  .hero-desc {
    font-size: 0.86rem;
  }

  .search-wrapper {
    border-radius: 16px;
    padding: 12px;
    gap: 8px;
  }

  .search-wrapper .btn-search {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }

  .job-tabs-bar,
  .job-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
    padding-bottom: 4px;
    max-width: 100%;
  }

  .job-tabs-bar::-webkit-scrollbar,
  .job-tabs::-webkit-scrollbar {
    display: none;
  }

  .job-tab-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 0.8rem;
    padding: 8px 12px;
  }

  .jobs-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
  }

  .jobs-grid.list-view .job-card {
    flex-direction: column !important;
  }

  .jobs-grid.list-view .job-poster-preview {
    width: 100% !important;
    height: 185px !important;
    min-height: 0 !important;
  }

  .job-card-body {
    padding: 14px;
  }

  .job-title {
    font-size: 1.02rem;
    line-height: 1.32;
    overflow-wrap: break-word;
  }

  .job-badges {
    gap: 6px;
  }

  .job-badges .pill {
    font-size: 0.72rem;
    padding: 4px 8px;
  }

  .job-card-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-top: 12px;
  }

  .posted-time {
    font-size: 0.75rem;
  }

  .card-actions {
    width: 100% !important;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    gap: 8px;
  }

  .job-card-locked .card-actions {
    grid-template-columns: 1fr;
  }

  .card-actions .btn,
  .job-card-body .btn-apply-direct {
    width: 100%;
    justify-content: center;
    padding: 9px 10px;
    font-size: 0.8rem;
    min-height: 40px;
  }

  .modal-overlay {
    padding: 0;
  }

  .modal-container {
    width: 100%;
    max-width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    border: none;
  }

  .modal-body {
    padding: 12px;
  }

  .email-providers-quick-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==============================================================
   2026-11-27 POLISH: HD LOGO, MODERN JOB BADGES & TACTILE BUTTON FX
   ============================================================== */
.brand-icon.brand-icon-hd {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.22);
  overflow: hidden;
  flex-shrink: 0;
}

.brand-icon.brand-icon-hd img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

@media (max-width: 640px) {
  .brand-icon.brand-icon-hd {
    width: 36px;
    height: 36px;
  }
}

/* Redesigned Front-Page Job Card Badges: sleek, crisp, uniform height */
.job-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

.job-badges .pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 27px;
  padding: 4px 10px;
  border-radius: 9px;
  font-size: 0.725rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.15;
  border: 1px solid transparent;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.job-badges .pill i {
  font-size: 0.74rem;
  flex-shrink: 0;
}

.job-badges .pill-platform.pill-official {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(5, 150, 105, 0.08));
  color: #047857;
  border-color: rgba(16, 185, 129, 0.34);
  text-transform: uppercase;
  font-size: 0.69rem;
  letter-spacing: 0.03em;
}

.job-badges .pill-type {
  background: rgba(14, 165, 233, 0.1);
  color: #0369a1;
  border-color: rgba(14, 165, 233, 0.24);
}

.job-badges .pill-salary {
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
  border-color: rgba(16, 185, 129, 0.24);
}

.job-badges .pill-channel-email {
  background: rgba(79, 70, 229, 0.1);
  color: #4338ca;
  border-color: rgba(79, 70, 229, 0.25);
}

.job-badges .pill-channel-web {
  background: rgba(2, 132, 199, 0.1);
  color: #0369a1;
  border-color: rgba(2, 132, 199, 0.25);
}

.job-badges .pill-channel-wa {
  background: rgba(22, 163, 74, 0.11);
  color: #15803d;
  border-color: rgba(22, 163, 74, 0.26);
}

.job-badges .pill-urgency {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.14), rgba(217, 119, 6, 0.08));
  color: #b45309;
  border-color: rgba(245, 158, 11, 0.34);
}

[data-theme="dark"] .job-badges .pill-platform.pill-official {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border-color: rgba(52, 211, 153, 0.34);
}

[data-theme="dark"] .job-badges .pill-type {
  background: rgba(56, 189, 248, 0.16);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.3);
}

[data-theme="dark"] .job-badges .pill-salary {
  background: rgba(16, 185, 129, 0.16);
  color: #34d399;
  border-color: rgba(52, 211, 153, 0.3);
}

[data-theme="dark"] .job-badges .pill-urgency {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.34);
}

@media (max-width: 640px) {
  .job-badges {
    gap: 5px;
  }

  .job-badges .pill {
    min-height: 25px;
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 0.7rem;
  }
}

/* Tactile Micro-Interaction & Click Ripple Experience on Detail & Lamar Langsung */
.card-actions .btn-detail-job,
.card-actions .btn-apply-direct {
  position: relative;
  overflow: hidden;
  transform-origin: center;
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.card-actions .btn-detail-job {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-color);
  font-weight: 700;
}

.card-actions .btn-detail-job:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
  box-shadow: 0 6px 14px -6px rgba(29, 78, 216, 0.32);
}

.card-actions .btn-detail-job:hover i {
  transform: scale(1.12);
}

.card-actions .btn-detail-job:active {
  transform: translateY(1px) scale(0.95);
  box-shadow: 0 2px 6px rgba(29, 78, 216, 0.18);
}

.card-actions .btn-apply-direct {
  background: linear-gradient(135deg, #2563eb 0%, #4f46e5 55%, #6366f1 100%);
  box-shadow: 0 6px 16px -6px rgba(37, 99, 235, 0.55);
  font-weight: 700;
}

.card-actions .btn-apply-direct::after {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 75%;
  height: 100%;
  background: linear-gradient(110deg, transparent 15%, rgba(255, 255, 255, 0.34) 50%, transparent 85%);
  transform: skewX(-20deg);
  transition: left 0.52s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.card-actions .btn-apply-direct:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -6px rgba(37, 99, 235, 0.62);
}

.card-actions .btn-apply-direct:hover::after {
  left: 145%;
}

.card-actions .btn-apply-direct:hover i {
  transform: translate(2px, -2px) scale(1.08);
}

.card-actions .btn-apply-direct:active {
  transform: translateY(1px) scale(0.95);
  box-shadow: 0 3px 10px -4px rgba(37, 99, 235, 0.45);
}

.card-actions .btn-detail-job i,
.card-actions .btn-apply-direct i {
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.card-actions .btn-detail-job.is-click-feedback {
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
  border-color: var(--primary);
}

.card-actions .btn-apply-direct.is-click-feedback {
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.32), 0 8px 20px -4px rgba(37, 99, 235, 0.55);
}

.btn-click-ripple {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  transform: scale(0);
  opacity: 0.65;
  background: rgba(255, 255, 255, 0.52);
  animation: khBtnRipple 0.52s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.btn-detail-job .btn-click-ripple {
  background: rgba(37, 99, 235, 0.24);
}

@keyframes khBtnRipple {
  0% {
    transform: scale(0);
    opacity: 0.65;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

/* ==============================================================
   2026-11-27 POLISH: HD LOGO, MOBILE TRENDING CHIPS,
   SLEEK JOB BADGES & TACTILE BUTTON CLICK EXPERIENCE
   ============================================================== */
.brand-icon.brand-icon-hd {
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.22);
  flex-shrink: 0;
}

.brand-icon.brand-icon-hd img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

[data-theme="dark"] .brand-icon.brand-icon-hd {
  border-color: rgba(148, 163, 184, 0.35);
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.28);
}

/* Fix Mobile Kategori Terpopuler: Clean Wrapped Pill Cloud (Zero Mid-Word Clipping) */
@media (max-width: 768px) {
  .trending-keywords {
    display: flex;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center;
    overflow-x: visible !important;
    margin: 14px 0 0 0 !important;
    padding: 0 2px !important;
    gap: 7px !important;
  }

  .trending-keywords .trending-label {
    flex: 0 0 100%;
    justify-content: center;
    padding-left: 0 !important;
    margin-bottom: 2px;
    font-size: 0.78rem;
  }

  .trending-keywords .chip-keyword {
    flex: 0 1 auto;
    max-width: 100%;
    white-space: nowrap;
    padding: 6px 12px;
    font-size: 0.76rem;
    line-height: 1.15;
    border-radius: 999px;
  }
}

/* Modern Redesigned Job Card Badges (Sleek, Uniform Height, Cohesive Palette) */
.job-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

.job-badges .pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 27px;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.725rem;
  font-weight: 700;
  letter-spacing: 0.012em;
  line-height: 1.1;
  border: 1px solid transparent;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.job-badges .pill i {
  font-size: 0.72rem;
  flex-shrink: 0;
}

.job-badges .pill-platform.pill-official {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.13), rgba(5, 150, 105, 0.07));
  color: #047857;
  border-color: rgba(16, 185, 129, 0.3);
  text-transform: uppercase;
  font-size: 0.69rem;
  letter-spacing: 0.03em;
}

.job-badges .pill-type {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(2, 132, 199, 0.06));
  color: #0369a1;
  border-color: rgba(14, 165, 233, 0.24);
}

.job-badges .pill-salary {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(20, 184, 166, 0.08));
  color: #047857;
  border-color: rgba(16, 185, 129, 0.28);
}

.job-badges .pill-channel-email {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(99, 102, 241, 0.06));
  color: #4338ca;
  border-color: rgba(99, 102, 241, 0.26);
}

.job-badges .pill-channel-web {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.12), rgba(37, 99, 235, 0.06));
  color: #1d4ed8;
  border-color: rgba(59, 130, 246, 0.26);
}

.job-badges .pill-channel-wa {
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.13), rgba(34, 197, 94, 0.07));
  color: #15803d;
  border-color: rgba(34, 197, 94, 0.28);
}

.job-badges .pill-urgency {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.14), rgba(251, 191, 36, 0.08));
  color: #b45309;
  border-color: rgba(245, 158, 11, 0.3);
}

[data-theme="dark"] .job-badges .pill-platform.pill-official {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border-color: rgba(52, 211, 153, 0.35);
}

[data-theme="dark"] .job-badges .pill-type {
  background: rgba(14, 165, 233, 0.18);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.32);
}

[data-theme="dark"] .job-badges .pill-salary {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  border-color: rgba(52, 211, 153, 0.34);
}

[data-theme="dark"] .job-badges .pill-channel-email {
  background: rgba(99, 102, 241, 0.22);
  color: #a5b4fc;
  border-color: rgba(129, 140, 248, 0.35);
}

[data-theme="dark"] .job-badges .pill-channel-web {
  background: rgba(37, 99, 235, 0.22);
  color: #93c5fd;
  border-color: rgba(96, 165, 250, 0.35);
}

[data-theme="dark"] .job-badges .pill-channel-wa {
  background: rgba(34, 197, 94, 0.2);
  color: #86efac;
  border-color: rgba(74, 222, 128, 0.35);
}

[data-theme="dark"] .job-badges .pill-urgency {
  background: rgba(245, 158, 11, 0.2);
  color: #fcd34d;
  border-color: rgba(251, 191, 36, 0.35);
}

/* Tactile Interactive Click Experience: Detail & Lamar Langsung Buttons */
.card-actions .btn-detail-job,
.card-actions .btn-apply-direct {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 10px;
  font-weight: 700;
  will-change: transform;
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.22s ease,
              background 0.22s ease,
              border-color 0.22s ease,
              color 0.2s ease;
}

.card-actions .btn-detail-job i,
.card-actions .btn-apply-direct i {
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.card-actions .btn-detail-job:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
  box-shadow: 0 6px 14px -4px rgba(29, 78, 216, 0.22);
}

.card-actions .btn-detail-job:hover i {
  transform: scale(1.14);
}

.card-actions .btn-apply-direct::after {
  content: '';
  position: absolute;
  top: -10%;
  left: -130%;
  width: 65%;
  height: 120%;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.36) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: left 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.card-actions .btn-apply-direct:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.45);
}

.card-actions .btn-apply-direct:hover::after {
  left: 145%;
}

.card-actions .btn-apply-direct:hover i {
  transform: translate(2px, -2px) scale(1.08);
}

.card-actions .btn-detail-job:active,
.card-actions .btn-apply-direct:active {
  transform: translateY(1px) scale(0.95) !important;
  transition-duration: 0.08s;
}

.card-actions .btn-detail-job.is-click-feedback {
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.24);
  border-color: var(--primary);
}

.card-actions .btn-apply-direct.is-click-feedback {
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.32), 0 8px 18px -4px rgba(37, 99, 235, 0.45);
}

.btn-click-ripple {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  transform: scale(0);
  opacity: 0.55;
  background: rgba(255, 255, 255, 0.72);
  animation: khBtnRipple 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  z-index: 0;
}

.btn-detail-job .btn-click-ripple {
  background: rgba(37, 99, 235, 0.28);
}

@keyframes khBtnRipple {
  0% {
    transform: scale(0);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.15);
    opacity: 0;
  }
}

@media (max-width: 640px) {
  .brand-icon.brand-icon-hd {
    width: 36px;
    height: 36px;
  }

  .job-badges .pill {
    min-height: 25px;
    padding: 3px 8px;
    font-size: 0.7rem;
    border-radius: 7px;
  }
}

/* ==============================================================
   2026-11-27 V2: LIVELY USER PORTAL UPGRADE (DESKTOP & MOBILE)
   Ambient Aurora Hero, Live Pill, Placement Chip & Pro Harmony
   ============================================================== */
.hero {
  position: relative;
  isolation: isolate;
}

.hero-ambient-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(56px);
  opacity: 0.42;
  will-change: transform;
}

.hero-orb.orb-a {
  width: 360px;
  height: 360px;
  top: -110px;
  left: -70px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.55) 0%, transparent 70%);
  animation: khOrbDriftA 14s ease-in-out infinite alternate;
}

.hero-orb.orb-b {
  width: 340px;
  height: 340px;
  top: -60px;
  right: -60px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.48) 0%, transparent 70%);
  animation: khOrbDriftB 17s ease-in-out infinite alternate;
}

.hero-orb.orb-c {
  width: 300px;
  height: 300px;
  bottom: -110px;
  left: 42%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.36) 0%, transparent 70%);
  animation: khOrbDriftA 19s ease-in-out infinite alternate-reverse;
}

@keyframes khOrbDriftA {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(28px, 18px, 0) scale(1.08); }
}

@keyframes khOrbDriftB {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-26px, 22px, 0) scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-orb,
  .live-dot-pulse,
  .job-card {
    animation: none !important;
  }
}

.hero-live-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 16px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(59, 130, 246, 0.24);
  box-shadow: 0 6px 20px -8px rgba(37, 99, 235, 0.26);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
  max-width: 100%;
  line-height: 1.35;
}

.hero-live-pill strong {
  color: var(--primary);
  font-weight: 800;
}

[data-theme="dark"] .hero-live-pill {
  background: rgba(19, 27, 46, 0.78);
  border-color: rgba(96, 165, 250, 0.32);
  color: #e2e8f0;
  box-shadow: 0 8px 22px -8px rgba(37, 99, 235, 0.4);
}

[data-theme="dark"] .hero-live-pill strong {
  color: #60a5fa;
}

.live-dot-pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.65);
  animation: khLivePulse 2.1s infinite;
}

@keyframes khLivePulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.65); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Elevated Glassmorphic Stats Ribbon with Subtle Micro-Hover */
.stats-ribbon {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(203, 213, 225, 0.75);
  box-shadow: 0 12px 30px -14px rgba(15, 23, 42, 0.14);
}

[data-theme="dark"] .stats-ribbon {
  background: rgba(19, 27, 46, 0.82);
  border-color: rgba(51, 65, 85, 0.85);
}

.stats-ribbon .stat-item {
  padding: 6px 8px;
  border-radius: 14px;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s ease;
}

.stats-ribbon .stat-item:hover {
  transform: translateY(-2px);
  background: rgba(59, 130, 246, 0.05);
}

.stats-ribbon .stat-icon {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 4px 12px -4px rgba(15, 23, 42, 0.12);
}

/* Lively Tab Pills with Pro Emoji */
.job-tab-btn .tab-emoji {
  font-size: 0.95rem;
  line-height: 1;
}

.job-tab-btn.active {
  box-shadow: 0 6px 16px -6px rgba(37, 99, 235, 0.45);
}

/* Pro Sidebar Guide Box */
.guide-box-pro {
  margin-top: 22px;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.9), rgba(245, 243, 255, 0.82));
  border-radius: 14px;
  border: 1px solid rgba(147, 197, 253, 0.55);
}

[data-theme="dark"] .guide-box-pro {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.85), rgba(30, 27, 75, 0.55));
  border-color: rgba(99, 102, 241, 0.32);
}

.guide-box-title {
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.guide-box-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Lively Job Card Accent Glow, Subtle Entrance & Placement Location Chip */
.job-card {
  animation: khCardRiseIn 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.job-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #6366f1, #06b6d4);
  opacity: 0;
  z-index: 6;
  transition: opacity 0.22s ease;
  pointer-events: none;
}

.job-card:not(.job-card-locked):hover::before {
  opacity: 1;
}

.job-card:not(.job-card-locked):hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.38);
  box-shadow: 0 18px 34px -14px rgba(29, 78, 216, 0.22), 0 8px 14px -8px rgba(15, 23, 42, 0.08);
}

@keyframes khCardRiseIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.job-location.job-location-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 3px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(225, 29, 72, 0.08);
  border: 1px solid rgba(225, 29, 72, 0.2);
  color: #be123c;
  font-size: 0.74rem;
  font-weight: 700;
  max-width: 100%;
  line-height: 1.3;
}

.job-location.job-location-chip i {
  color: #e11d48;
  font-size: 0.72rem;
  flex-shrink: 0;
}

.job-location.job-location-chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

[data-theme="dark"] .job-location.job-location-chip {
  background: rgba(244, 63, 94, 0.16);
  border-color: rgba(251, 113, 133, 0.32);
  color: #fda4af;
}

[data-theme="dark"] .job-location.job-location-chip i {
  color: #fb7185;
}

/* Mobile Polish for Hero Live Pill & Stats Ribbon */
@media (max-width: 640px) {
  .hero {
    padding: 26px 0 22px 0;
  }

  .hero-live-pill {
    font-size: 0.72rem;
    padding: 6px 12px;
    margin-bottom: 12px;
    gap: 6px;
    text-align: center;
  }

  .hero-orb.orb-a,
  .hero-orb.orb-b {
    width: 210px;
    height: 210px;
    opacity: 0.32;
  }

  .stats-ribbon {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    padding: 14px 12px !important;
    margin: 22px 0 10px 0 !important;
    border-radius: 16px !important;
  }

  .stats-ribbon .stat-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 8px 6px;
    background: rgba(248, 250, 252, 0.7);
    border: 1px solid rgba(226, 232, 240, 0.75);
  }

  [data-theme="dark"] .stats-ribbon .stat-item {
    background: rgba(15, 23, 42, 0.55);
    border-color: rgba(51, 65, 85, 0.65);
  }

  .stats-ribbon .stat-icon {
    width: 38px;
    height: 38px;
    font-size: 1.05rem;
  }

  .stats-ribbon .stat-number {
    font-size: 1.08rem;
  }

  .stats-ribbon .stat-text {
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .job-location.job-location-chip {
    font-size: 0.71rem;
    padding: 2px 7px;
  }
}

/* ==============================================================
   2026-11-27 V3: UNIFIED FLATICON-STYLE DUOTONE SVG ICON SYSTEM
   100% Cohesive Royal Blue -> Indigo -> Cyan Brand Harmony
   ============================================================== */
:root {
  --kh-ico-1: #2563eb;
  --kh-ico-2: #4f46e5;
  --kh-ico-3: #06b6d4;
  --kh-ico-soft-1: #dbeafe;
  --kh-ico-soft-2: #cffafe;
}

[data-theme="dark"] {
  --kh-ico-1: #60a5fa;
  --kh-ico-2: #818cf8;
  --kh-ico-3: #22d3ee;
  --kh-ico-soft-1: rgba(59, 130, 246, 0.24);
  --kh-ico-soft-2: rgba(34, 211, 238, 0.22);
}

.kh-icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.pro-ico {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), filter 0.2s ease;
}

.pro-ico-xs { width: 15px; height: 15px; }
.pro-ico-sm { width: 18px; height: 18px; }
.pro-ico-md { width: 20px; height: 20px; }
.pro-ico-lg { width: 26px; height: 26px; }

/* Unified Brand Palette on Stats Ribbon Icons (Zero Clashing Colors) */
.stats-ribbon .stat-icon.unified {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.11), rgba(6, 182, 212, 0.13));
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: var(--primary);
}

[data-theme="dark"] .stats-ribbon .stat-icon.unified {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(34, 211, 238, 0.16));
  border-color: rgba(96, 165, 250, 0.28);
}

.stats-ribbon .stat-item:hover .pro-ico {
  transform: scale(1.1) translateY(-1px);
}

/* Active Tabs & Chips: Bulletproof Crisp White Contrast across all browsers */
.job-tab-btn.active .pro-ico,
.chip-keyword.active .pro-ico {
  filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgba(15, 23, 42, 0.14));
}

.job-tab-btn:hover .pro-ico,
.chip-keyword:hover .pro-ico {
  transform: scale(1.1);
}

/* Unified Cohesive Placement Location Chip (Matches Brand Blue-Indigo-Cyan) */
.job-location.job-location-chip {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(6, 182, 212, 0.1));
  border-color: rgba(59, 130, 246, 0.24);
  color: #1d4ed8;
}

[data-theme="dark"] .job-location.job-location-chip {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(6, 182, 212, 0.16));
  border-color: rgba(96, 165, 250, 0.34);
  color: #93c5fd;
}

/* Clean Alignment for Results Count & Guide List Items */
.results-count {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.guide-box-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.guide-box-list li .pro-ico {
  margin-top: 2px;
}

/* Unified Chip Views Badge (Brand Blue-Cyan instead of clashing Orange) */
.chip-views-badge {
  background: rgba(37, 99, 235, 0.1) !important;
  color: #1d4ed8 !important;
}

[data-theme="dark"] .chip-views-badge {
  background: rgba(96, 165, 250, 0.18) !important;
  color: #93c5fd !important;
}

.chip-keyword.active .chip-views-badge {
  background: rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
}

@media (max-width: 640px) {
  .stats-ribbon .stat-icon.unified {
    width: 40px;
    height: 40px;
  }

  .stats-ribbon .pro-ico-lg {
    width: 22px;
    height: 22px;
  }

  .hero-live-pill {
    flex-wrap: wrap;
    row-gap: 2px;
  }
}

/* ==============================================================
   2026-11-27 V4: AESTHETIC BACKGROUND ORNAMENTS & PAGINATION
   Architectural Dot-Grid, Wave Curves, Floating Geometry & Pager
   ============================================================== */
.kh-bg-ornaments {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero,
.main-section,
.footer,
footer {
  position: relative;
  z-index: 1;
}

.kh-bg-dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(37, 99, 235, 0.14) 1.25px, transparent 1.25px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 88% 72% at 50% 35%, #000 38%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 88% 72% at 50% 35%, #000 38%, transparent 100%);
  opacity: 0.72;
}

[data-theme="dark"] .kh-bg-dot-grid {
  background-image: radial-gradient(rgba(96, 165, 250, 0.16) 1.2px, transparent 1.2px);
  opacity: 0.55;
}

.kh-bg-wave {
  position: absolute;
  left: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.kh-bg-wave.wave-top {
  top: 52px;
  min-height: 260px;
}

.kh-bg-wave.wave-bottom {
  bottom: 0;
  min-height: 220px;
}

.kh-geo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(59, 130, 246, 0.22);
  box-shadow: inset 0 0 0 14px rgba(99, 102, 241, 0.04);
  will-change: transform;
}

.kh-geo-ring.ring-1 {
  width: 240px;
  height: 240px;
  top: 11%;
  right: 4%;
  border-style: dashed;
  animation: khGeoSpin 36s linear infinite;
}

.kh-geo-ring.ring-2 {
  width: 180px;
  height: 180px;
  bottom: 14%;
  left: 3%;
  border-color: rgba(6, 182, 212, 0.24);
  animation: khGeoFloat 12s ease-in-out infinite alternate;
}

.kh-geo-diamond {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  border: 1.8px solid rgba(79, 70, 229, 0.28);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.08));
  transform: rotate(45deg);
  will-change: transform;
}

.kh-geo-diamond.diamond-1 {
  top: 22%;
  left: 7%;
  animation: khDiamondDrift 9s ease-in-out infinite alternate;
}

.kh-geo-diamond.diamond-2 {
  top: 62%;
  right: 6%;
  width: 18px;
  height: 18px;
  border-color: rgba(6, 182, 212, 0.34);
  animation: khDiamondDrift 11s ease-in-out infinite alternate-reverse;
}

.kh-geo-plus {
  position: absolute;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1;
  color: rgba(37, 99, 235, 0.25);
  user-select: none;
}

.kh-geo-plus.plus-1 { top: 15%; left: 14%; }
.kh-geo-plus.plus-2 { top: 44%; right: 8%; font-size: 1.5rem; color: rgba(6, 182, 212, 0.28); }
.kh-geo-plus.plus-3 { bottom: 22%; left: 10%; color: rgba(99, 102, 241, 0.25); }

[data-theme="dark"] .kh-geo-ring {
  border-color: rgba(96, 165, 250, 0.2);
}

[data-theme="dark"] .kh-geo-diamond {
  border-color: rgba(129, 140, 248, 0.3);
  background: rgba(59, 130, 246, 0.08);
}

[data-theme="dark"] .kh-geo-plus {
  color: rgba(96, 165, 250, 0.22);
}

@keyframes khGeoSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes khGeoFloat {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(14px, -16px, 0) scale(1.05); }
}

@keyframes khDiamondDrift {
  0% { transform: rotate(45deg) translate3d(0, 0, 0); }
  100% { transform: rotate(60deg) translate3d(0, -14px, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .kh-geo-ring,
  .kh-geo-diamond {
    animation: none !important;
  }
}

/* Sleek Responsive Pagination Bar */
.jobs-pagination {
  margin-top: 28px;
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 26px -14px rgba(15, 23, 42, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

[data-theme="dark"] .jobs-pagination {
  background: rgba(19, 27, 46, 0.86);
  border-color: rgba(51, 65, 85, 0.85);
}

.pg-summary {
  font-size: 0.83rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pg-summary strong {
  color: var(--text-main);
  font-weight: 800;
}

.pg-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pg-numbers {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.pg-btn:hover:not(:disabled):not(.active) {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-1px);
}

.pg-btn:active:not(:disabled) {
  transform: scale(0.95);
}

.pg-btn.active {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 6px 16px -5px rgba(37, 99, 235, 0.52);
}

.pg-btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.pg-ellipsis {
  padding: 0 4px;
  color: var(--text-light);
  font-weight: 700;
  user-select: none;
}

@media (max-width: 640px) {
  .kh-geo-ring.ring-1 {
    width: 140px;
    height: 140px;
    top: 8%;
    right: -32px;
  }

  .kh-geo-ring.ring-2 {
    width: 120px;
    height: 120px;
    left: -30px;
  }

  .kh-geo-plus {
    font-size: 1rem;
  }

  .jobs-pagination {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 14px 12px;
    gap: 12px;
    margin-top: 20px;
  }

  .pg-summary {
    font-size: 0.76rem;
  }

  .pg-controls {
    width: 100%;
    justify-content: center;
    gap: 6px;
  }

  .pg-btn {
    min-width: 34px;
    height: 36px;
    padding: 0 9px;
    font-size: 0.78rem;
  }

  .pg-btn.pg-nav span {
    display: none;
  }

  .pg-btn.pg-nav {
    min-width: 36px;
    padding: 0 10px;
  }
}

/* ==============================================================
   2026-11-27 V5: LUXURY EDITORIAL AURORA, SILK RIBBON &
   FROSTED GLASS PRISM BACKGROUND (LIGHT & DARK MODE)
   ============================================================== */
body {
  background-color: #e9f1ff;
  background-image:
    radial-gradient(ellipse 75% 48% at 10% 4%, rgba(37, 99, 235, 0.22) 0%, transparent 62%),
    radial-gradient(ellipse 68% 46% at 90% 10%, rgba(99, 102, 241, 0.22) 0%, transparent 64%),
    radial-gradient(ellipse 64% 50% at 82% 68%, rgba(6, 182, 212, 0.19) 0%, transparent 65%),
    radial-gradient(ellipse 68% 48% at 14% 88%, rgba(139, 92, 246, 0.16) 0%, transparent 64%),
    linear-gradient(155deg, #e8f0ff 0%, #eff4ff 32%, #f2edff 62%, #e6f9fc 100%);
}

[data-theme="dark"] body {
  background-color: #070b16;
  background-image:
    radial-gradient(ellipse 72% 46% at 12% 4%, rgba(37, 99, 235, 0.34) 0%, transparent 60%),
    radial-gradient(ellipse 65% 46% at 88% 12%, rgba(99, 102, 241, 0.3) 0%, transparent 62%),
    radial-gradient(ellipse 62% 50% at 80% 74%, rgba(6, 182, 212, 0.22) 0%, transparent 64%),
    radial-gradient(ellipse 64% 48% at 16% 88%, rgba(124, 58, 237, 0.22) 0%, transparent 64%),
    linear-gradient(160deg, #070b16 0%, #0d152b 48%, #091326 100%);
}

/* 1. Breathing Silk Aurora Mesh Clouds */
.kh-aurora-cloud {
  position: absolute;
  border-radius: 50%;
  filter: blur(76px);
  will-change: transform;
  pointer-events: none;
}

.kh-aurora-cloud.cloud-1 {
  width: 560px;
  height: 460px;
  top: -120px;
  left: -120px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.34) 0%, rgba(56, 189, 248, 0.16) 48%, transparent 72%);
  animation: khCloudDrift1 18s ease-in-out infinite alternate;
}

.kh-aurora-cloud.cloud-2 {
  width: 540px;
  height: 480px;
  top: 8%;
  right: -140px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, rgba(168, 85, 247, 0.15) 48%, transparent 72%);
  animation: khCloudDrift2 22s ease-in-out infinite alternate;
}

.kh-aurora-cloud.cloud-3 {
  width: 580px;
  height: 440px;
  bottom: -140px;
  left: 24%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.28) 0%, rgba(37, 99, 235, 0.14) 50%, transparent 74%);
  animation: khCloudDrift1 24s ease-in-out infinite alternate-reverse;
}

[data-theme="dark"] .kh-aurora-cloud.cloud-1 {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.42) 0%, rgba(14, 165, 233, 0.18) 50%, transparent 72%);
}

[data-theme="dark"] .kh-aurora-cloud.cloud-2 {
  background: radial-gradient(circle, rgba(99, 102, 241, 0.38) 0%, rgba(139, 92, 246, 0.18) 50%, transparent 72%);
}

[data-theme="dark"] .kh-aurora-cloud.cloud-3 {
  background: radial-gradient(circle, rgba(6, 182, 212, 0.32) 0%, rgba(37, 99, 235, 0.16) 50%, transparent 74%);
}

/* Soft Diagonal Top Spotlight Beam */
.kh-bg-light-beam {
  position: absolute;
  top: -18%;
  left: 50%;
  width: 920px;
  height: 520px;
  transform: translateX(-50%) rotate(-8deg);
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.52) 0%, rgba(191, 219, 254, 0.22) 45%, transparent 72%);
  filter: blur(28px);
}

[data-theme="dark"] .kh-bg-light-beam {
  background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.16) 0%, rgba(79, 70, 229, 0.1) 48%, transparent 72%);
}

/* 2. Fine Architectural Perspective Line Grid */
.kh-bg-arch-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(37, 99, 235, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(37, 99, 235, 0.055) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(ellipse 90% 75% at 50% 28%, #000 32%, transparent 96%);
  -webkit-mask-image: radial-gradient(ellipse 90% 75% at 50% 28%, #000 32%, transparent 96%);
}

[data-theme="dark"] .kh-bg-arch-grid {
  background-image:
    linear-gradient(to right, rgba(96, 165, 250, 0.075) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(96, 165, 250, 0.075) 1px, transparent 1px);
}

/* 3. Orbital Halos + Glowing Orbiting Satellite Dot */
.kh-geo-ring {
  border: 1.5px solid rgba(59, 130, 246, 0.28);
  box-shadow:
    inset 0 0 0 18px rgba(99, 102, 241, 0.05),
    0 0 32px -10px rgba(37, 99, 235, 0.22);
}

.kh-orbit-dot {
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  box-shadow: 0 0 12px 3px rgba(56, 189, 248, 0.65);
}

/* 4. Floating Frosted Glass Prisms */
.kh-glass-prism {
  position: absolute;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.54) 0%, rgba(219, 234, 254, 0.24) 100%);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow:
    0 18px 40px -18px rgba(37, 99, 235, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  will-change: transform;
}

.kh-glass-prism.prism-1 {
  width: 96px;
  height: 96px;
  top: 18%;
  left: 3.5%;
  transform: rotate(16deg);
  animation: khPrismFloat1 13s ease-in-out infinite alternate;
}

.kh-glass-prism.prism-2 {
  width: 78px;
  height: 78px;
  top: 46%;
  right: 3%;
  border-radius: 18px;
  transform: rotate(-18deg);
  animation: khPrismFloat2 15s ease-in-out infinite alternate;
}

.kh-glass-prism.prism-3 {
  width: 68px;
  height: 68px;
  bottom: 16%;
  right: 11%;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(207, 250, 254, 0.55) 0%, rgba(199, 210, 254, 0.24) 100%);
  animation: khPrismFloat1 17s ease-in-out infinite alternate-reverse;
}

[data-theme="dark"] .kh-glass-prism {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.14) 0%, rgba(6, 182, 212, 0.08) 100%);
  border-color: rgba(148, 163, 184, 0.22);
  box-shadow:
    0 18px 40px -16px rgba(14, 165, 233, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

/* 5. Soft Twinkling Starlight Bokeh Nodes */
.kh-spark-node {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, #38bdf8 0%, #4f46e5 65%, transparent 100%);
  box-shadow: 0 0 14px 3px rgba(56, 189, 248, 0.55);
  animation: khSparkTwinkle 4.5s ease-in-out infinite;
}

.kh-spark-node.spark-1 { top: 14%; left: 26%; animation-delay: 0s; }
.kh-spark-node.spark-2 { top: 28%; right: 20%; width: 10px; height: 10px; animation-delay: 1.4s; }
.kh-spark-node.spark-3 { top: 64%; left: 9%; animation-delay: 2.3s; }
.kh-spark-node.spark-4 { bottom: 18%; right: 24%; width: 9px; height: 9px; animation-delay: 0.8s; }

/* Frosted Glass Surface Synergy so Rich Background Shines Through Tastefully */
.search-wrapper,
.filter-sidebar,
.job-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

[data-theme="dark"] .search-wrapper,
[data-theme="dark"] .filter-sidebar,
[data-theme="dark"] .job-card {
  background: rgba(17, 25, 44, 0.88);
}

@keyframes khCloudDrift1 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(42px, 28px, 0) scale(1.08); }
}

@keyframes khCloudDrift2 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-38px, 34px, 0) scale(1.06); }
}

@keyframes khPrismFloat1 {
  0% { transform: rotate(16deg) translate3d(0, 0, 0); }
  100% { transform: rotate(24deg) translate3d(10px, -18px, 0); }
}

@keyframes khPrismFloat2 {
  0% { transform: rotate(-18deg) translate3d(0, 0, 0); }
  100% { transform: rotate(-10deg) translate3d(-12px, -16px, 0); }
}

@keyframes khSparkTwinkle {
  0%, 100% { opacity: 0.35; transform: scale(0.85); }
  50% { opacity: 0.95; transform: scale(1.25); }
}

@media (prefers-reduced-motion: reduce) {
  .kh-aurora-cloud,
  .kh-glass-prism,
  .kh-spark-node {
    animation: none !important;
  }
}

@media (max-width: 768px) {
  .kh-aurora-cloud.cloud-1,
  .kh-aurora-cloud.cloud-2,
  .kh-aurora-cloud.cloud-3 {
    width: 300px;
    height: 260px;
    filter: blur(56px);
  }

  .kh-glass-prism.prism-1 {
    width: 58px;
    height: 58px;
    top: 10%;
    left: -14px;
    opacity: 0.72;
  }

  .kh-glass-prism.prism-2 {
    width: 50px;
    height: 50px;
    top: 44%;
    right: -12px;
    opacity: 0.7;
  }

  .kh-glass-prism.prism-3 {
    display: none;
  }

  .kh-bg-arch-grid {
    background-size: 56px 56px;
  }
}

/* ==============================================================
   2026-11-27 V6: HARMONIOUS STUDIO-GRADE VISUAL REFINEMENT
   Soft Balanced Background Opacity + Eye-Catching Foreground Pop
   ============================================================== */
body {
  background-color: #f3f7ff;
  background-image:
    radial-gradient(ellipse 68% 46% at 6% 4%, rgba(59, 130, 246, 0.14) 0%, transparent 62%),
    radial-gradient(ellipse 64% 46% at 94% 8%, rgba(99, 102, 241, 0.13) 0%, transparent 64%),
    radial-gradient(ellipse 60% 48% at 88% 82%, rgba(6, 182, 212, 0.12) 0%, transparent 66%),
    radial-gradient(ellipse 62% 48% at 10% 90%, rgba(129, 140, 248, 0.11) 0%, transparent 66%),
    linear-gradient(160deg, #f4f8ff 0%, #f7f9ff 36%, #f5f3ff 68%, #f0faff 100%);
}

[data-theme="dark"] body {
  background-color: #080d1a;
  background-image:
    radial-gradient(ellipse 68% 44% at 8% 4%, rgba(37, 99, 235, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 62% 44% at 92% 10%, rgba(99, 102, 241, 0.2) 0%, transparent 62%),
    radial-gradient(ellipse 60% 48% at 86% 80%, rgba(6, 182, 212, 0.15) 0%, transparent 64%),
    radial-gradient(ellipse 60% 46% at 12% 88%, rgba(124, 58, 237, 0.14) 0%, transparent 64%),
    linear-gradient(160deg, #080d1a 0%, #0d152a 50%, #091224 100%);
}

/* Soft, Whisper-Quiet Luxury Opacity for All Background Layers */
.kh-aurora-cloud.cloud-1 {
  opacity: 0.58;
  filter: blur(92px);
}

.kh-aurora-cloud.cloud-2 {
  opacity: 0.54;
  filter: blur(96px);
}

.kh-aurora-cloud.cloud-3 {
  opacity: 0.5;
  filter: blur(96px);
}

.kh-bg-light-beam {
  opacity: 0.55;
}

.kh-bg-arch-grid {
  background-image:
    linear-gradient(to right, rgba(37, 99, 235, 0.032) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(37, 99, 235, 0.032) 1px, transparent 1px);
  background-size: 96px 96px;
}

[data-theme="dark"] .kh-bg-arch-grid {
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.045) 1px, transparent 1px);
}

.kh-bg-dot-grid {
  background-image: radial-gradient(rgba(37, 99, 235, 0.09) 1.1px, transparent 1.1px);
  background-size: 32px 32px;
  opacity: 0.45;
}

[data-theme="dark"] .kh-bg-dot-grid {
  background-image: radial-gradient(rgba(148, 163, 184, 0.11) 1.1px, transparent 1.1px);
  opacity: 0.36;
}

.kh-bg-wave {
  opacity: 0.46;
}

[data-theme="dark"] .kh-bg-wave {
  opacity: 0.34;
}

/* Remove Busy Clutter (+ / diamonds) & Soften Halos/Prisms into Delicate Studio Accents */
.kh-geo-plus,
.kh-geo-diamond {
  display: none !important;
}

.kh-geo-ring {
  border-style: solid !important;
  border-width: 1px;
  border-color: rgba(59, 130, 246, 0.12);
  box-shadow: inset 0 0 0 22px rgba(99, 102, 241, 0.022);
  opacity: 0.65;
}

.kh-orbit-dot {
  width: 6px;
  height: 6px;
  top: -3px;
  margin-left: -3px;
  opacity: 0.62;
  box-shadow: 0 0 8px 2px rgba(56, 189, 248, 0.38);
}

.kh-glass-prism {
  opacity: 0.48;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.48) 0%, rgba(219, 234, 254, 0.16) 100%);
  border-color: rgba(255, 255, 255, 0.68);
  box-shadow: 0 14px 32px -18px rgba(37, 99, 235, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .kh-glass-prism {
  opacity: 0.38;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(6, 182, 212, 0.05) 100%);
  border-color: rgba(148, 163, 184, 0.14);
}

.kh-spark-node {
  width: 6px;
  height: 6px;
  filter: blur(0.6px);
  box-shadow: 0 0 10px 2px rgba(56, 189, 248, 0.34);
  animation: khSparkSoft 5.5s ease-in-out infinite;
}

@keyframes khSparkSoft {
  0%, 100% { opacity: 0.16; transform: scale(0.85); }
  50% { opacity: 0.52; transform: scale(1.15); }
}

/* Eye-Catching Foreground Cohesion from Every Angle (Navbar -> Hero -> Cards -> Pagination) */
.navbar {
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(203, 213, 225, 0.65);
  box-shadow: 0 4px 24px -14px rgba(15, 23, 42, 0.12);
}

[data-theme="dark"] .navbar {
  background: rgba(11, 17, 32, 0.82);
  border-bottom-color: rgba(51, 65, 85, 0.6);
}

.hero-title {
  letter-spacing: -0.03em;
}

.text-gradient {
  background: linear-gradient(125deg, #1d4ed8 0%, #4f46e5 48%, #0284c7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .text-gradient {
  background: linear-gradient(125deg, #60a5fa 0%, #818cf8 48%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.search-wrapper {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 20px 44px -20px rgba(29, 78, 216, 0.2),
    0 4px 14px -4px rgba(15, 23, 42, 0.06),
    0 0 0 1px rgba(148, 163, 184, 0.22);
}

[data-theme="dark"] .search-wrapper {
  background: rgba(17, 25, 44, 0.9);
  border-color: rgba(71, 85, 105, 0.55);
  box-shadow:
    0 20px 44px -18px rgba(2, 6, 23, 0.72),
    0 0 0 1px rgba(96, 165, 250, 0.16);
}

.stats-ribbon {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.96);
  box-shadow:
    0 16px 36px -18px rgba(29, 78, 216, 0.16),
    0 0 0 1px rgba(148, 163, 184, 0.2);
}

[data-theme="dark"] .stats-ribbon {
  background: rgba(17, 25, 44, 0.88);
  border-color: rgba(71, 85, 105, 0.5);
  box-shadow: 0 16px 36px -16px rgba(2, 6, 23, 0.65);
}

.filter-sidebar {
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid rgba(226, 232, 240, 0.88);
  box-shadow: 0 12px 28px -16px rgba(15, 23, 42, 0.12);
}

[data-theme="dark"] .filter-sidebar {
  background: rgba(17, 25, 44, 0.9);
  border-color: rgba(51, 65, 85, 0.72);
}

.job-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow:
    0 10px 26px -16px rgba(15, 23, 42, 0.14),
    0 2px 6px -2px rgba(15, 23, 42, 0.04);
}

[data-theme="dark"] .job-card {
  background: rgba(17, 25, 44, 0.92);
  border-color: rgba(51, 65, 85, 0.72);
  box-shadow: 0 12px 28px -16px rgba(2, 6, 23, 0.68);
}

.jobs-pagination {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 12px 28px -16px rgba(29, 78, 216, 0.15);
}

[data-theme="dark"] .jobs-pagination {
  background: rgba(17, 25, 44, 0.9);
  border-color: rgba(51, 65, 85, 0.75);
}

@media (max-width: 640px) {
  .kh-bg-wave {
    opacity: 0.34;
  }

  .kh-glass-prism {
    opacity: 0.3;
  }

  .kh-geo-ring {
    opacity: 0.4;
  }
}

.brand-logo-static {
  cursor: default;
  user-select: none;
}

/* ==============================================================
   2026-11-30 PERFORMANCE BOOST: 60FPS GPU COMPOSITOR & SCROLLING
   Eliminates expensive filter:blur(96px) & per-card backdrop-filter
   while keeping the exact same soft aurora luxury aesthetic!
   ============================================================== */
body {
  background-attachment: scroll !important;
}

.kh-bg-ornaments {
  contain: strict;
  transform: translateZ(0);
}

/* Zero-blur ultra-smooth aurora clouds (identical look, 0ms GPU blur pass) */
.kh-aurora-cloud {
  filter: none !important;
  will-change: auto !important;
  animation: none !important;
}

.kh-aurora-cloud.cloud-1 {
  width: 720px;
  height: 580px;
  top: -170px;
  left: -170px;
  opacity: 0.72;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.22) 0%, rgba(56, 189, 248, 0.09) 42%, transparent 72%);
}

.kh-aurora-cloud.cloud-2 {
  width: 680px;
  height: 600px;
  top: 2%;
  right: -180px;
  opacity: 0.68;
  background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.2) 0%, rgba(168, 85, 247, 0.08) 42%, transparent 72%);
}

.kh-aurora-cloud.cloud-3 {
  width: 720px;
  height: 540px;
  bottom: -180px;
  left: 20%;
  opacity: 0.65;
  background: radial-gradient(ellipse at center, rgba(6, 182, 212, 0.18) 0%, rgba(37, 99, 235, 0.08) 44%, transparent 74%);
}

.kh-bg-light-beam {
  filter: none !important;
  opacity: 0.6;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.45) 0%, rgba(191, 219, 254, 0.15) 45%, transparent 72%);
}

/* Remove backdrop-filter from floating prisms & scrolling cards (huge FPS boost) */
.kh-glass-prism {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  will-change: auto !important;
}

.navbar {
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

.search-wrapper,
.filter-sidebar,
.job-card {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.job-card {
  background: rgba(255, 255, 255, 0.97);
  contain: layout style;
  content-visibility: auto;
  contain-intrinsic-size: auto 460px;
}

[data-theme="dark"] .job-card {
  background: rgba(17, 25, 44, 0.96);
}

.job-poster-preview {
  contain: layout paint;
}

/* Pause continuous background animations on mobile for locked 60 FPS scrolling */
@media (max-width: 768px) {
  .kh-aurora-cloud,
  .kh-glass-prism,
  .kh-spark-node,
  .kh-geo-ring {
    animation: none !important;
  }

  .navbar {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(255, 255, 255, 0.96) !important;
  }

  [data-theme="dark"] .navbar {
    background: rgba(11, 17, 32, 0.96) !important;
  }
}