/* ==============================================================
   KerjaHub - Modern Job Portal CSS
   ============================================================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

: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: hidden;
  position: relative;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  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;
}

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

/* ==============================================================
   NAVBAR
   ============================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  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;
}

.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: 64px 0 46px 0;
  overflow-x: clip;
  overflow-y: visible;
  background:
    radial-gradient(ellipse 75% 55% at 50% -10%, rgba(37, 99, 235, 0.11) 0%, transparent 70%),
    radial-gradient(ellipse 45% 40% at 85% 15%, rgba(14, 165, 233, 0.08) 0%, transparent 65%);
}

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

.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: #0f172a;
  overflow: hidden;
  cursor: pointer;
}

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

.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;
}

/* 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);
}

.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 */
.modal-hero-banner {
  position: relative;
  width: 100%;
  height: 280px;
  background: #0f172a;
  overflow: hidden;
}

.modal-hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.modal-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 28px;
}

.modal-header-info {
  color: white;
}

.modal-header-info h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 6px;
}

.modal-header-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.92rem;
  color: #cbd5e1;
  flex-wrap: wrap;
}

.modal-body {
  padding: 32px;
}

.detail-grid-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
}

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

.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: 20px;
}

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

.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;
}

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

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

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

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

/* 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;
}

/* ==============================================================
   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 24px 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;
}

.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 {
  text-align: center;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  font-size: 0.82rem;
  color: var(--text-light);
}

/* ==============================================================
   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 {
    height: 150px;
  }
  .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%;
  }
}

/* ==============================================================
   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: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 4px 6px 10px 6px;
    margin: 12px -8px 0 -8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .trending-keywords::-webkit-scrollbar {
    display: none;
  }
  .trending-label {
    flex-shrink: 0;
    padding-left: 6px;
  }
  .chip-keyword {
    flex-shrink: 0;
    white-space: nowrap;
  }
}

.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;
}

/* 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;
}

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

/* 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);
}

/* ==============================================================
   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.9);
  backdrop-filter: blur(6px);
  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 CV ORDER BUTTON & BANNER                      */
/* ============================================================== */
.floating-wa-cv-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.floating-wa-cv-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white !important;
  padding: 10px 18px 10px 12px;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 2px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  animation: floatingBounce 3.5s ease-in-out infinite;
}

.floating-wa-cv-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55), 0 4px 12px rgba(0, 0, 0, 0.2);
  color: white !important;
}

.floating-wa-icon-box {
  width: 44px;
  height: 44px;
  background: white;
  color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  position: relative;
}

.floating-wa-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.6);
  animation: waPulseRing 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  z-index: -1;
  pointer-events: none;
}

.floating-wa-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.floating-wa-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.92rem;
  line-height: 1.2;
  letter-spacing: -0.2px;
}

.floating-wa-sub {
  font-size: 0.72rem;
  opacity: 0.92;
  font-weight: 600;
}

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

@keyframes waPulseRing {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

@media (max-width: 640px) {
  .floating-wa-cv-container {
    bottom: 18px;
    right: 18px;
  }
  .floating-wa-cv-btn {
    padding: 8px 14px 8px 10px;
  }
  .floating-wa-icon-box {
    width: 38px;
    height: 38px;
    font-size: 1.35rem;
  }
  .floating-wa-title {
    font-size: 0.84rem;
  }
  .floating-wa-sub {
    display: none;
  }
}

/* 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-sub-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 5px;
  font-size: 0.76rem;
  color: var(--text-muted);
  padding: 0 4px;
}

.contact-sub-info a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 600;
  cursor: pointer;
}

.btn-email-direct {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #ea4335 0%, #db4437 100%);
  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(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-quick-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 6px;
  padding: 0 2px;
}

.ep-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
}

.ep-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.74rem;
  font-weight: 700;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none !important;
}

.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%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  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(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);
}

.hero-pill {
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.08), rgba(2, 132, 199, 0.08));
  border: 1px solid rgba(29, 78, 216, 0.18);
  box-shadow: 0 2px 10px rgba(29, 78, 216, 0.06);
}

.search-wrapper {
  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 {
  border-color: #293548;
  box-shadow: 0 18px 36px -12px rgba(0, 0, 0, 0.45);
}

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

.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 {
  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 {
  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);
}

.floating-wa-cv-btn {
  animation: none;
}

.floating-wa-cv-btn:hover {
  transform: translateY(-3px) scale(1.02);
}

@media (max-width: 640px) {
  .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;
  }
}


