/* Halaman pelamar: Semua Lowongan & Riwayat Lamaran. */

/* ---------- Header: pencarian & statistik ---------- */
.pt-search {
    display: flex; align-items: center; gap: 10px; max-width: 620px; margin-top: 22px;
    background: #fff; border-radius: 999px; padding: 6px 6px 6px 18px;
    box-shadow: 0 12px 32px rgba(0,0,0,.28);
}
.pt-search > i { color: #8a93a6; }
.pt-search input[type=search] {
    flex: 1; min-width: 0; border: none; outline: none; background: transparent;
    font: inherit; font-size: 14.5px; color: var(--navy-900); padding: 8px 0;
}
.pt-search .btn { padding: 10px 24px; }
.pt-stats { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; font-size: 13.5px; color: var(--text-muted); }
.pt-stats b { color: var(--gold-400); }

.pt-stat-cards { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.pt-stat-cards > div {
    min-width: 140px; padding: 12px 18px; border-radius: 14px;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(6px);
}
.pt-stat-cards b { display: block; font-size: 24px; line-height: 1.1; color: #fff; }
.pt-stat-cards b small { font-size: 14px; color: var(--text-muted); font-weight: 600; }
.pt-stat-cards span { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .6px; }

/* ---------- Pemberitahuan ---------- */
.pt-notice {
    display: flex; align-items: center; gap: 14px; padding: 14px 18px; margin-bottom: 16px;
    background: #fff; border: 1px solid #e6e9f0; border-left: 4px solid var(--gold-500); border-radius: 14px;
    box-shadow: 0 6px 18px rgba(10,18,38,.04);
}
.pt-notice.is-warning { border-left-color: #d97706; }
.pt-notice-icon {
    width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
    background: #fbf5e2; color: var(--gold-600);
}
.pt-notice.is-warning .pt-notice-icon { background: #fef3c7; color: #b45309; }
.pt-notice-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.pt-notice-body b { font-size: 14px; color: var(--navy-900); }
.pt-notice-body span { font-size: 13px; color: #4b5568; }
.pt-notice .btn { flex-shrink: 0; }

/* ---------- Filter & hasil ---------- */
/* Bilah divisi & daftar lowongan: static/css/jobs.css (sama dengan landing). */
.pt-pills { margin-top: 24px; }
.pt-result-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 13.5px; color: #6b7280; }
.pt-result-head b { color: var(--navy-900); }
.pt-result-head a { font-weight: 700; color: #c0272d; font-size: 13px; }

/* ---------- Ikon & meta (riwayat lamaran, detail lowongan) ---------- */
.pt-job-icon {
    width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--navy-800), var(--navy-950)); color: var(--gold-400); font-size: 20px;
    box-shadow: 0 6px 16px rgba(10,18,38,.18);
}
.pt-job-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: #6b7280; }
.pt-job-meta span { display: inline-flex; align-items: center; gap: 6px; }
.pt-job-meta i { color: #a0a8b8; font-size: 12px; }
.pt-applied {
    display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 999px;
    background: #e7f9ef; color: #0f7b45; font-size: 13px; font-weight: 700; border: 1px solid #bfe9d2;
}
.pt-applied:hover { background: #d7f3e3; }
.pt-not-eligible {
    display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; cursor: help;
    background: #fff7ed; color: #b45309; font-size: 12.5px; font-weight: 700; border: 1px solid #fed7aa; white-space: nowrap;
}
.btn.disabled { opacity: .55; cursor: not-allowed; pointer-events: auto; }

/* ---------- Riwayat lamaran ---------- */
.pt-app {
    background: #fff; border: 1px solid #e6e9f0; border-radius: 16px; padding: 22px 24px;
    box-shadow: 0 1px 2px rgba(10,18,38,.04), 0 8px 24px rgba(10,18,38,.04);
}
.pt-app + .pt-app { margin-top: 16px; }
.pt-app-head { display: flex; align-items: flex-start; gap: 16px; }
.pt-app-title { flex: 1; min-width: 0; }
.pt-app-title h3 { font-size: 17px; color: var(--navy-900); margin-bottom: 6px; line-height: 1.35; }
.pt-app .stepper { margin-top: 22px; padding-top: 18px; border-top: 1px solid #f0f2f6; }

.pt-callout {
    display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 14px 16px;
    border-radius: 12px; background: #f1f5ff; border: 1px solid #dbe4ff;
}
.pt-callout-icon {
    width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
    background: #fff; color: #4338ca; box-shadow: 0 2px 6px rgba(67,56,202,.12);
}
.pt-callout-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.pt-callout-body small { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; color: #4338ca; }
.pt-callout-body b { font-size: 14.5px; color: var(--navy-900); }
.pt-callout-body span { font-size: 13px; color: #4b5568; }
.pt-callout.is-offer { background: #fffaeb; border-color: #f5e1a4; }
.pt-callout.is-offer .pt-callout-icon { color: var(--gold-600); box-shadow: 0 2px 6px rgba(184,145,42,.15); }
.pt-callout.is-offer small { color: var(--gold-600); }
.pt-callout .btn { flex-shrink: 0; }

/* ---------- Kosong ---------- */
.pt-empty {
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
    padding: 48px 20px; background: #fff; border: 1.5px dashed #dfe3eb; border-radius: 16px;
}
.pt-empty > i { font-size: 30px; color: #c7ccd6; margin-bottom: 6px; }
.pt-empty b { font-size: 16px; color: var(--navy-900); }
.pt-empty span { font-size: 13.5px; color: #6b7280; margin-bottom: 10px; }

/* ---------- Responsif ---------- */
@media (max-width: 720px) {
    .pt-search { border-radius: 16px; padding: 6px 6px 6px 14px; }
    .pt-search .btn { padding: 9px 16px; }
    .pt-notice { flex-wrap: wrap; }
    .pt-notice .btn { margin-left: 54px; }
    .pt-app { padding: 18px; }
    .pt-app-head { flex-wrap: wrap; }
    .pt-app-head .pt-job-icon { width: 44px; height: 44px; font-size: 17px; }
    .pt-app-title { flex-basis: calc(100% - 60px); }
    .pt-callout { flex-wrap: wrap; }
    .pt-callout .btn { width: 100%; justify-content: center; }
    .pt-stat-cards > div { min-width: 0; flex: 1; }
}

/* ---------- Detail lowongan (tujuan QR flyer) ---------- */
.pt-detail-meta { margin-top: 12px; color: var(--text-muted); }
.pt-detail-meta i { color: var(--gold-400); }
.pt-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.pt-detail-lead { font-size: 15px; color: var(--navy-900); font-weight: 600; margin-bottom: 18px; }
.pt-detail-h { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--navy-900); margin: 22px 0 8px; }
.pt-detail-h:first-child, .pt-detail-lead + .pt-detail-h { margin-top: 0; }
.pt-detail-h i { color: var(--gold-600); font-size: 14px; }
.pt-detail-text { font-size: 14px; color: #4b5568; line-height: 1.7; }
/* Daftar bernomor/berpoin (filter daftar_rapi): indentasi gantung, lanjutan baris sejajar dengan teks. */
.pt-detail-text .li { display: flex; gap: 6px; }
.pt-detail-text .li-mark { flex: none; min-width: 1.35em; }
.pt-detail-text .li-text { flex: 1; min-width: 0; }
.pt-detail-list { display: flex; flex-direction: column; gap: 8px; }
.pt-detail-list li { display: flex; gap: 10px; font-size: 14px; color: #4b5568; }
.pt-detail-list i { color: #16a34a; margin-top: 4px; font-size: 12px; }
.pt-detail-cta { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 10px; }
.pt-detail-cta h3 { font-size: 16px; color: var(--navy-900); }
.pt-detail-cta p { font-size: 13.5px; color: #4b5568; }
.pt-detail-cta form { margin: 0; }
.pt-detail-note { display: flex; align-items: center; gap: 8px; font-weight: 600; color: #c0272d !important; }
.pt-detail-back { margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--navy-800); display: inline-flex; gap: 8px; align-items: center; }
@media (max-width: 900px) {
    .pt-detail-grid { grid-template-columns: 1fr; }
    .pt-detail-cta { position: static; }
}

/* Halaman Kebijakan Privasi */
.privacy-doc p, .privacy-doc li { font-size: 14px; line-height: 1.7; color: #374151; }
.privacy-doc ul, .privacy-doc ol { padding-left: 20px; margin: 0; }
.privacy-doc li { margin-bottom: 6px; }
.pt-declaration { display: flex; gap: 9px; align-items: flex-start; margin: 4px 0 14px; font-size: 12.5px; line-height: 1.55; color: #4b5563; cursor: pointer; text-align: left; }
.pt-declaration input { width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; accent-color: #166534; }
.pt-detail-share { margin: 18px 0 4px; padding-top: 16px; border-top: 1px solid #eef0f4; }
.pt-detail-share .share-bar { flex-direction: column; align-items: flex-start; gap: 10px; }
.privacy-doc > p { margin-bottom: 10px; }
.privacy-doc ul, .privacy-doc ol { margin-bottom: 10px; }
.privacy-contact { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: 10px; background: #f6f7f9; border: 1px solid #e6e9f0; font-size: 14px; color: #374151; }
.privacy-contact i { width: 16px; color: #6b7280; margin-right: 6px; }
.privacy-meta { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 22px; padding-top: 14px; border-top: 1px solid #e6e9f0; font-size: 13px; color: #6b7280; }
.privacy-meta b { color: #374151; }

/* ---------- Kebijakan Privasi (karier/privacy.html) ----------
   Teks hukumnya tidak boleh diubah di sini -- hanya tata letak. */
.pv-band-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pv-band-meta span {
    display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #e5e7eb; font-size: 12.5px; font-weight: 600;
}
.pv-band-meta i { color: var(--gold-400); font-size: 12px; }

.pv-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
.pv-toc { position: sticky; top: 98px; }
.pv-toc-card {
    background: #fff; border: 1px solid #e6e9f0; border-radius: 16px; padding: 18px 14px;
    box-shadow: 0 1px 2px rgba(10,18,38,.04), 0 8px 24px rgba(10,18,38,.04);
}
.pv-toc-title { display: flex; align-items: center; gap: 8px; padding: 0 8px 10px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--navy-900); }
.pv-toc-title i { color: var(--gold-600); }
.pv-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.pv-toc a {
    display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 10px;
    color: #4b5563; font-size: 13.5px; font-weight: 600; text-decoration: none; transition: background .15s, color .15s;
}
.pv-toc a span {
    flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
    background: #f1f3f8; color: var(--navy-800); font-size: 12px; font-weight: 800;
}
.pv-toc a:hover, .pv-toc a:focus-visible { background: #fbf5e2; color: var(--navy-900); outline: none; }
.pv-toc a:hover span, .pv-toc a:focus-visible span { background: var(--gold-500); color: var(--navy-950); }
.pv-toc a.is-active { background: var(--navy-900); color: #fff; }
.pv-toc a.is-active span { background: var(--gold-500); color: var(--navy-950); }

.pv-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.pv-intro {
    position: relative; padding: 24px 26px 18px 30px; border-radius: 16px; overflow: hidden;
    background: linear-gradient(135deg, #fffdf6, #fff); border: 1px solid #f1e3b5;
}
.pv-intro::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: linear-gradient(180deg, var(--gold-400), var(--gold-600)); }
.pv-intro p { font-size: 14.5px; line-height: 1.75; color: #374151; margin: 0 0 10px; }

.pv-sec {
    scroll-margin-top: 98px; background: #fff; border: 1px solid #e6e9f0; border-radius: 16px; padding: 22px 26px 12px;
    box-shadow: 0 1px 2px rgba(10,18,38,.04), 0 8px 24px rgba(10,18,38,.04);
}
.pv-sec:target { border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(212,175,55,.18), 0 8px 24px rgba(10,18,38,.06); }
.pv-sec-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid #f0f2f6; }
.pv-num {
    flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
    background: var(--navy-900); color: var(--gold-400); font-size: 15px; font-weight: 800;
}
.pv-sec-head h2 { margin: 0; font-size: 17px; line-height: 1.35; color: var(--navy-900); text-wrap: balance; }
.pv-body > p { margin: 0 0 12px; }

/* Daftar a, b, c dengan badge huruf (teks & urutan sesuai dokumen legal). */
.privacy-doc .pv-list { list-style: none; counter-reset: pv; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 8px; }
.privacy-doc .pv-list > li { counter-increment: pv; position: relative; padding: 2px 0 2px 38px; margin: 0; }
.privacy-doc .pv-list > li::before {
    content: counter(pv, lower-alpha); position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 8px;
    display: grid; place-items: center; background: #f1f3f8; color: var(--navy-800); font-size: 12.5px; font-weight: 800;
}
.privacy-doc .pv-list-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.privacy-doc .pv-list-grid > li {
    padding: 14px 14px 14px 50px; border-radius: 12px; background: #f8f9fc; border: 1px solid #eceff5;
}
.privacy-doc .pv-list-grid > li::before { left: 14px; top: 14px; background: var(--navy-900); color: var(--gold-400); }
.privacy-doc .pv-list-grid > li b { color: var(--navy-900); }

.privacy-doc .privacy-contact {
    gap: 10px; padding: 18px 20px; border-radius: 14px; border: 0;
    background: linear-gradient(135deg, var(--navy-900), var(--navy-800)); color: #e5e7eb;
}
.privacy-doc .privacy-contact b { color: #fff; font-size: 15px; }
.privacy-doc .privacy-contact i { color: var(--gold-400); }
.privacy-doc .privacy-contact a { color: var(--gold-400); font-weight: 700; }
.pv-after-contact { margin-top: 14px !important; }
.privacy-doc .privacy-meta { margin-top: 4px; padding: 14px 4px 0; }
.pv-top { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--navy-800); text-decoration: none; padding: 4px 4px 10px; }
.pv-top:hover { color: var(--gold-600); }

@media (max-width: 960px) {
    .pv-layout { grid-template-columns: 1fr; gap: 16px; }
    .pv-toc { position: static; }
    .pv-toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .pv-sec { padding: 18px 16px 8px; }
    .pv-intro { padding: 18px 16px 12px 22px; }
    .pv-toc ol, .privacy-doc .pv-list-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) { html:has(.pv-layout) { scroll-behavior: smooth; } }
