/* ==========================================================================
   Karir Web V2.1 — daftar, detail, formulir lamaran, cek status.
   Dibangun di atas kit halaman dalam v21.css (v21_pagehead, .v21-panel*,
   .v21-layout, .v21-acard*) agar sama dengan daftar paket (/umroh).
   Semua kelas berawalan v21-cr-. ID dan atribut data-* yang dipakai
   careers.js ada di markup, bukan di sini.
   ========================================================================== */

.v21-cr [hidden] {
    display: none !important;
}

.v21-cr-main {
    display: grid;
    gap: 18px;
    min-width: 0;
}

/* --------------------------------------------------------------------------
   Pemberitahuan
   -------------------------------------------------------------------------- */

.v21-cr-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: .88rem;
    line-height: 1.5;
    color: var(--v21-ink-2);
    background: rgba(255, 255, 255, .78);
    box-shadow: inset 0 0 0 1px rgba(201, 162, 75, .3);
}

.v21-cr-alert .v21-ic {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    color: var(--v21-gold-ink);
}

.v21-cr-alert.is-bad {
    color: #8d1b1f;
    background: #fdf1f1;
    box-shadow: inset 0 0 0 1px #efc3c4;
}

.v21-cr-alert.is-bad .v21-ic {
    color: #8d1b1f;
}

.v21-cr-alert.is-note {
    background: rgba(243, 234, 217, .6);
}

.v21-cr-panel-alert,
.v21-panel-body > .v21-cr-alert + * {
    margin-top: 14px;
}

/* --------------------------------------------------------------------------
   Daftar lowongan
   -------------------------------------------------------------------------- */

.v21-cr-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px 14px;
    padding: 16px;
    border-bottom: 1px solid var(--v21-line);
    background: rgba(255, 255, 255, .55);
}

.v21-cr-tools .v21-lselect {
    flex: 0 1 260px;
}

.v21-cr-tools .v21-btn {
    min-height: 46px;
    border-radius: 12px;
}

.v21-cr-jobs {
    display: grid;
    gap: 12px;
}

.v21-cr-job {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px 22px;
    padding: 14px 18px 14px 14px;
    border-radius: 18px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(201, 162, 75, .26);
    transition: box-shadow .4s var(--v21-ease), transform .4s var(--v21-ease);
}

.v21-cr-job:hover {
    transform: translateY(-1px);
    box-shadow: inset 0 0 0 1px rgba(201, 162, 75, .5), 0 22px 40px -34px rgba(74, 3, 7, .5);
}

.v21-cr-job-visual {
    display: grid;
    place-items: center;
    width: 96px;
    height: 120px;
    overflow: hidden;
    border-radius: 12px;
    color: var(--v21-gold-2);
    background: linear-gradient(160deg, var(--v21-maroon), var(--v21-deep));
}

.v21-cr-job-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v21-cr-job-visual .v21-ic {
    width: 30px;
    height: 30px;
}

.v21-cr-job-body {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.v21 .v21-cr-job-body h3 {
    font-size: clamp(1.05rem, 1.4vw, 1.22rem);
}

.v21-cr-job-body h3 a:hover {
    color: var(--v21-maroon);
}

.v21-cr-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.v21-cr-pills > * {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .02em;
    color: var(--v21-gold-ink);
    background: rgba(201, 162, 75, .14);
    border: 1px solid rgba(201, 162, 75, .35);
}

.v21-cr-pills--lg > * {
    min-height: 32px;
    padding: 4px 14px;
    font-size: .84rem;
    font-weight: 500;
    color: var(--v21-ink);
    background: #fff;
}

.v21-cr-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    font-size: .84rem;
    color: var(--v21-ink-2);
}

.v21-cr-meta li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.v21-cr-meta .v21-ic {
    width: 15px;
    height: 15px;
    color: var(--v21-gold-ink);
}

.v21-cr-job-action {
    display: grid;
    justify-items: end;
    gap: 6px;
    text-align: right;
}

.v21-cr-salary-label {
    font-size: .72rem;
    color: var(--v21-ink-2);
}

.v21-cr-pay {
    font-family: var(--v21-display);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -.01em;
    color: var(--v21-maroon);
}

.v21-cr-job-action .v21-btn {
    margin-top: 4px;
}

.v21-cr-empty {
    display: grid;
    justify-items: center;
    gap: 6px;
    padding: clamp(28px, 5vw, 52px) 16px;
    text-align: center;
}

.v21-cr-empty .v21-ibox {
    margin-bottom: 6px;
}

.v21-cr-empty b {
    font-family: var(--v21-display);
    font-size: 1.1rem;
    font-weight: 700;
}

.v21-cr-empty p {
    max-width: 48ch;
    font-size: .9rem;
    color: var(--v21-ink-2);
}

.v21-cr-empty .v21-btn {
    margin-top: 8px;
}

.v21-cr-pagination div {
    display: flex;
    gap: 6px;
}

.v21-cr-pagination a {
    display: inline-grid;
    place-items: center;
    min-width: 38px;
    height: 38px;
    border-radius: 10px;
    font-weight: 600;
    color: var(--v21-ink);
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--v21-line-gold);
}

.v21-cr-pagination a[aria-current] {
    color: #fff;
    background: var(--v21-maroon);
    box-shadow: none;
}

/* --------------------------------------------------------------------------
   Detail lowongan
   -------------------------------------------------------------------------- */

.v21-cr-prose {
    font-size: .95rem;
    line-height: 1.75;
    color: var(--v21-ink-2);
    overflow-wrap: anywhere;
}

.v21-cr-back,
.v21-cr-textlink {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .88rem;
    font-weight: 600;
    color: var(--v21-maroon);
}

.v21-cr-back:hover,
.v21-cr-textlink:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.v21-cr-back .v21-ic,
.v21-cr-textlink .v21-ic {
    width: 16px;
    height: 16px;
}

.v21-cr-textlink {
    justify-content: center;
    width: 100%;
    margin-top: 12px;
}

.v21-cr-salary {
    display: grid;
    gap: 2px;
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(243, 234, 217, .7);
    box-shadow: inset 0 0 0 1px rgba(201, 162, 75, .35);
}

.v21-cr-salary span {
    font-size: .74rem;
    color: var(--v21-ink-2);
}

.v21-acard .v21-cr-alert {
    margin-top: 14px;
}

.v21-cr-poster a {
    display: grid;
    gap: 8px;
    margin-top: 6px;
}

.v21-cr-poster img {
    width: 100%;
    border-radius: 14px;
    box-shadow: inset 0 0 0 1px rgba(201, 162, 75, .3);
}

.v21-cr-poster span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--v21-maroon);
}

.v21-cr-poster .v21-ic {
    width: 15px;
    height: 15px;
}

/* --------------------------------------------------------------------------
   Formulir lamaran & cek status
   -------------------------------------------------------------------------- */

.v21-cr-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--v21-line);
    background: rgba(255, 255, 255, .55);
}

.v21-cr-steps button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: .88rem;
    font-weight: 500;
    color: var(--v21-ink-2);
    background: rgba(243, 234, 217, .45);
    box-shadow: inset 0 0 0 1px rgba(201, 162, 75, .25);
    transition: background-color .3s var(--v21-ease), color .3s var(--v21-ease), box-shadow .3s var(--v21-ease);
}

.v21-cr-steps button span {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    font-family: var(--v21-display);
    font-size: .78rem;
    font-weight: 800;
    color: var(--v21-maroon);
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--v21-line-gold);
}

.v21-cr-steps button:hover {
    color: var(--v21-maroon);
}

.v21-cr-steps button[aria-current="step"] {
    font-weight: 600;
    color: var(--v21-maroon);
    background: #fff;
    box-shadow: inset 0 0 0 2px var(--v21-maroon);
}

.v21-cr-steps button[aria-current="step"] span {
    color: #fff;
    background: linear-gradient(135deg, var(--v21-maroon-2), var(--v21-maroon));
    box-shadow: none;
}

.v21 .v21-cr-step-title {
    margin-bottom: 16px;
    font-size: 1.15rem;
}

.v21-cr-muted {
    margin: -6px 0 16px;
    font-size: .84rem;
    color: var(--v21-ink-2);
}

.v21-cr-verify .v21-cr-muted {
    margin: 0;
}

.v21-cr-verify .v21-cr-muted:empty {
    display: none;
}

.v21-cr-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.v21-cr-field {
    display: grid;
    align-content: start;
    gap: 6px;
    min-width: 0;
}

.v21-cr-field.span-all {
    grid-column: 1 / -1;
}

.v21-cr-field label,
.v21-cr-field legend {
    font-size: .82rem;
    font-weight: 600;
    color: var(--v21-ink);
}

.v21-cr-field em {
    font-style: normal;
    color: var(--v21-maroon-2);
}

.v21-cr-field :is(input:not([type="checkbox"]):not([type="file"]), select, textarea) {
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid var(--v21-line-gold);
    border-radius: 12px;
    color: var(--v21-ink);
    background: #fff;
    font: inherit;
    font-size: .95rem;
    font-weight: 400;
    line-height: 1.4;
    transition: border-color .3s var(--v21-ease), box-shadow .3s var(--v21-ease);
}

.v21-cr-field select {
    height: 48px;
    padding-top: 0;
    padding-bottom: 0;
}

.v21-cr-field textarea {
    min-height: 110px;
    resize: vertical;
}

.v21-cr-field :is(input, select, textarea):focus {
    outline: 0;
    border-color: var(--v21-maroon);
    box-shadow: 0 0 0 4px rgba(129, 4, 12, .12);
}

.v21-cr-field :is(input, select, textarea):user-invalid {
    border-color: #c94141;
    background-color: #fff5f5;
}

.v21-cr-file input[type="file"] {
    width: 100%;
    min-height: 48px;
    padding: 8px;
    border: 1.5px dashed var(--v21-line-gold);
    border-radius: 12px;
    background: #fff;
    font-size: .86rem;
    color: var(--v21-ink-2);
}

.v21-cr-file input[type="file"]::file-selector-button {
    margin-right: 12px;
    padding: 8px 14px;
    border: 0;
    border-radius: 8px;
    font: inherit;
    font-weight: 600;
    color: var(--v21-maroon);
    background: var(--v21-cream-2);
    cursor: pointer;
}

.v21-cr-skillset {
    margin: 0;
    padding: 0;
    border: 0;
}

.v21-cr-skillset legend {
    margin-bottom: 8px;
    padding: 0;
}

.v21-cr-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.v21-cr-checks label {
    position: relative;
    display: inline-flex;
    cursor: pointer;
}

.v21-cr-checks input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.v21-cr-checks span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: .86rem;
    font-weight: 500;
    color: var(--v21-ink);
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--v21-line-gold);
    transition: background-color .3s var(--v21-ease), color .3s var(--v21-ease), box-shadow .3s var(--v21-ease);
}

.v21-cr-checks input:checked + span {
    color: #fff;
    background: var(--v21-maroon);
    box-shadow: none;
}

.v21-cr-checks input:focus-visible + span {
    outline: 2px solid var(--v21-gold);
    outline-offset: 2px;
}

.v21-cr-verify {
    display: grid;
    justify-items: start;
    gap: 12px;
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(243, 234, 217, .5);
    box-shadow: inset 0 0 0 1px rgba(201, 162, 75, .35);
}

.v21-panel-body > .v21-cr-alert + .v21-cr-verify {
    margin-top: 14px;
}

.v21 .v21-cr-verify h3 {
    font-size: 1rem;
}

.v21-cr-verify p {
    font-size: .84rem;
    color: var(--v21-ink-2);
}

.v21-cr-otp {
    width: min(240px, 100%);
}

.v21-cr-otp input {
    letter-spacing: .3em;
    font-variant-numeric: tabular-nums;
}

.v21-cr-consent {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 12px;
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: .86rem;
    line-height: 1.55;
    color: var(--v21-ink-2);
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(201, 162, 75, .3);
    cursor: pointer;
}

.v21-cr-consent input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--v21-maroon);
}

.v21-cr-trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.v21-cr-form {
    position: relative;
}

.v21-cr-actions {
    justify-content: flex-end;
}

.v21-cr-actions > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: auto;
}

.v21-cr-actions .v21-ic {
    width: 16px;
    height: 16px;
}

.v21-cr-actions > span .v21-ic {
    color: var(--v21-gold-ink);
}

#career-prev {
    margin-right: auto;
}

.v21-cr-actions .v21-btn {
    min-width: 160px;
}

.v21-panel-head--mid {
    border-top: 1px solid var(--v21-line);
}

.v21-cr-result {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: .92rem;
    font-weight: 500;
    color: var(--v21-ink);
    background: #fff;
    box-shadow: inset 0 0 0 2px var(--v21-gold);
}

/* Nomor lamaran di kolom kanan kepala halaman */
.v21-cr-receipt {
    display: grid;
    gap: 4px;
    padding: 20px 22px;
    border-radius: 20px;
    text-align: center;
    background: rgba(255, 255, 255, .86);
    box-shadow: inset 0 0 0 1.5px var(--v21-gold), 0 30px 54px -44px rgba(74, 3, 7, .5);
}

.v21-cr-receipt span {
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--v21-gold-ink);
}

.v21-cr-receipt strong {
    font-family: var(--v21-display);
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 800;
    letter-spacing: .04em;
    color: var(--v21-maroon);
    overflow-wrap: anywhere;
}

.v21-cr-receipt small {
    font-size: .8rem;
    color: var(--v21-ink-2);
}

/* --------------------------------------------------------------------------
   Responsif
   -------------------------------------------------------------------------- */

@media (max-width: 860px) {
    .v21-cr-job {
        grid-template-columns: 80px minmax(0, 1fr);
    }

    .v21-cr-job-visual {
        width: 80px;
        height: 100px;
    }

    .v21-cr-job-action {
        grid-column: 1 / -1;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
        justify-items: start;
        padding-top: 12px;
        border-top: 1px dashed rgba(201, 162, 75, .45);
        text-align: left;
    }

    .v21-cr-job-action .v21-btn {
        grid-column: 2;
        grid-row: 1 / span 2;
        margin: 0;
    }
}

@media (max-width: 720px) {
    .v21-cr-tools .v21-lselect {
        flex: 1 1 100%;
    }

    .v21-cr-tools .v21-btn {
        flex: 1 1 auto;
    }

    .v21-cr-fields {
        grid-template-columns: minmax(0, 1fr);
    }

    .v21-cr-steps {
        gap: 6px;
        padding: 12px;
    }

    .v21-cr-steps button {
        flex-direction: column;
        gap: 4px;
        min-height: 60px;
        padding: 6px 4px;
        font-size: .76rem;
        line-height: 1.2;
        text-align: center;
    }

    .v21-cr-actions .v21-btn {
        flex: 1 1 auto;
        min-width: 0;
    }

    .v21-cr-actions > span {
        flex-basis: 100%;
    }
}

@media (max-width: 480px) {
    .v21-cr-job {
        grid-template-columns: minmax(0, 1fr);
    }

    .v21-cr-job-visual {
        display: none;
    }

    .v21-cr-job-action {
        grid-template-columns: minmax(0, 1fr);
    }

    .v21-cr-job-action .v21-btn {
        grid-column: 1;
        grid-row: auto;
        width: 100%;
    }
}
.v21-cr-document-wide{grid-column:1/-1}.v21-cr-document-result{margin-top:24px;scroll-margin-top:120px}.v21-cr-document-copy{white-space:pre-wrap;line-height:1.8;overflow-wrap:anywhere}.v21-cr-document-result p{overflow-wrap:anywhere}.v21-cr-document-consent{display:flex;align-items:flex-start;gap:12px;margin:20px 0}.v21-cr-document-consent input{flex:0 0 auto;margin-top:5px}.v21-cr-document-buttons{display:flex;gap:12px;flex-wrap:wrap}.v21-cr [hidden]{display:none!important}#document-response .v21-cr-field textarea{width:100%;max-width:100%}@media(max-width:600px){.v21-cr-document-buttons{flex-direction:column}.v21-cr-document-buttons button{width:100%}}
