/* =========================================================
   SSC WORKS — HALAMAN DETAIL LOWONGAN (/lowongan/...)
   Paste ke Additional CSS (Appearance → Customize → Additional CSS).
   Hanya berlaku di halaman detail lowongan (body.single-ssc_job),
   tidak mengubah halaman lain. Form apply TETAP diproses plugin
   Lowongan seperti biasa — ini hanya tampilan.
   ========================================================= */

body.single-ssc_job{
  --jd-navy:#0f2a6b;
  --jd-navy-deep:#0a1f55;
  --jd-red:#c0392b;
  --jd-red-dark:#a93226;
  --jd-muted:#4a5266;
  --jd-line:#e3e6ec;
  --jd-soft:#f5f6f8;
  --jd-font:'Montserrat','Helvetica Neue',Arial,sans-serif;
}

/* ---------- latar: pita navy lembut di atas, lalu putih ---------- */
body.single-ssc_job #content,
body.single-ssc_job .site-content{
  background:
    radial-gradient(900px 340px at 80% 0%, rgba(47,107,220,.10), transparent 70%),
    linear-gradient(180deg, #eef2fb 0px, #f7f8fb 360px, #ffffff 620px) !important;
}
body.single-ssc_job #content *:not(i):not([class*="icon"]):not([class*="dashicons"]){
  font-family:var(--jd-font) !important;
}
body.single-ssc_job #content{ -webkit-font-smoothing:antialiased; }

/* ---------- breadcrumb ---------- */
body.single-ssc_job #content nav a,
body.single-ssc_job #content [class*="breadcrumb"] a{
  color:var(--jd-muted) !important; font-weight:600 !important; text-decoration:none !important;
  transition:color .25s ease;
}
body.single-ssc_job #content nav a:hover,
body.single-ssc_job #content [class*="breadcrumb"] a:hover{ color:var(--jd-red) !important; }
body.single-ssc_job #content [class*="breadcrumb"]{ font-size:.82rem !important; }

/* ---------- judul lowongan ---------- */
body.single-ssc_job #content h1{
  font-weight:800 !important;
  font-size:clamp(34px, 4.4vw, 56px) !important;
  line-height:1.08 !important;
  letter-spacing:-.015em !important;
  color:var(--jd-navy) !important;
  margin-bottom:16px !important;
}

/* ---------- tag (kategori & tipe) ---------- */
body.single-ssc_job #content [class*="tag"]:not([class*="tags"]):not(input),
body.single-ssc_job #content [class*="badge"],
body.single-ssc_job #content [class*="pill"],
body.single-ssc_job #content [class*="chip"]{
  display:inline-flex !important; align-items:center;
  padding:6px 12px !important;
  border-radius:6px !important;
  border:0 !important;
  background:#eef2fb !important;
  color:var(--jd-navy) !important;
  font-size:.72rem !important; font-weight:800 !important;
  letter-spacing:.06em !important; text-transform:uppercase !important;
  box-shadow:none !important;
}
/* tag pertama = kategori → navy solid */
body.single-ssc_job #content [class*="tags"] > :first-child,
body.single-ssc_job #content [class*="badges"] > :first-child{
  background:var(--jd-navy) !important; color:#fff !important;
}

/* ---------- meta (lokasi, tanggal posting) ---------- */
body.single-ssc_job #content [class*="meta"]{
  color:var(--jd-muted) !important; font-weight:600 !important; font-size:.88rem !important;
}
body.single-ssc_job #content [class*="meta"] svg{ color:var(--jd-red) !important; }

/* ---------- kartu form "Apply for This Position" ---------- */
body.single-ssc_job #content form{
  position:relative;
}
body.single-ssc_job #content [class*="apply"]:not(button):not(input):not(a){
  background:#fff !important;
  border:1px solid var(--jd-line) !important;
  border-radius:18px !important;
  box-shadow:0 24px 50px rgba(10,31,85,.10) !important;
  overflow:hidden;
}
/* garis aksen merah di atas kartu */
body.single-ssc_job #content [class*="apply"]:not(button):not(input):not(a)::before{
  content:""; display:block; height:4px; margin:-1px -1px 0;
  background:linear-gradient(90deg, var(--jd-red), #e06a5b);
}
body.single-ssc_job #content [class*="apply"] h2,
body.single-ssc_job #content [class*="apply"] h3,
body.single-ssc_job #content form h2,
body.single-ssc_job #content form h3{
  font-weight:800 !important;
  font-size:1.35rem !important;
  color:var(--jd-navy) !important;
  letter-spacing:-.005em !important;
}
body.single-ssc_job #content [class*="apply"] p{ color:var(--jd-muted) !important; line-height:1.65 !important; }

/* label */
body.single-ssc_job #content form label{
  font-size:.72rem !important; font-weight:800 !important;
  letter-spacing:.1em !important; text-transform:uppercase !important;
  color:var(--jd-navy) !important;
}

/* input */
body.single-ssc_job #content form input[type="text"],
body.single-ssc_job #content form input[type="email"],
body.single-ssc_job #content form input[type="tel"],
body.single-ssc_job #content form input[type="url"],
body.single-ssc_job #content form input[type="number"],
body.single-ssc_job #content form select,
body.single-ssc_job #content form textarea{
  width:100% !important;
  padding:13px 15px !important;
  border:1px solid var(--jd-line) !important;
  border-radius:10px !important;
  background:var(--jd-soft) !important;
  color:#1f2533 !important;
  font-size:.95rem !important;
  box-shadow:none !important;
  transition:border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
body.single-ssc_job #content form input:focus,
body.single-ssc_job #content form select:focus,
body.single-ssc_job #content form textarea:focus{
  outline:none !important;
  background:#fff !important;
  border-color:var(--jd-navy) !important;
  box-shadow:0 0 0 3px rgba(15,42,107,.12) !important;
}

/* upload CV */
body.single-ssc_job #content form input[type="file"]{
  width:100% !important;
  padding:16px !important;
  border:2px dashed #c9cfda !important;
  border-radius:12px !important;
  background:#fafbfd !important;
  color:var(--jd-muted) !important;
  font-size:.85rem !important;
  cursor:pointer;
  transition:border-color .25s ease, background .25s ease;
}
body.single-ssc_job #content form input[type="file"]:hover{ border-color:var(--jd-navy) !important; background:#eef2fb !important; }
body.single-ssc_job #content form input[type="file"]::file-selector-button{
  margin-right:14px; padding:9px 16px;
  border:0; border-radius:7px;
  background:var(--jd-navy); color:#fff;
  font-family:var(--jd-font); font-size:.8rem; font-weight:700;
  cursor:pointer; transition:background .25s ease;
}
body.single-ssc_job #content form input[type="file"]::file-selector-button:hover{ background:var(--jd-navy-deep); }
/* area drop custom dari plugin (jika ada) */
body.single-ssc_job #content form [class*="upload"]:not(input):not(label),
body.single-ssc_job #content form [class*="dropzone"]{
  border:2px dashed #c9cfda !important;
  border-radius:12px !important;
  background:#fafbfd !important;
}

/* tombol kirim */
body.single-ssc_job #content form button[type="submit"],
body.single-ssc_job #content form input[type="submit"],
body.single-ssc_job #content form .button,
body.single-ssc_job #content form [class*="submit"]:is(button, a, input){
  width:100% !important;
  padding:15px 24px !important;
  border:0 !important;
  border-radius:8px !important;
  background:var(--jd-red) !important;
  color:#fff !important;
  font-size:.92rem !important; font-weight:800 !important;
  letter-spacing:.04em !important; text-transform:uppercase !important;
  box-shadow:0 10px 22px rgba(192,57,43,.28) !important;
  cursor:pointer;
  transition:background .25s ease, transform .25s ease, box-shadow .25s ease !important;
}
body.single-ssc_job #content form button[type="submit"]:hover,
body.single-ssc_job #content form input[type="submit"]:hover,
body.single-ssc_job #content form .button:hover{
  background:var(--jd-red-dark) !important;
  transform:translateY(-1px);
  box-shadow:0 14px 28px rgba(192,57,43,.35) !important;
}

/* ---------- deskripsi lowongan (kolom kanan) ---------- */
body.single-ssc_job #content .entry-content,
body.single-ssc_job #content [class*="description"],
body.single-ssc_job #content [class*="content"] > p{
  color:#3a4152 !important;
  font-size:1rem !important;
  line-height:1.85 !important;
}
body.single-ssc_job #content .entry-content strong,
body.single-ssc_job #content [class*="description"] strong{ color:var(--jd-navy) !important; }
body.single-ssc_job #content .entry-content a,
body.single-ssc_job #content [class*="description"] a{ color:var(--jd-red) !important; font-weight:700 !important; }
body.single-ssc_job #content .entry-content h2,
body.single-ssc_job #content .entry-content h3,
body.single-ssc_job #content [class*="description"] h2,
body.single-ssc_job #content [class*="description"] h3{
  font-weight:800 !important; color:var(--jd-navy) !important; margin-top:1.6em !important;
}
body.single-ssc_job #content .entry-content ul li,
body.single-ssc_job #content [class*="description"] ul li{ margin-bottom:.5em; }
body.single-ssc_job #content .entry-content img,
body.single-ssc_job #content [class*="description"] img{
  border-radius:16px !important;
  box-shadow:0 22px 46px rgba(10,31,85,.16) !important;
  height:auto;
}

/* ---------- mobile ---------- */
@media (max-width:768px){
  body.single-ssc_job #content h1{ font-size:2rem !important; }
  body.single-ssc_job #content [class*="apply"]:not(button):not(input):not(a){ border-radius:14px !important; }
}
