/* ============================================================
   JOB DETAIL PAGE
   ============================================================ */

/* HERO */
.jd-hero {
  position: relative;
  background: linear-gradient(180deg, var(--asb-navy) 0%, #1A2240 70%, var(--paper) 70%);
  padding: 28px 0 0;
  overflow: hidden;
}
.jd-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.jd-hero-mesh {
  position: absolute; top: 0; left: 0; right: 0; height: 70%;
  background:
    radial-gradient(circle at 20% 30%, rgba(245,130,32,0.18) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(67,87,160,0.22) 0%, transparent 40%);
}
.jd-hero-inner { position: relative; }

.jd-back {
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(247,244,237,0.7);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  transition: color 0.2s;
}
.jd-back:hover { color: var(--asb-orange-bright); }

.jd-head-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 36px;
  align-items: start;
  padding-bottom: 32px;
}

.jd-head-main { color: var(--paper); }
.jd-head-meta {
  display: flex; align-items: start; gap: 14px;
  margin-bottom: 16px;
}
.jd-head-logo {
  width: 64px; height: 64px;
  border-radius: var(--r-md);
  color: white;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 20px -6px rgba(0,0,0,0.4);
}
.jd-head-co-row {
  display: inline-flex; align-items: center; gap: 8px;
  flex-wrap: wrap;
}
.jd-head-co {
  font-size: 18px; font-weight: 700;
  color: var(--paper);
  letter-spacing: -0.01em;
}
.jd-head-verified {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(82,162,46,0.18);
  border: 1px solid rgba(82,162,46,0.4);
  color: #6FC04E;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 100px;
}
.jd-head-verified svg { width: 11px; height: 11px; }
.jd-head-cotag { font-size: 12.5px; color: rgba(247,244,237,0.55); margin-top: 2px; }

.jd-head-title {
  font-family: var(--font-bn);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--paper);
  margin-bottom: 18px;
  text-wrap: balance;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
body.lang-en .jd-head-title { font-family: var(--font-display); letter-spacing: -0.04em; }
.jd-head-urgent {
  display: inline-block;
  background: var(--urgent);
  color: white;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  padding: 4px 10px;
  border-radius: 4px;
  vertical-align: middle;
  animation: jd-urgent-pulse 1.4s ease-in-out infinite;
}
@keyframes jd-urgent-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.04); }
}

.jd-head-quickfacts {
  display: flex; flex-wrap: wrap; gap: 18px;
  margin-bottom: 20px;
}
.jd-quickfact {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px;
  color: rgba(247,244,237,0.85);
}
.jd-quickfact strong {
  display: inline-flex; align-items: center;
  width: 26px; height: 26px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  justify-content: center;
  color: var(--asb-orange-bright);
  font-weight: 600;
  font-size: 13px;
}
.jd-quickfact strong svg { width: 13px; height: 13px; }

/* RIGHT SIDE — match + apply */
.jd-head-actions { color: var(--paper); }
.jd-match-card {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border-radius: var(--r-lg);
  padding: 16px 18px;
  margin-bottom: 12px;
}
.jd-match-ring {
  position: relative;
  width: 64px; height: 64px;
  flex-shrink: 0;
}
.jd-match-ring svg { width: 100%; height: 100%; }
.jd-match-num {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--asb-orange-bright);
  letter-spacing: -0.02em;
}
.jd-match-num span { font-size: 11px; font-weight: 700; }
.jd-match-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--paper);
  letter-spacing: -0.01em;
}
.jd-match-sub {
  font-size: 11.5px;
  color: rgba(247,244,237,0.6);
  margin-top: 2px;
}

.jd-cta-row {
  display: flex; gap: 8px;
  margin-bottom: 14px;
}
.jd-apply-btn {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--asb-orange);
  color: white;
  border: none;
  border-radius: var(--r-md);
  padding: 16px 20px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 8px 24px -10px rgba(245,130,32,0.6);
}
.jd-apply-btn:hover {
  background: var(--asb-orange-bright);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -10px rgba(245,130,32,0.8);
}
.jd-apply-btn svg { width: 14px; height: 14px; }

.jd-save-btn, .jd-share-btn {
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--paper);
  border-radius: var(--r-md);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  font-size: 16px;
}
.jd-save-btn svg { width: 18px; height: 18px; }
.jd-save-btn:hover, .jd-share-btn:hover { background: rgba(255,255,255,0.14); }
.jd-save-btn.is-on { background: var(--asb-orange); border-color: var(--asb-orange); }

.jd-stats {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px;
  color: rgba(247,244,237,0.7);
}
.jd-stats strong {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--paper);
  font-weight: 700;
  margin-right: 3px;
}
.jd-stats-sep { color: rgba(247,244,237,0.3); }
.jd-closing { color: var(--asb-orange-bright); font-weight: 700; }

@media (max-width: 920px) {
  .jd-head-grid { grid-template-columns: 1fr; }
  .jd-head-title { font-size: 34px; }
  .jd-hero { background: linear-gradient(180deg, var(--asb-navy) 0%, #1A2240 100%); padding-bottom: 28px; }
}

/* ============================================================
   AI INSIGHTS
   ============================================================ */
.jd-body { background: var(--paper); padding: 28px 0 56px; }
.jd-body-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}

.jd-ai {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 24px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}
.jd-ai::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(245,130,32,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.jd-ai-head {
  display: flex; gap: 14px; align-items: start;
  margin-bottom: 22px;
  position: relative;
}
.jd-ai-spark {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--asb-orange) 0%, var(--asb-orange-bright) 100%);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 6px 16px -6px rgba(245,130,32,0.6);
}
.jd-ai-spark svg { width: 20px; height: 20px; }
.jd-ai-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.jd-ai-sub { font-size: 13px; color: var(--ink-3); margin-top: 4px; }

.jd-ai-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 20px;
  position: relative;
}
.jd-ai-panel {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 18px;
}
.jd-ai-panel-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}

/* skill bars */
.jd-skill-bars { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.jd-skill-row {
  display: grid;
  grid-template-columns: 110px 1fr 32px;
  gap: 10px;
  align-items: center;
}
.jd-skill-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.jd-skill-bar {
  position: relative;
  height: 8px;
  background: var(--surface-2);
  border-radius: 4px;
  overflow: visible;
}
.jd-skill-fill {
  position: absolute; inset: 0;
  border-radius: 4px;
  background: var(--asb-navy);
  transition: width 0.6s ease;
}
.jd-skill-fill.great { background: var(--live); }
.jd-skill-fill.good { background: var(--asb-orange); }
.jd-skill-fill.gap { background: linear-gradient(90deg, var(--asb-orange) 0%, #DDB876 100%); }
.jd-skill-need {
  position: absolute;
  top: -3px; bottom: -3px;
  width: 2px;
  background: var(--ink);
  z-index: 2;
  border-radius: 1px;
}
.jd-skill-need::after {
  content: '';
  position: absolute;
  top: -4px; left: -3px;
  width: 8px; height: 8px;
  background: var(--ink);
  border-radius: 50%;
  border: 2px solid var(--paper);
}
.jd-skill-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  text-align: right;
}

.jd-skill-legend {
  display: flex; flex-wrap: wrap; gap: 14px;
  font-size: 11px;
  color: var(--ink-3);
  padding-top: 12px;
  border-top: 1px dashed var(--line-soft);
}
.jd-skill-legend span { display: inline-flex; align-items: center; gap: 4px; }
.jd-skill-legend .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.jd-skill-legend .dot.great { background: var(--live); }
.jd-skill-legend .dot.good { background: var(--asb-orange); }
.jd-skill-legend .dot.gap { background: linear-gradient(90deg, var(--asb-orange), #DDB876); }
.jd-skill-legend .dot.need { background: var(--ink); }

/* salary panel */
.jd-salary-big {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 6px;
  display: inline-flex; align-items: baseline; gap: 4px;
}
.jd-salary-big strong {
  font-size: 44px;
  color: var(--asb-orange);
}
body.lang-bn .jd-salary-big strong { font-family: var(--font-bn); font-weight: 700; }
.jd-salary-unit {
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  margin-left: 4px;
}
.jd-salary-rng-label {
  font-size: 12px;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.jd-salary-rng-bar {
  position: relative;
  height: 8px;
  background: var(--surface-2);
  border-radius: 4px;
  margin-bottom: 8px;
}
.jd-salary-rng-fill {
  position: absolute;
  left: 30%; right: 25%;
  top: 0; bottom: 0;
  background: linear-gradient(90deg, var(--gold-soft), var(--asb-orange), var(--gold-soft));
  border-radius: 4px;
}
.jd-salary-rng-marker {
  position: absolute;
  top: -4px;
  transform: translateX(-50%);
  width: 16px; height: 16px;
  background: var(--ink);
  border-radius: 50%;
  border: 3px solid var(--paper);
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.jd-salary-rng-marker span {
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
  background: var(--paper);
  padding: 2px 6px;
  border-radius: 4px;
}
.jd-salary-rng-marks {
  display: flex; justify-content: space-between;
  font-size: 10px;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}
.jd-salary-foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-soft);
  font-size: 12px;
  color: var(--live);
  font-weight: 600;
}

/* TLDR list */
.jd-tldr-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.jd-tldr-list li {
  display: flex; gap: 8px; align-items: start;
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.4;
}
.jd-tldr-list b {
  font-family: var(--font-display);
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: white;
  font-size: 11px;
  font-weight: 700;
}
.jd-tldr-list b.good { background: var(--live); }
.jd-tldr-list b.warn { background: #DDB876; color: var(--ink); }
.jd-tldr-list b.info { background: var(--asb-navy); }

@media (max-width: 1100px) {
  .jd-ai-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   JOB CONTENT SECTIONS
   ============================================================ */
.jd-content {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 32px 36px;
}
.jd-sec { padding: 18px 0; border-top: 1px dashed var(--line-soft); }
.jd-sec:first-child { padding-top: 0; border-top: none; }
.jd-sec-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--asb-orange);
  margin-bottom: 14px;
}
body.lang-bn .jd-sec-title { letter-spacing: 0.04em; font-size: 14px; }

.jd-p { font-size: 15px; line-height: 1.7; color: var(--ink-2); margin-bottom: 12px; text-wrap: pretty; }

.jd-ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.jd-ul li {
  display: flex; gap: 12px; align-items: start;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.55;
}
.jd-bullet {
  flex-shrink: 0;
  color: var(--asb-orange);
  font-weight: 700;
  width: 16px;
}
.jd-bullet-must { color: var(--asb-navy); font-size: 8px; padding-top: 4px; }
.jd-bullet-nice { color: var(--gold-deep); }

.jd-skills { display: flex; flex-wrap: wrap; gap: 8px; }
.jd-skill-chip {
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 100px;
}

/* benefits grid */
.jd-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 10px;
}
.jd-benefit {
  display: flex; align-items: center; gap: 10px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 12px 14px;
  font-size: 13px;
  color: var(--ink-2);
  transition: border-color 0.15s;
}
.jd-benefit:hover { border-color: var(--asb-orange); }
.jd-benefit-ic {
  font-size: 22px;
  flex-shrink: 0;
}

/* hiring process */
.jd-process {
  display: flex; flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.jd-process-step {
  display: flex; align-items: center; gap: 10px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 12px 14px;
  flex: 1;
  min-width: 130px;
  position: relative;
}
.jd-process-num {
  width: 24px; height: 24px;
  background: var(--asb-navy);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}
.jd-process-ic { font-size: 20px; }
.jd-process-label { flex: 1; font-size: 12.5px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.jd-process-dur {
  font-size: 10.5px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.jd-process-arrow {
  color: var(--ink-muted);
  font-size: 18px;
  flex-shrink: 0;
}
@media (max-width: 720px) {
  .jd-process-arrow { display: none; }
  .jd-content { padding: 24px 22px; }
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.jd-side {
  display: flex; flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 16px;
}
.jd-side-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: var(--shadow-1);
}
.jd-side-card-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}

/* hiring manager */
.jd-hm-head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.jd-hm-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}
.jd-hm-name { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.jd-hm-role { font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }
.jd-hm-stat {
  display: flex; align-items: center; gap: 6px;
  background: var(--paper);
  border-radius: var(--r-sm);
  padding: 8px 10px;
  font-size: 11.5px;
  color: var(--ink-2);
  margin-bottom: 12px;
}
.jd-hm-stat-dot {
  width: 7px; height: 7px;
  background: var(--live);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(82,162,46,0.5);
  animation: jd-hm-pulse 1.6s ease-out infinite;
}
@keyframes jd-hm-pulse { to { box-shadow: 0 0 0 6px rgba(82,162,46,0); } }
.jd-hm-msg {
  width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--asb-navy);
  color: var(--paper);
  border: none;
  border-radius: var(--r-md);
  padding: 11px 16px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.jd-hm-msg:hover { background: #1A2240; }
.jd-hm-msg svg { width: 13px; height: 13px; }

/* company stats */
.jd-co-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.jd-co-stat {
  background: var(--paper);
  border-radius: var(--r-md);
  padding: 10px 12px;
}
.jd-co-stat-num {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
}
body.lang-bn .jd-co-stat-num { font-family: var(--font-bn); font-weight: 700; }
.jd-co-stat-up { color: var(--live); }
.jd-co-stat-label { font-size: 10.5px; color: var(--ink-3); margin-top: 4px; letter-spacing: 0.04em; }
.jd-co-link {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--asb-orange);
  text-decoration: none;
}
.jd-co-link:hover { text-decoration: underline; }

/* mini map */
.jd-map {
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 12px;
}
.jd-map svg { display: block; width: 100%; height: 140px; }
.jd-loc-name { font-size: 13px; font-weight: 700; color: var(--ink); }
.jd-loc-addr { font-size: 11.5px; color: var(--ink-3); margin-top: 2px; line-height: 1.4; }
.jd-loc-commute {
  margin-top: 10px; padding-top: 10px;
  border-top: 1px dashed var(--line-soft);
  font-size: 11.5px;
  color: var(--asb-orange);
  font-weight: 600;
}

/* secondary apply CTA */
.jd-apply-side {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  background: var(--asb-orange);
  color: white;
  border: none;
  border-radius: var(--r-lg);
  padding: 16px 20px;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 8px 22px -10px rgba(245,130,32,0.6);
}
.jd-apply-side:hover {
  background: var(--asb-orange-bright);
  transform: translateY(-2px);
}
.jd-apply-side-label { font-size: 15px; font-weight: 700; }
.jd-apply-side-sub { font-size: 11.5px; opacity: 0.85; margin-top: 2px; }
.jd-apply-side svg { width: 16px; height: 16px; }

@media (max-width: 1020px) {
  .jd-body-grid { grid-template-columns: 1fr; }
  .jd-side { position: static; }
}

/* ============================================================
   SIMILAR JOBS
   ============================================================ */
.jd-similar {
  background: var(--paper-2);
  padding: 56px 0 64px;
  border-top: 1px solid var(--line-soft);
}
.jd-similar-head {
  display: flex; justify-content: space-between; align-items: end;
  margin-bottom: 22px;
}
.jd-similar-title {
  font-family: var(--font-bn);
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
body.lang-en .jd-similar-title { font-family: var(--font-display); }
.jd-similar-all {
  font-size: 13px;
  font-weight: 600;
  color: var(--asb-orange);
  text-decoration: none;
}

.jd-similar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.jd-similar-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 18px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
  display: block;
}
.jd-similar-card:hover {
  border-color: var(--asb-orange);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -12px rgba(0,0,0,0.15);
}
.jd-similar-top {
  display: flex; justify-content: space-between; align-items: start;
  margin-bottom: 12px;
}
.jd-similar-logo {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  color: white;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.jd-similar-match {
  background: var(--gold-mist);
  color: var(--gold-deep);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 100px;
}
.jd-similar-co { font-size: 12px; color: var(--ink-3); margin-bottom: 4px; font-weight: 600; }
.jd-similar-job {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 12px;
}
.jd-similar-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  font-size: 12px;
  color: var(--ink-3);
}

/* ============================================================
   APPLY MODAL
   ============================================================ */
.jd-modal-bd {
  position: fixed; inset: 0;
  background: rgba(20,20,30,0.55);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: jd-mfade 0.2s ease;
}
@keyframes jd-mfade { from { opacity: 0; } to { opacity: 1; } }
.jd-modal {
  background: var(--surface);
  border-radius: var(--r-xl);
  max-width: 640px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  animation: jd-mslide 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes jd-mslide {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.jd-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink-2);
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.jd-modal-close svg { width: 14px; height: 14px; }
.jd-modal-close:hover { background: var(--paper); }

.jd-modal-head {
  display: flex; align-items: center; gap: 12px;
  padding: 24px 28px 18px;
  border-bottom: 1px solid var(--line-soft);
}
.jd-modal-logo {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  color: white;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.jd-modal-job { font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.jd-modal-co { font-size: 12px; color: var(--ink-3); margin-top: 2px; }

.jd-modal-progress {
  display: flex;
  padding: 18px 28px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--paper);
  gap: 14px;
}
.jd-modal-step {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px;
  color: var(--ink-muted);
  letter-spacing: 0.06em;
  font-weight: 600;
  text-transform: uppercase;
  flex: 1;
  min-width: 0;
}
.jd-modal-step-num {
  width: 24px; height: 24px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink-3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
  transition: all 0.2s;
}
.jd-modal-step.is-on { color: var(--ink-2); }
.jd-modal-step.is-on .jd-modal-step-num { background: var(--live); border-color: var(--live); color: white; }
.jd-modal-step.is-cur { color: var(--asb-orange); }
.jd-modal-step.is-cur .jd-modal-step-num { background: var(--asb-orange); border-color: var(--asb-orange); color: white; box-shadow: 0 0 0 4px rgba(245,130,32,0.18); }

.jd-modal-body { padding: 24px 28px; }
.jd-modal-prefilled {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-mist);
  border: 1px solid var(--gold-soft);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12px;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 18px;
}
.jd-modal-spark { display: flex; }
.jd-modal-spark svg { width: 14px; height: 14px; }

.jd-field { margin-bottom: 14px; }
.jd-field-label { font-size: 12px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.jd-input, .jd-textarea {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s;
  resize: vertical;
}
.jd-input:focus, .jd-textarea:focus { border-color: var(--asb-orange); }

.jd-cv-pick { margin-top: 6px; }
.jd-cv-opts { display: flex; flex-direction: column; gap: 8px; }
.jd-cv-opt {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all 0.15s;
}
.jd-cv-opt input { accent-color: var(--asb-orange); }
.jd-cv-opt > div { flex: 1; }
.jd-cv-opt.is-on { border-color: var(--asb-orange); background: rgba(245,130,32,0.04); }
.jd-cv-opt-title { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.jd-cv-opt-sub { font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }
.jd-cv-opt-badge {
  background: var(--asb-orange);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 4px;
}

.jd-modal-q { margin-bottom: 18px; }
.jd-modal-hint { font-size: 11.5px; color: var(--ink-3); margin-top: 4px; }
.jd-modal-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.jd-modal-pill {
  background: var(--paper);
  border: 1.5px solid var(--line);
  color: var(--ink-2);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.15s;
}
.jd-modal-pill.is-on { background: var(--asb-navy); border-color: var(--asb-navy); color: var(--paper); }
.jd-modal-ai-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent;
  border: 1px dashed var(--gold-deep);
  color: var(--gold-deep);
  border-radius: 100px;
  padding: 6px 14px;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
}
.jd-modal-ai-btn svg { width: 12px; height: 12px; }

.jd-modal-review {
  background: var(--paper);
  border-radius: var(--r-md);
  padding: 16px 20px;
  margin-bottom: 16px;
}
.jd-modal-review-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0;
  font-size: 13px;
  color: var(--ink-3);
  border-top: 1px dashed var(--line-soft);
}
.jd-modal-review-row:first-child { border-top: none; padding-top: 0; }
.jd-modal-review-row b { font-weight: 700; color: var(--ink); }

.jd-modal-consent {
  display: flex; gap: 10px; align-items: start;
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.5;
}
.jd-modal-consent input { accent-color: var(--asb-orange); margin-top: 3px; flex-shrink: 0; }

.jd-modal-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 28px;
  border-top: 1px solid var(--line-soft);
  background: var(--paper);
  gap: 12px;
}

/* success state */
.jd-modal-success { text-align: center; padding: 40px 28px; }
.jd-success-burst {
  position: relative;
  width: 80px; height: 80px;
  margin: 0 auto 18px;
}
.jd-success-circle {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--live);
  color: white;
  font-size: 38px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  animation: jd-success-pop 0.5s cubic-bezier(0.2, 1.4, 0.4, 1);
  box-shadow: 0 0 0 0 rgba(82,162,46,0.4);
}
.jd-success-circle::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--live);
  opacity: 0;
  animation: jd-success-ring 1.6s ease-out infinite;
}
@keyframes jd-success-pop {
  0%   { transform: scale(0); }
  100% { transform: scale(1); }
}
@keyframes jd-success-ring {
  0%   { opacity: 0.6; transform: scale(0.8); }
  80%, 100% { opacity: 0; transform: scale(1.6); }
}
.jd-success-title {
  font-family: var(--font-bn);
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
body.lang-en .jd-success-title { font-family: var(--font-display); }
.jd-success-sub { font-size: 14px; color: var(--ink-3); margin-bottom: 22px; max-width: 380px; margin-left: auto; margin-right: auto; }
.jd-success-stats {
  display: flex; justify-content: center; gap: 24px;
  padding: 16px;
  background: var(--paper);
  border-radius: var(--r-md);
  margin-bottom: 22px;
}
.jd-success-stats > div { font-size: 11px; color: var(--ink-3); letter-spacing: 0.04em; }
.jd-success-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 2px;
}
body.lang-bn .jd-success-stats strong { font-family: var(--font-bn); font-weight: 700; }
.jd-success-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
