/* ==============================================================
   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: #4f46e5;
  --primary-hover: #4338ca;
  --primary-light: #eef2ff;
  --primary-glow: rgba(79, 70, 229, 0.25);
  --secondary: #06b6d4;
  --accent: #f59e0b;
  --success: #10b981;
  --danger: #ef4444;
  --purple: #8b5cf6;

  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-alt: #f1f5f9;
  --border-color: #e2e8f0;
  --border-focus: #818cf8;

  --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(79, 70, 229, 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;
}

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: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==============================================================
   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-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.5px;
}

.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: 70px 0 50px 0;
  overflow: hidden;
  background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.08) 0%, transparent 60%);
}

.hero-content {
  text-align: center;
  max-width: 840px;
  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: 620px;
  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;
  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;
  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: 280px 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(360px, 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.1), rgba(0,0,0,0.7));
  opacity: 0;
  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-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;
}

.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;
  transition: all var(--transition-normal);
}

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

.modal-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 880px;
  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 h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-section h4 i {
  color: var(--primary);
}

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

.detail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-muted);
  line-height: 1.5;
}

.detail-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 800;
}

.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: 12px;
  text-align: center;
}

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

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

/* 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;
  transition: all var(--transition-normal);
}

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

.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) {
  .nav-links {
    display: none;
  }
  .hero-title {
    font-size: 1.9rem;
    line-height: 1.25;
  }
  .hero-desc {
    font-size: 1rem;
    padding: 0 8px;
  }
  .search-wrapper {
    flex-direction: column;
    gap: 10px;
    padding: 16px;
  }
  .search-field {
    min-width: 0 !important;
    width: 100% !important;
  }
  .search-divider {
    display: none;
  }
  .jobs-grid {
    grid-template-columns: 1fr;
  }
  .stats-ribbon {
    grid-template-columns: 1fr;
  }
  .modal-overlay {
    padding: 10px;
  }
  .modal-container {
    max-height: 94vh;
    border-radius: var(--radius-md);
  }
  .modal-hero-banner {
    height: 160px;
  }
  .modal-body {
    padding: 18px;
  }
  .listings-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .topbar-controls {
    width: 100%;
    justify-content: space-between;
  }
}

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

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


