/* Halaman Karir — melengkapi home.css */
.hero-karir { min-height: min(86vh, 820px); }

.jobs { display: grid; gap: 16px; }
.job { padding: 30px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); display: flex; flex-direction: column; gap: 14px; transition: border-color .25s; }
.job:hover { border-color: color-mix(in srgb, var(--y) 60%, transparent); }
.job-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 16px; }
.job h3 { font-size: 1.6rem; font-weight: 800; }
.job-meta { margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.job-meta span { padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: .82rem; font-weight: 600; color: var(--muted); }
.job .btn { border-radius: 999px; }
.job-summary { margin: 0; color: var(--muted); max-width: 70ch; }
.job-req { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.job-req li { display: flex; gap: 10px; }
.job-req li::before { content: ''; flex: none; width: 7px; height: 7px; margin-top: .6em; border-radius: 50%; background: var(--y); }
.theme-putih .job-req li::before, .theme-kuning .job-req li::before { background: var(--k); }
.job-empty { padding: 40px 30px; border: 1px dashed var(--line); border-radius: var(--r-card); text-align: center; }
.job-empty h3 { font-size: 1.4rem; margin-bottom: 8px; }
.job-empty p { margin: 0 auto; color: var(--muted); max-width: 52ch; }

.apply-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.apply-wrap .section-head { margin: 0; position: sticky; top: 110px; }
.apply-points { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; font-weight: 600; }
.apply-points li::before { content: '✓'; margin-right: 10px; color: var(--y); font-weight: 800; }
.theme-putih .apply-points li::before, .theme-kuning .apply-points li::before { color: inherit; }
.apply-form, .apply-done { background: var(--w); color: var(--k); border-radius: var(--r-card); padding: 32px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .55); }
.apply-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: .92rem; }
.apply-form small { font-weight: 500; color: #6A6A63; }
.apply-form input:not([type=checkbox]):not([type=file]), .apply-form select, .apply-form textarea { min-height: 50px; padding: 12px 14px; border: 1px solid #D6D6CF; border-radius: min(var(--r-btn), 12px); font: 500 1rem var(--font-body); background: var(--w); color: var(--k); width: 100%; }
.apply-form textarea { resize: vertical; }
.apply-form input:focus, .apply-form select:focus, .apply-form textarea:focus { outline: none; border-color: var(--k); box-shadow: 0 0 0 4px color-mix(in srgb, var(--y) 60%, transparent); }
.apply-form [aria-invalid=true] { border-color: #B42318 !important; }
.file-drop { position: relative; flex-direction: row !important; align-items: center; gap: 14px !important; padding: 18px; border: 2px dashed #C9C9C1; border-radius: min(var(--r-card), 16px); cursor: pointer; transition: border-color .2s, background .2s; }
.file-drop:hover, .file-drop:focus-within, .file-drop.has-file { border-color: var(--k); background: color-mix(in srgb, var(--y) 18%, transparent); }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-icon { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--y); color: var(--k); }
.file-icon svg { width: 24px; height: 24px; }
.file-text { display: flex; flex-direction: column; min-width: 0; }
.file-text b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.consent { flex-direction: row !important; align-items: flex-start; gap: 12px !important; font-weight: 500 !important; font-size: .88rem !important; color: #3A3A35; }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--k); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 0; min-height: 1.2em; color: #B42318; font-weight: 700; font-size: .92rem; }
.apply-form .btn { border-radius: 999px; background: var(--k); color: var(--y); }
.apply-form .btn:disabled { opacity: .6; cursor: progress; transform: none; }
.apply-done { align-items: center; text-align: center; padding: 56px 32px; }
.apply-done h3 { font-size: 1.8rem; }
.apply-done p { margin: 0; color: #55554E; max-width: 40ch; }
.done-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--y); font-size: 1.8rem; font-weight: 800; }

@media (max-width: 980px) {
  .apply-wrap { grid-template-columns: 1fr; gap: 32px; }
  .apply-wrap .section-head { position: static; }
}
@media (max-width: 560px) {
  .job, .apply-form { padding: 22px; }
}
