/*
Theme Name: LokerPedia
Theme URI: https://lokerpedia.id
Author: LokerPedia Team
Author URI: https://lokerpedia.id
Description: Theme portal lowongan kerja modern Indonesia dengan Custom Meta Fields, Live AJAX Filtering, Bookmark System, Dark/Light Mode, Radial Countdown Ring Canvas, dan Graphical Job Details. Didesain untuk digunakan dengan WordPress 5.8+ tanpa ketergantungan plugin pihak ketiga.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lokerpedia
Tags: custom-menu, custom-header, custom-logo, footer-widgets, full-width-template, responsive-layout, theme-options, translation-ready, blog, jobs, job-listing, job-board, dark-mode, modern, animated
*/

/* ============================================================
   LokerPedia WordPress Theme – Master Stylesheet
   Loaded via wp_enqueue_style in functions.php
   ============================================================ */

/* ─── Google Fonts ─── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

/* ─── CSS Custom Properties (Design Tokens) ─── */
:root {
  /* Colors */
  --primary:           #0ea5e9;
  --primary-hover:     #0284c7;
  --primary-light:     rgba(14, 165, 233, 0.12);
  --accent-orange:     #f97316;
  --accent-orange-light: rgba(249, 115, 22, 0.12);
  --accent-emerald:    #10b981;
  --accent-emerald-light: rgba(16, 185, 129, 0.12);
  --accent-rose:       #f43f5e;
  --accent-rose-light: rgba(244, 63, 94, 0.12);
  --accent-purple:     #8b5cf6;
  --accent-purple-light: rgba(139, 92, 246, 0.12);
  --accent-amber:      #f59e0b;
  --accent-amber-light: rgba(245, 158, 11, 0.12);

  /* Light Mode */
  --bg-main:    #f0f4f9;
  --bg-surface: #ffffff;
  --bg-subtle:  #f7fafd;
  --border-color: rgba(0, 0, 0, 0.08);
  --text-main:  #0f172a;
  --text-light: #475569;
  --text-muted: #94a3b8;
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:  0 6px 24px rgba(0,0,0,0.1);
  --shadow-lg:  0 16px 48px rgba(0,0,0,0.14);

  /* Spacing & Radius */
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   14px;
  --radius-xl:   20px;
  --radius-2xl:  28px;
  --radius-full: 9999px;
  --header-height: 94px;
  --container-max: 1240px;
}

/* Dark Mode */
[data-theme="dark"] {
  --bg-main:      #0d1117;
  --bg-surface:   #161b22;
  --bg-subtle:    #1c2128;
  --border-color: rgba(255,255,255,0.08);
  --text-main:    #f0f6fc;
  --text-light:   #8b949e;
  --text-muted:   #484f58;
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.4);
  --shadow-md:    0 6px 24px rgba(0,0,0,0.55);
  --shadow-lg:    0 16px 48px rgba(0,0,0,0.65);
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, system-ui, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-height: 100vh;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
input, select, textarea, button { font-family: inherit; }

/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text-main);
}

/* ─── Container ─── */
.loker-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
  width: 100%;
}

/* ─── Utility ─── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }
.accent { color: var(--primary); }

/* ─── Buttons ─── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #ffffff;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 700; font-size: 0.9rem;
  cursor: pointer; border: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(14,165,233,0.4); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--bg-surface); color: var(--text-light);
  border: 1.5px solid var(--border-color);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 700; font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }

.btn-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-light);
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
}
.btn-icon:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }

/* ─── Form Elements ─── */
.form-input {
  width: 100%;
  background-color: var(--bg-subtle);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.7rem 1rem;
  font-size: 0.92rem;
  color: var(--text-main);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }

.filter-select { appearance: none; -webkit-appearance: none; }

/* ─── HEADER ─── */
.loker-header {
  position: sticky; top: 0; z-index: 900;
  min-height: var(--header-height);
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background-color 0.3s, border-color 0.3s, top 0.2s;
  display: flex;
  align-items: center;
  padding-top: 22px;
  padding-bottom: 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
body.admin-bar .loker-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .loker-header {
    top: 46px;
  }
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; gap: 1.5rem;
}
.brand-logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 1.4rem; font-weight: 900; letter-spacing: -0.03em; color: var(--text-main);
  flex-shrink: 0;
}
.brand-icon-wrapper {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}
.brand-badge {
  font-size: 0.65rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--primary); background: var(--primary-light);
  padding: 0.15rem 0.5rem; border-radius: var(--radius-full); margin-left: 0.25rem;
}
.nav-menu { display: flex; align-items: center; gap: 0.25rem; }
.nav-link {
  color: var(--text-light); font-weight: 700; font-size: 0.9rem;
  padding: 0.5rem 0.85rem; border-radius: var(--radius-full);
  transition: all 0.2s ease;
}
.nav-link:hover, .nav-link.active { color: var(--primary); background: var(--primary-light); }
.header-actions { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }

/* Bookmark Header Btn */
.bookmark-header-btn {
  display: flex; align-items: center; gap: 0.5rem;
  background: transparent; border: 1.5px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 0.5rem 1rem; font-size: 0.875rem; font-weight: 700;
  color: var(--text-light); cursor: pointer;
  transition: all 0.2s ease; position: relative;
}
.bookmark-header-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.bookmark-count-badge {
  background: var(--accent-rose); color: #fff;
  width: 20px; height: 20px; border-radius: var(--radius-full);
  font-size: 0.7rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* Theme Toggle */
.theme-toggle-btn::before {
  content: '☀️';
  font-size: 1rem;
}
[data-theme="dark"] .theme-toggle-btn::before { content: '🌙'; }

/* ─── HERO / METRICS SECTION ─── */
.hero-metrics-section {
  background: linear-gradient(135deg, #0c1a2e 0%, #0a2240 40%, #0d1b36 100%);
  padding: 3rem 0 2rem;
  overflow: hidden; position: relative;
}
.hero-metrics-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(14,165,233,0.15), transparent 60%);
}
.hero-inner { position: relative; z-index: 2; }
.hero-title-section { text-align: center; margin-bottom: 2.5rem; }
.hero-eyebrow {
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 0.5rem; display: block;
}
.hero-title {
  font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 900; letter-spacing: -0.03em;
  color: #ffffff; line-height: 1.15; margin-bottom: 0.75rem;
}
.hero-subtitle { color: rgba(255,255,255,0.6); font-size: 1rem; }

/* ─── Metrics Cards ─── */
.metrics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.metric-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  display: flex; flex-direction: column; gap: 0.5rem;
  backdrop-filter: blur(8px);
  transition: transform 0.2s, border-color 0.2s;
}
.metric-card:hover { transform: translateY(-4px); border-color: rgba(14,165,233,0.4); }
.metric-label { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255,255,255,0.5); }
.metric-value { font-size: 2rem; font-weight: 900; color: #ffffff; letter-spacing: -0.04em; }
.metric-trend { font-size: 0.8rem; font-weight: 600; color: var(--accent-emerald); }

/* ─── Ring Canvas Countdown ─── */
.countdown-ring-wrapper {
  display: flex; flex-direction: column; align-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
}
.countdown-label-top { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent-rose); margin-bottom: 0.5rem; }
#countdownCanvas { display: block; }
.countdown-value { font-size: 1rem; font-weight: 800; color: #fff; margin-top: 0.35rem; letter-spacing: 0.05em; }
.countdown-sub { font-size: 0.72rem; color: rgba(255,255,255,0.45); }

/* ─── Quick Filter Chips ─── */
.quick-chips-bar { padding: 1.25rem 0; background: var(--bg-surface); border-bottom: 1px solid var(--border-color); overflow-x: auto; }
.quick-chips-inner { display: flex; gap: 0.6rem; padding: 0 0.5rem; white-space: nowrap; }
.quick-chip {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.45rem 1rem; border-radius: var(--radius-full);
  border: 1.5px solid var(--border-color);
  background: var(--bg-surface); color: var(--text-light);
  font-size: 0.84rem; font-weight: 700; cursor: pointer;
  transition: all 0.2s ease; flex-shrink: 0;
}
.quick-chip:hover, .quick-chip.active { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }

/* ─── MAIN LAYOUT (Sidebar + Feed) ─── */
.main-loker-layout { padding: 2.5rem 0 4rem; }
.layout-grid { display: grid; grid-template-columns: 300px 1fr; gap: 2rem; }
.sidebar-filter { position: sticky; top: calc(var(--header-height) + 1.5rem); height: fit-content; }

/* ─── Filter Panel ─── */
.filter-panel {
  background: var(--bg-surface); border: 1px solid var(--border-color);
  border-radius: var(--radius-xl); padding: 1.5rem;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 1.25rem;
}
.filter-panel-title { font-size: 1rem; font-weight: 800; color: var(--text-main); }
.filter-section-label { font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 0.45rem; display: block; }
.filter-radio-group { display: flex; flex-direction: column; gap: 0.3rem; }
.filter-radio-label { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; font-size: 0.875rem; font-weight: 600; color: var(--text-light); padding: 0.3rem 0.5rem; border-radius: var(--radius-sm); transition: background 0.15s; }
.filter-radio-label:hover { background: var(--primary-light); color: var(--primary); }
.filter-radio-label input[type="radio"] { accent-color: var(--primary); }

/* Active Filters Badges */
.active-filters-bar { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.active-filter-badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.3rem 0.7rem; border-radius: var(--radius-full);
  background: var(--primary-light); color: var(--primary);
  font-size: 0.78rem; font-weight: 700; border: 1px solid rgba(14,165,233,0.25);
}
.remove-filter-btn { cursor: pointer; font-size: 0.9rem; line-height: 1; margin-left: 0.1rem; }

/* ─── Search Bar ─── */
.search-bar-wrapper { position: relative; }
.search-input {
  width: 100%;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 0.85rem 1.25rem 0.85rem 3rem;
  font-size: 0.95rem; color: var(--text-main);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
.search-icon {
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); pointer-events: none;
}
.search-clear-btn {
  position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  background: var(--text-muted); color: white;
  width: 20px; height: 20px; border-radius: var(--radius-full);
  border: none; cursor: pointer; font-size: 0.75rem;
  display: none; align-items: center; justify-content: center;
}

/* ─── JOB FEED & CARDS ─── */
.jobs-feed-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; flex-wrap: wrap; gap: 0.75rem; }
.jobs-count-label { font-size: 0.9rem; font-weight: 700; color: var(--text-muted); }
.jobs-count-label strong { color: var(--text-main); }
.view-toggle-btn { display: flex; gap: 0.3rem; }
.view-btn { width: 36px; height: 36px; border-radius: var(--radius-md); border: 1.5px solid var(--border-color); background: transparent; color: var(--text-muted); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.view-btn.active { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }

/* Jobs Loop Containers */
.jobs-loop { display: flex; flex-direction: column; gap: 1rem; }
.jobs-loop.grid-view { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 1rem; }

/* Job Card */
.job-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  display: flex; flex-direction: column; gap: 1rem;
  transition: transform 0.2s ease, border-color 0.25s ease, box-shadow 0.2s ease;
  position: relative; overflow: hidden;
  cursor: default;
}
.job-card:hover { transform: translateY(-3px); border-color: rgba(14,165,233,0.35); box-shadow: var(--shadow-md); }
.job-card.is-featured { border-color: rgba(14,165,233,0.3); }
.job-card.is-featured::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(to bottom, var(--primary), var(--accent-purple)); border-radius: var(--radius-full) 0 0 var(--radius-full); }

.job-card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.company-profile-preview { display: flex; gap: 0.75rem; align-items: center; flex: 1; min-width: 0; }
.company-avatar { width: 52px; height: 52px; border-radius: var(--radius-lg); object-fit: cover; border: 2px solid var(--border-color); flex-shrink: 0; }
.company-name { font-size: 0.88rem; font-weight: 700; color: var(--text-light); }
.company-name-row { display: flex; align-items: center; gap: 0.35rem; }
.verified-icon { color: var(--primary); flex-shrink: 0; }
.job-location-industry { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.15rem; }

/* Bookmark Btn on Card */
.job-bookmark-btn {
  width: 36px; height: 36px; border-radius: var(--radius-full); border: 1.5px solid var(--border-color);
  background: transparent; color: var(--text-muted);
  cursor: pointer; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; outline: none;
}
.job-bookmark-btn:hover, .job-bookmark-btn.bookmarked { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.job-bookmark-btn.bookmarked svg { fill: var(--primary); }

.job-card-body { display: flex; flex-direction: column; gap: 0.6rem; }
.job-title-link { font-size: 1.1rem; font-weight: 800; color: var(--text-main); transition: color 0.2s; display: block; }
.job-title-link:hover { color: var(--primary); }

.job-salary-pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--accent-orange-light); color: var(--accent-orange);
  padding: 0.3rem 0.85rem; border-radius: var(--radius-full);
  font-size: 0.88rem; font-weight: 800; width: fit-content;
}
.job-salary-pill .period { font-size: 0.78rem; font-weight: 600; opacity: 0.75; }

.job-meta-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.meta-badge {
  padding: 0.25rem 0.7rem; border-radius: var(--radius-full);
  font-size: 0.77rem; font-weight: 700;
  background: var(--bg-main); color: var(--text-light);
  border: 1px solid var(--border-color);
}
.meta-badge.work-model { background: var(--accent-purple-light); color: var(--accent-purple); border-color: transparent; }

.job-card-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 0.75rem; border-top: 1px solid var(--border-color); }
.deadline-indicator { font-size: 0.8rem; font-weight: 700; display: flex; align-items: center; gap: 0.35rem; }
.deadline-indicator.urgent { color: var(--accent-rose); }
.deadline-indicator.soon { color: var(--accent-amber); }
.deadline-indicator.safe { color: var(--accent-emerald); }
.btn-card-apply { font-size: 0.82rem; font-weight: 800; color: var(--primary); transition: letter-spacing 0.2s; }
.job-card:hover .btn-card-apply { letter-spacing: 0.01em; }

/* ─── Pagination ─── */
.pagination { display: flex; justify-content: center; gap: 0.4rem; margin-top: 2rem; flex-wrap: wrap; }
.page-btn {
  min-width: 40px; height: 40px; border-radius: var(--radius-md);
  border: 1.5px solid var(--border-color); background: var(--bg-surface);
  color: var(--text-light); font-size: 0.875rem; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; padding: 0 0.65rem;
}
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.page-btn:disabled { opacity: 0.35; cursor: not-allowed; }

/* ─── SINGLE JOB DETAIL PAGE ─── */
.details-layout { padding: 2rem 0 8rem; }

/* Breadcrumbs */
.breadcrumbs { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.breadcrumbs a { color: var(--text-muted); font-weight: 600; transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs .separator { color: var(--text-muted); opacity: 0.5; }
.breadcrumbs .current { color: var(--text-main); font-weight: 700; }

/* Single Hero Card */
.single-hero-card {
  background: var(--bg-surface); border: 1.5px solid var(--border-color);
  border-radius: var(--radius-2xl); padding: 2rem;
  box-shadow: var(--shadow-sm); margin-bottom: 2rem;
}
.single-hero-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.single-hero-company { display: flex; gap: 1.25rem; align-items: center; flex: 1; min-width: 0; }
.single-company-logo { width: 80px; height: 80px; border-radius: var(--radius-xl); object-fit: cover; border: 2px solid var(--border-color); flex-shrink: 0; }
.single-company-name-link { font-size: 1rem; font-weight: 800; color: var(--primary); }
.single-hero-actions { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }

/* Spec Grid */
.job-spec-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem; background: var(--bg-main);
  border-radius: var(--radius-xl); padding: 1.25rem;
  border: 1px solid var(--border-color);
}
.spec-item { display: flex; align-items: center; gap: 0.75rem; }
.spec-icon-box {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.spec-item.salary   .spec-icon-box { background: var(--accent-orange-light); color: var(--accent-orange); }
.spec-item.education .spec-icon-box { background: var(--primary-light); color: var(--primary); }
.spec-item.experience .spec-icon-box { background: var(--accent-emerald-light); color: var(--accent-emerald); }
.spec-item .spec-icon-box { background: var(--accent-purple-light); color: var(--accent-purple); }
.spec-meta { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.spec-meta-label { font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); }
.spec-meta-val { font-size: 0.95rem; font-weight: 800; color: var(--text-main); }

/* Details 2-Col Layout */
.details-content-grid { display: grid; grid-template-columns: 1fr 340px; gap: 2rem; align-items: start; }
.details-main-card { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius-xl); padding: 2rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 2rem; }

.details-section-title { font-size: 1.15rem; font-weight: 800; color: var(--text-main); margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--primary-light); }

/* Graphical Checklist */
.graphical-checklist { display: flex; flex-direction: column; gap: 0.6rem; }
.checklist-item { display: flex; gap: 0.75rem; align-items: flex-start; }
.checklist-icon {
  width: 22px; height: 22px; border-radius: var(--radius-sm);
  background: var(--accent-emerald-light); color: var(--accent-emerald);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 0.1rem;
}
.checklist-text { font-size: 0.92rem; color: var(--text-light); line-height: 1.55; }

/* Benefits Grid */
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.75rem; }
.benefit-card {
  background: var(--bg-main); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); padding: 0.85rem 1rem;
  display: flex; align-items: center; gap: 0.65rem;
  font-size: 0.85rem; font-weight: 700; color: var(--text-light);
  transition: all 0.2s;
}
.benefit-card:hover { border-color: var(--accent-emerald); color: var(--accent-emerald); background: var(--accent-emerald-light); }
.benefit-emoji { font-size: 1.2rem; flex-shrink: 0; }

/* Skills Tag Cloud */
.skills-tag-cloud { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.skill-tag {
  padding: 0.35rem 0.9rem; border-radius: var(--radius-full);
  background: var(--primary-light); color: var(--primary);
  font-size: 0.82rem; font-weight: 700; border: 1px solid rgba(14,165,233,0.25);
  transition: all 0.2s;
}
.skill-tag:hover { background: var(--primary); color: #fff; }

/* Prose Content */
.details-prose { font-size: 0.92rem; color: var(--text-light); line-height: 1.7; }
.details-prose p { margin-bottom: 1rem; }

/* Sidebar Sticky Widgets */
.sidebar-sticky-widget { display: flex; flex-direction: column; gap: 1.25rem; position: sticky; top: calc(var(--header-height) + 1.5rem); }
.company-profile-card { background: var(--bg-surface); border: 1.5px solid var(--border-color); border-radius: var(--radius-xl); padding: 1.5rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 1rem; }
.company-profile-header { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.65rem; }
.company-profile-logo { width: 72px; height: 72px; border-radius: var(--radius-xl); object-fit: cover; border: 2px solid var(--border-color); }
.company-details-list { display: flex; flex-direction: column; gap: 0.6rem; }
.company-detail-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.84rem; color: var(--text-muted); }
.company-detail-row strong { color: var(--text-main); font-weight: 700; text-align: right; }

/* Related Job Card (Compact) */
.related-job-card { display: flex; gap: 0.75rem; align-items: center; padding: 0.75rem; border-radius: var(--radius-lg); border: 1px solid var(--border-color); background: var(--bg-main); transition: all 0.2s; text-decoration: none; }
.related-job-card:hover { border-color: var(--primary); background: var(--primary-light); }
.related-job-logo { width: 44px; height: 44px; border-radius: var(--radius-md); object-fit: cover; flex-shrink: 0; }
.related-job-info { flex: 1; min-width: 0; }
.related-job-title { font-size: 0.86rem; font-weight: 800; color: var(--text-main); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.related-job-company { font-size: 0.76rem; color: var(--text-muted); }

/* ─── STICKY APPLY BAR ─── */
.sticky-apply-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 800;
  background: var(--bg-surface);
  border-top: 1.5px solid var(--border-color);
  box-shadow: 0 -8px 32px rgba(0,0,0,0.12);
  padding: 0.85rem 0;
}
.apply-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.apply-bar-buttons { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.btn-apply-email {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--primary); color: #fff;
  padding: 0.7rem 1.5rem; border-radius: var(--radius-full);
  font-weight: 800; font-size: 0.9rem; transition: all 0.2s;
}
.btn-apply-email:hover { background: var(--primary-hover); transform: translateY(-2px); }
.btn-apply-wa {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #25d366; color: #fff;
  padding: 0.7rem 1.5rem; border-radius: var(--radius-full);
  font-weight: 800; font-size: 0.9rem; transition: all 0.2s;
}
.btn-apply-wa:hover { background: #1ebe5c; transform: translateY(-2px); }

/* ─── BOOKMARK DRAWER ─── */
.bookmark-drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 990; opacity: 0; visibility: hidden; transition: all 0.3s; backdrop-filter: blur(4px); }
.bookmark-drawer-overlay.open { opacity: 1; visibility: visible; }
.bookmark-drawer { position: fixed; top: 0; right: -420px; width: 400px; max-width: 90vw; height: 100vh; z-index: 995; background: var(--bg-surface); border-left: 1px solid var(--border-color); box-shadow: var(--shadow-lg); transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1); display: flex; flex-direction: column; }
.bookmark-drawer.open { right: 0; }
.bookmark-drawer-header { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border-color); flex-shrink: 0; }
.bookmark-drawer-title { font-size: 1.1rem; font-weight: 800; color: var(--text-main); display: flex; align-items: center; gap: 0.5rem; }
.bookmark-drawer-content { flex: 1; overflow-y: auto; padding: 1.25rem 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.bookmark-drawer-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--border-color); display: flex; gap: 0.75rem; }
.bookmark-card { display: flex; gap: 0.75rem; align-items: center; padding: 0.85rem; background: var(--bg-main); border: 1px solid var(--border-color); border-radius: var(--radius-lg); text-decoration: none; transition: all 0.2s; }
.bookmark-card:hover { border-color: var(--primary); }
.bookmark-card-logo { width: 44px; height: 44px; border-radius: var(--radius-md); object-fit: cover; flex-shrink: 0; }
.bookmark-card-info { flex: 1; min-width: 0; }
.bookmark-card-title { font-size: 0.87rem; font-weight: 800; color: var(--text-main); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bookmark-card-company { font-size: 0.77rem; color: var(--text-muted); }
.bookmark-card-salary { font-size: 0.78rem; font-weight: 700; color: var(--accent-orange); }
.bookmark-remove-btn { width: 28px; height: 28px; border-radius: var(--radius-full); background: var(--accent-rose-light); color: var(--accent-rose); border: none; cursor: pointer; font-size: 1rem; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.bookmark-empty { text-align: center; padding: 3rem 1rem; color: var(--text-muted); }

/* ─── Toast Notification ─── */
.loker-toast { position: fixed; bottom: 5.5rem; right: 1.5rem; z-index: 1100; background: #1e293b; color: #fff; padding: 0.8rem 1.3rem; border-radius: var(--radius-lg); font-size: 0.9rem; font-weight: 700; box-shadow: var(--shadow-lg); transform: translateY(1rem); opacity: 0; transition: all 0.3s cubic-bezier(0.4,0,0.2,1); pointer-events: none; }
.loker-toast.show { transform: translateY(0); opacity: 1; }

/* ─── AUTH MODAL ─── */
.modal-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 1rem; opacity: 0; visibility: hidden; transition: all 0.25s; }
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-box { background: var(--bg-surface); border-radius: var(--radius-2xl); padding: 2.5rem; max-width: 440px; width: 100%; box-shadow: var(--shadow-lg); transform: scale(0.94) translateY(10px); transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1); }
.modal-overlay.open .modal-box { transform: scale(1) translateY(0); }
.modal-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.5rem; }
.modal-title { font-size: 1.4rem; font-weight: 900; color: var(--text-main); }
.modal-tabs { display: flex; gap: 0.25rem; background: var(--bg-main); border-radius: var(--radius-full); padding: 0.25rem; margin-bottom: 1.5rem; }
.modal-tab-btn { flex: 1; padding: 0.55rem 1rem; border-radius: var(--radius-full); border: none; background: transparent; font-size: 0.88rem; font-weight: 700; cursor: pointer; color: var(--text-muted); transition: all 0.2s; }
.modal-tab-btn.active { background: var(--bg-surface); color: var(--primary); box-shadow: var(--shadow-sm); }
.form-group { margin-bottom: 1rem; }
.form-label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--text-light); margin-bottom: 0.35rem; text-transform: uppercase; letter-spacing: 0.04em; }

/* ─── FOOTER ─── */
.loker-footer { background: #0d1117; color: rgba(255,255,255,0.5); padding: 3rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-brand { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-nav-title { font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.6); margin-bottom: 0.75rem; }
.footer-nav-list { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav-link { font-size: 0.875rem; color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-nav-link:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.75rem; font-size: 0.82rem; }
.footer-bottom strong { color: rgba(255,255,255,0.8); }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .layout-grid { grid-template-columns: 260px 1fr; gap: 1.5rem; }
  .details-content-grid { grid-template-columns: 1fr; }
  .sidebar-sticky-widget { position: static; flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 768px) {
  .layout-grid { grid-template-columns: 1fr; }
  .sidebar-filter { position: static; }
  .nav-menu { display: none; }
  .hero-title { font-size: 1.7rem; }
  .single-hero-header { flex-direction: column; }
  .job-spec-grid { grid-template-columns: 1fr 1fr; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .apply-bar-inner { flex-direction: column; gap: 0.6rem; }
  .apply-bar-buttons { width: 100%; }
  .btn-apply-email, .btn-apply-wa { flex: 1; justify-content: center; }
}
@media (max-width: 480px) {
  .job-spec-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr; }
}
