.job-detail-page { position: relative; min-height: 70vh; padding: 38px 0 92px; overflow: hidden; background: linear-gradient(180deg, #fbfafb 0, #f7f8fb 46%, #fff 100%); }
.job-detail-glow { position: absolute; border-radius: 50%; pointer-events: none; }
.job-detail-glow-one { top: 40px; right: -170px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(167,25,48,.1), transparent 68%); }
.job-detail-glow-two { top: 430px; left: -210px; width: 480px; height: 480px; background: radial-gradient(circle, rgba(223,190,146,.13), transparent 68%); }
.job-breadcrumb { display: flex; align-items: center; gap: 9px; margin-bottom: 25px; color: #8c94a3; font-size: 12px; font-weight: 650; }
.job-breadcrumb a { color: #687286; text-decoration: none; transition: color .2s; }
.job-breadcrumb a:hover { color: var(--sj-primary); }
.job-breadcrumb > i { font-size: 9px; }
.job-detail-loading { min-height: 640px; }
.detail-skeleton { position: relative; overflow: hidden; background: #e9ebf0; border-radius: 25px; }
.detail-skeleton::after { position: absolute; inset: 0; content: ''; background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.65) 45%, transparent 70%); animation: detailShimmer 1.4s infinite; transform: translateX(-100%); }
@keyframes detailShimmer { to { transform: translateX(100%); } }
.detail-skeleton-wide { height: 300px; }
.detail-skeleton-body { height: 490px; }
.detail-skeleton-side { height: 390px; }
.job-detail-state { max-width: 610px; margin: 70px auto 120px; padding: 48px 28px; text-align: center; background: rgba(255,255,255,.9); border: 1px solid var(--sj-line); border-radius: 28px; box-shadow: 0 22px 60px rgba(23,32,51,.08); }
.job-detail-state-icon { display: grid; width: 62px; height: 62px; margin: 0 auto 18px; place-items: center; color: var(--sj-primary); background: var(--sj-primary-soft); border-radius: 20px; font-size: 28px; }
.job-detail-state h1 { margin-bottom: 10px; color: var(--sj-ink); font-size: 25px; font-weight: 800; }
.job-detail-state p { margin: 0 auto 22px; color: var(--sj-muted); }
.job-detail-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 35px; margin-bottom: 30px; padding: 42px 45px; overflow: hidden; color: white; background: linear-gradient(125deg, #761326 0%, #a71930 58%, #c12c45 100%); border-radius: 28px; box-shadow: 0 12px 30px rgba(112,18,37,.12); }
.job-detail-hero::before { position: absolute; top: -150px; right: 90px; width: 330px; height: 330px; content: ''; background: rgba(255,255,255,.07); border-radius: 50%; }
.job-detail-hero::after { position: absolute; right: -45px; bottom: -120px; width: 250px; height: 250px; content: ''; background: rgba(255,255,255,.06); border-radius: 50%; }
.job-detail-hero-main, .job-detail-date-box { position: relative; z-index: 1; }
.job-detail-status { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; color: #fbfff9; background: rgba(31,74,44,.3); border: 1px solid rgba(196,239,204,.27); border-radius: 999px; font-size: 11px; font-weight: 750; backdrop-filter: blur(12px); }
.job-detail-status span { width: 7px; height: 7px; background: #78e68e; border-radius: 50%; box-shadow: 0 0 0 4px rgba(120,230,142,.14); }
.job-detail-status.closed { color: #fff; background: rgba(39,31,33,.31); border-color: rgba(255,255,255,.17); }
.job-detail-status.closed span { background: #c7c8cc; box-shadow: none; }
.job-detail-status.notice { background: rgba(66,72,106,.34); border-color: rgba(225,229,255,.22); }
.job-detail-status.notice span { background: #bbc5ff; box-shadow: 0 0 0 4px rgba(187,197,255,.14); }
.job-detail-updated { color: rgba(255,255,255,.72); font-size: 11px; font-weight: 600; }
.job-detail-updated i { margin-right: 4px; }
.job-detail-kicker { margin: 23px 0 7px; color: rgba(255,255,255,.68); font-size: 12px; font-weight: 650; }
.job-detail-hero h1 { max-width: 760px; margin: 0; color: white; font-size: clamp(29px, 3vw, 44px); font-weight: 850; line-height: 1.25; letter-spacing: -.8px; }
.job-detail-hero-meta { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 24px; color: rgba(255,255,255,.86); font-size: 12px; }
.job-detail-hero-meta > span { display: inline-flex; align-items: center; gap: 7px; }
.job-detail-hero-meta i { color: #f2c8cf; font-size: 14px; }
.job-detail-date-box { display: flex; min-width: 245px; align-self: center; align-items: center; gap: 13px; padding: 15px 17px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.16); border-radius: 17px; backdrop-filter: blur(14px); }
.date-box-icon { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; color: #8f1930; background: rgba(255,255,255,.92); border-radius: 13px; font-size: 18px; }
.job-detail-date-box div { display: flex; min-width: 0; flex-direction: column; }
.job-detail-date-box small { color: rgba(255,255,255,.65); font-size: 10px; }
.job-detail-date-box strong { margin-top: 2px; color: white; font-size: 12px; }
.job-detail-facts { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-bottom: 18px; }
.job-detail-facts > div { display: flex; align-items: center; gap: 13px; padding: 17px 19px; background: white; border: 1px solid var(--sj-line); border-radius: 18px; box-shadow: 0 9px 25px rgba(23,32,51,.045); }
.fact-icon { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border-radius: 13px; font-size: 18px; }
.fact-icon.salary { color: #11865c; background: #eaf8f2; }
.fact-icon.vacancy { color: #5967b0; background: #eef0fb; }
.job-detail-facts p { display: flex; min-width: 0; margin: 0; flex-direction: column; }
.job-detail-facts small { color: var(--sj-muted); font-size: 10px; }
.job-detail-facts strong { overflow: hidden; margin-top: 2px; color: var(--sj-ink); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.job-content-card, .job-document-card, .job-contact-card { background: white; border: 1px solid var(--sj-line); border-radius: 23px; box-shadow: 0 12px 35px rgba(23,32,51,.05); }
.job-content-section { padding: 31px 34px; }
.job-content-section + .job-content-section { border-top: 1px solid #eceef2; }
.job-section-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 20px; }
.job-section-heading > span { display: grid; width: 43px; height: 43px; flex: 0 0 auto; place-items: center; color: var(--sj-primary); background: var(--sj-primary-soft); border-radius: 13px; font-size: 18px; }
.job-section-heading > div { display: flex; flex-direction: column; }
.job-section-heading small { color: var(--sj-primary); font-size: 8px; font-weight: 850; letter-spacing: 1.4px; }
.job-section-heading h2 { margin: 1px 0 0; color: var(--sj-ink); font-size: 18px; font-weight: 800; }
.job-rich-text { color: #525d70; font-size: 13px; line-height: 1.9; white-space: pre-line; overflow-wrap: anywhere; }
.job-rich-text.is-empty { color: #9097a5; font-style: italic; }
.exam-info-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.exam-info-grid > div { padding: 16px 18px; background: #f8f9fb; border: 1px solid #eef0f4; border-radius: 15px; }
.exam-info-grid small { color: var(--sj-primary); font-size: 10px; font-weight: 750; }
.exam-info-grid p { margin: 7px 0 0; color: #525d70; font-size: 12px; line-height: 1.65; white-space: pre-line; }
.job-document-card, .job-contact-card { margin-top: 18px; padding: 26px 28px; }
.job-document-head, .job-document-head > div { display: flex; align-items: center; }
.job-document-head { justify-content: space-between; gap: 18px; }
.job-document-head > div { gap: 12px; }
.job-document-head small { color: var(--sj-muted); font-size: 9px; }
.job-document-head h2 { margin: 1px 0 0; color: var(--sj-ink); font-size: 16px; font-weight: 800; }
.pdf-icon { display: grid; width: 43px; height: 43px; place-items: center; color: #c92e45; background: #fff0f2; border-radius: 13px; font-size: 20px; }
.btn-document { color: var(--sj-primary); background: var(--sj-primary-soft); border: 1px solid rgba(167,25,48,.12); border-radius: 12px; font-size: 11px; font-weight: 750; }
.btn-document.is-disabled { color: #939aa6; background: #f1f2f4; border-color: #e1e3e7; box-shadow: none; cursor: not-allowed; opacity: .72; pointer-events: none; }
.job-document-preview { margin-top: 20px; overflow: hidden; background: #f3f4f7; border: 1px solid #e5e7ec; border-radius: 16px; }
.job-document-preview iframe { display: block; width: 100%; height: 570px; background: white; border: 0; }
.job-document-preview iframe[hidden] { display: none; }
.job-document-missing { display: flex; min-height: 390px; align-items: center; justify-content: center; padding: 42px 24px; flex-direction: column; color: #737c8d; background: linear-gradient(145deg, #fafbfc, #f1f3f6); text-align: center; }
.job-document-missing[hidden] { display: none; }
.job-document-missing__icon { display: grid; width: 68px; height: 68px; margin-bottom: 17px; place-items: center; color: #9a5965; background: #f8e9ec; border-radius: 22px; font-size: 31px; }
.job-document-missing strong { color: #3f4858; font-size: 18px; font-weight: 800; }
.job-document-missing p { max-width: 480px; margin: 8px 0 0; font-size: 12px; line-height: 1.7; }
.document-preview-note { padding: 10px 13px; color: #737c8d; background: #fafbfc; border-top: 1px solid #e8eaee; font-size: 10px; }
.document-preview-note i { margin-right: 5px; color: var(--sj-primary); }
.job-contact-card .job-section-heading { margin-bottom: 18px; }
.job-contact-grid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); gap: 20px; }
.contact-address { display: flex; align-items: flex-start; gap: 10px; padding: 16px; background: #f8f9fb; border-radius: 15px; }
.contact-address > i { color: var(--sj-primary); font-size: 18px; }
.contact-address p { margin: 0; color: #596476; font-size: 11px; line-height: 1.7; white-space: pre-line; }
.contact-links { display: grid; gap: 7px; }
.contact-links a { display: flex; min-width: 0; align-items: center; gap: 9px; color: #596476; font-size: 11px; text-decoration: none; }
.contact-links a i { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; color: var(--sj-primary); background: var(--sj-primary-soft); border-radius: 9px; }
.contact-links a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.job-apply-card { position: sticky; top: 97px; padding: 31px 28px 26px; text-align: center; background: rgba(255,255,255,.94); border: 1px solid rgba(213,218,228,.92); border-radius: 23px; box-shadow: 0 20px 55px rgba(23,32,51,.09); backdrop-filter: blur(18px); }
.apply-card-icon { display: grid; width: 58px; height: 58px; margin: 0 auto 17px; place-items: center; color: white; background: linear-gradient(135deg, #8b162b, #bd2a43); border-radius: 19px; box-shadow: 0 12px 28px rgba(167,25,48,.2); font-size: 25px; transform: rotate(-3deg); }
.apply-card-label { color: var(--sj-primary); font-size: 9px; font-weight: 800; letter-spacing: .7px; }
.job-apply-card h2 { margin: 3px 0 8px; color: var(--sj-ink); font-size: 21px; font-weight: 850; }
.job-apply-card > p { margin: 0 auto 20px; color: var(--sj-muted); font-size: 11px; line-height: 1.65; }
.job-apply-button, .job-login-button { width: 100%; min-height: 47px; justify-content: center; border-radius: 13px; font-size: 12px; }
.job-apply-button.is-success { color: #28744e; background: #e8f7ef; border-color: #d0eddd; box-shadow: none; }
.job-apply-button.is-closed { color: #697181; background: #eff1f4; border-color: #e3e5e9; box-shadow: none; }
.apply-profile-link { display: inline-flex; margin-top: 13px; align-items: center; gap: 6px; color: var(--sj-primary); font-size: 11px; font-weight: 700; text-decoration: none; }
.apply-card-divider { height: 1px; margin: 23px 0 18px; background: var(--sj-line); }
.apply-checklist { display: grid; margin: 0; padding: 0; gap: 10px; text-align: left; list-style: none; }
.apply-checklist li { color: #647084; font-size: 10px; }
.apply-checklist i { margin-right: 8px; color: #28a46c; }
.job-back-link { display: flex; margin-top: 13px; align-items: center; justify-content: center; gap: 7px; color: #687286; font-size: 11px; font-weight: 650; text-decoration: none; }
.job-back-link:hover { color: var(--sj-primary); }

@media (max-width: 991.98px) {
    .job-detail-page { padding-top: 25px; }
    .job-detail-hero { grid-template-columns: 1fr; }
    .job-detail-date-box { width: max-content; max-width: 100%; }
    .job-apply-card { position: static; }
}
@media (max-width: 767.98px) {
    .job-detail-hero { gap: 24px; padding: 31px 25px; border-radius: 23px; }
    .job-detail-hero-meta { gap: 12px; }
    .job-detail-facts { grid-template-columns: 1fr; }
    .job-content-section { padding: 25px 22px; }
    .exam-info-grid, .job-contact-grid { grid-template-columns: 1fr; }
    .job-document-card, .job-contact-card { padding: 23px 20px; }
    .job-document-head { align-items: flex-start; flex-direction: column; }
    .job-document-head .btn { width: 100%; }
    .job-document-preview iframe { height: 450px; }
}
@media (max-width: 479.98px) {
    .job-breadcrumb { overflow: hidden; white-space: nowrap; }
    .job-breadcrumb span { overflow: hidden; text-overflow: ellipsis; }
    .job-detail-hero h1 { font-size: 27px; }
    .job-detail-date-box { width: 100%; min-width: 0; }
    .job-section-heading h2 { font-size: 16px; }
    .job-document-preview iframe { height: 380px; }
    .job-apply-card { padding-inline: 22px; }
}
