@import "color.css";

.job-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 0 auto;
}


/* =========================
   CARD
========================= */

.job-card {
    position: relative;
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e6ebf3;
    border-radius: 20px;

    padding: 22px;

    box-shadow:
        0 2px 4px rgba(15, 23, 42, 0.02),
        0 8px 24px rgba(15, 23, 42, 0.04);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


/* accent sebelah kiri */

.job-card::before {
    content: "";

    position: absolute;

    left: 0;
    top: 20px;
    bottom: 20px;

    width: 4px;

    background: linear-gradient(to bottom,
            #4f6df5,
            #7c5cff);

    border-radius: 0 5px 5px 0;

    opacity: 0;

    transition: opacity 0.25s ease;
}


.job-card:hover {
    transform: translateY(-4px);

    border-color: #d9e1f0;

    box-shadow:
        0 8px 20px rgba(15, 23, 42, 0.06),
        0 20px 40px rgba(15, 23, 42, 0.08);
}


.job-card:hover::before {
    opacity: 1;
}

.job-process-grid>[class*="col-"] {
    display: flex;
}

.job-process-grid .job-card {
    width: 100%;
    height: 100%;
}

/* =========================
   HEADER
========================= */

.job-card-header {
    display: flex;
    align-items: center;

    gap: 14px;

    margin-bottom: 16px;
}


.job-icon {
    width: 52px;
    height: 52px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(135deg,
            #eef3ff,
            #f4f1ff);

    border: 1px solid #e4e9f5;

    border-radius: 15px;

    font-size: 24px;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .8);
}


.job-title-wrapper {
    min-width: 0;
    flex: 1;
}


.job-title-wrapper h3 {
    margin: 0 0 3px;

    color: #172554;

    font-size: 17px;
    font-weight: 700;

    line-height: 1.3;

    letter-spacing: -0.2px;
}


.job-category {
    color: #8190aa;

    font-size: 13px;

    font-weight: 500;
}


/* menu */

.job-menu {
    width: 34px;
    height: 34px;

    flex-shrink: 0;

    border: 0;

    background: transparent;

    border-radius: 10px;

    color: #9aa6ba;

    font-size: 22px;

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease;
}


.job-menu:hover {
    background: #f3f5f9;
    color: #334155;
}


/* =========================
   BADGES
========================= */

.job-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-bottom: 15px;
}


.badge {
    display: inline-flex;

    align-items: center;

    gap: 5px;

    padding: 5px 10px;

    border-radius: 999px;

    font-size: 11px;

    font-weight: 600;

    line-height: 1;
}


/* lokasi */

.badge-location {
    color: #405176;

    background: #edf2fa;

    border: 1px solid #e1e8f4;
}


/* tipe kerja */

.badge-time {
    color: #71664e;

    background: #f7f2e9;

    border: 1px solid #eee6d7;
}


/* level */

.badge-level {
    color: #637493;

    background: #f1f4f9;

    border: 1px solid #e5eaf2;
}


/* =========================
   DESCRIPTION
========================= */

.job-description {
    min-height: 58px;

    margin: 0;

    color: #71809b;

    font-size: 14px;

    line-height: 1.65;
}


/* =========================
   FOOTER
========================= */

.job-footer {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-top: 20px;

    padding-top: 17px;

    border-top: 1px solid #eef1f6;
}


.job-date {
    display: flex;

    align-items: center;

    gap: 6px;

    color: #9aa5b8;

    font-size: 12px;

    white-space: nowrap;
}


.date-icon {
    font-size: 15px;

    color: #a7b1c2;
}


/* =========================
   BUTTON
========================= */

.job-actions {
    display: flex;

    align-items: center;

    gap: 8px;
}


.job-actions a {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 38px;

    padding: 0 15px;

    border-radius: 11px;

    text-decoration: none;

    font-size: 13px;

    font-weight: 600;

    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}


/* detail */

.btn-detail {
    color: #253b70;

    background: #ffffff;

    border: 1px solid #dce4f1;
}


.btn-detail:hover {
    background: #f5f7fb;

    border-color: #cbd6e8;
}


/* apply */

.btn-apply {
    gap: 8px;

    color: #ffffff;

    background:
        linear-gradient(135deg,
            #243b7a,
            #3e5bb5);

    border: 1px solid #243b7a;

    box-shadow:
        0 4px 10px rgba(36, 59, 122, 0.18);
}


.btn-apply span {
    font-size: 16px;

    transition: transform .2s ease;
}


.btn-apply:hover {
    transform: translateY(-1px);

    box-shadow:
        0 6px 15px rgba(36, 59, 122, 0.25);
}


.btn-apply:hover span {
    transform: translateX(3px);
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 850px) {

    .job-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 520px) {

    .job-card {
        padding: 18px;

        border-radius: 17px;
    }


    .job-card-header {
        gap: 11px;
    }


    .job-icon {
        width: 46px;
        height: 46px;

        font-size: 21px;
    }


    .job-title-wrapper h3 {
        font-size: 15px;
    }


    .job-footer {
        align-items: flex-start;

        flex-direction: column;
    }


    .job-actions {
        width: 100%;
    }


    .job-actions a {
        flex: 1;
    }

}


/*////////////////////////////////////////////////////////////////////////////////////////////////////////*/

/* =====================================================
   CAREER PAGE
===================================================== */

:root {
    --career-navy: #172d63;
    --career-navy-dark: #14295a;
    --career-blue: #223b78;

    --career-cream: #e8dcc8;
    --career-bg: #f3f8fd;

    --career-text: #ffffff;
    --career-muted: #c5d0e6;

    --career-border: #d9e1ec;

    --career-container: 1180px;
}


/* =====================================================
   CONTAINER
===================================================== */

.career-container {
    width: min(calc(100% - 48px),
            var(--career-container));

    margin: 0 auto;
}


/* =====================================================
   HERO
===================================================== */

.career-hero {
    position: relative;

    min-height: 694px;

    background:
        radial-gradient(circle at 90% 15%,
            rgba(255, 255, 255, 0.16),
            transparent 32%),
        linear-gradient(115deg,
            #182e65 0%,
            #1b3470 48%,
            #344b80 100%);

    color: var(--career-text);

    overflow: visible;
}


/* subtle glow */

.career-hero::after {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -160px;
    top: -200px;

    background: rgba(255, 255, 255, .04);

    border-radius: 50%;

    pointer-events: none;
}


/* =====================================================
   HERO CONTENT
===================================================== */

.career-hero .career-container {
    position: relative;
    z-index: 2;

    min-height: 694px;

    display: flex;
    align-items: flex-start;
}


.career-content {
    width: 620px;

    padding-top: 65px;
}


/* =====================================================
   EYEBROW
===================================================== */

.career-eyebrow {
    display: inline-flex;

    align-items: center;

    padding: 7px 13px;

    margin-bottom: 22px;

    border-radius: 999px;

    background: rgba(255, 255, 255, .13);

    color: #dfe5f1;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1px;
}


/* =====================================================
   TITLE
===================================================== */

.career-content h1 {
    margin: 0 0 17px;

    max-width: 600px;

    color: #ffffff;

    font-size: clamp(42px, 5vw, 58px);

    line-height: 1.03;

    font-weight: 750;

    letter-spacing: -1.8px;
}


.career-content h1 span {
    display: block;

    color: var(--career-cream);
}


/* =====================================================
   DESCRIPTION
===================================================== */

.career-content p {
    max-width: 590px;

    margin: 0 0 10px;

    color: #d7e0f1;

    font-size: 16px;

    line-height: 1.55;
}


/* =====================================================
   BUTTONS
===================================================== */

.career-actions {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 27px;
}


.career-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 42px;

    padding: 0 19px;

    border-radius: 999px;

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;

    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}


/* primary */

.career-btn-primary {
    color: #17284f;

    background: #e9ddc8;

    box-shadow:
        0 6px 15px rgba(0, 0, 0, .08);
}


.career-btn-primary:hover {
    transform: translateY(-2px);

    background: #f0e6d4;

    box-shadow:
        0 9px 20px rgba(0, 0, 0, .15);
}


/* outline */

.career-btn-outline {
    color: #ffffff;

    border: 1px solid rgba(255, 255, 255, .55);

    background: rgba(255, 255, 255, .02);
}


.career-btn-outline:hover {
    transform: translateY(-2px);

    background: rgba(255, 255, 255, .10);

    border-color: rgba(255, 255, 255, .8);
}


/* =====================================================
   NOTE
===================================================== */

.career-note {
    margin-top: 12px;

    color: #d7e0f0;

    font-size: 13px;
}


/* =====================================================
   STATISTICS
===================================================== */

.career-statistics {
    display: flex;

    gap: 40px;

    margin-top: 39px;
}


.career-stat {
    display: flex;

    flex-direction: column;
}


.career-stat strong {
    color: #ffffff;

    font-size: 25px;

    line-height: 1.1;

    font-weight: 750;
}


.career-stat span {
    margin-top: 3px;

    color: #c1cce2;

    font-size: 12px;
}


/* =====================================================
   DECORATION
===================================================== */

.career-decoration {
    position: absolute;

    inset: 0;

    pointer-events: none;
}


.career-circle {
    position: absolute;

    border-radius: 50%;

    background: rgba(255, 255, 255, .075);

    border: 1px solid rgba(255, 255, 255, .025);
}


.circle-one {
    width: 175px;
    height: 175px;

    right: 20px;
    bottom: 181px;
}


.circle-two {
    width: 250px;
    height: 250px;

    right: -20px;
    bottom: -105px;
}


/* =====================================================
   SEARCH
===================================================== */

.career-search-wrapper {
    position: absolute;

    z-index: 10;

    left: 50%;

    bottom: -22px;

    transform: translateX(-50%);

    width: min(calc(100% - 48px),
            1000px);
}


.career-search {
    display: grid;

    grid-template-columns:
        1.5fr 1fr 1fr 1fr auto;

    gap: 10px;

    padding: 12px;

    background: #ffffff;

    border: 1px solid #e1e7ef;

    border-radius: 14px;

    box-shadow:
        0 10px 25px rgba(24, 45, 99, .08),
        0 20px 45px rgba(24, 45, 99, .08);
}


/* search input */

.career-search-input {
    display: flex;

    align-items: center;

    gap: 9px;

    height: 42px;

    padding: 0 12px;

    border: 1px solid #d6deea;

    border-radius: 9px;

    background: #ffffff;
}


.career-search-input span {
    color: #7e8ca4;

    font-size: 21px;

    line-height: 1;
}


.career-search-input input {
    width: 100%;

    border: 0;
    outline: 0;

    background: transparent;

    color: #243b6b;

    font-size: 13px;
}


.career-search-input input::placeholder {
    color: #9aa6b9;
}


/* select */

.career-search select {
    width: 100%;

    height: 42px;

    padding: 0 12px;

    border: 1px solid #d6deea;

    border-radius: 9px;

    outline: 0;

    background: #ffffff;

    color: #263c6b;

    font-size: 13px;

    cursor: pointer;
}


.career-search select:focus,
.career-search-input:focus-within {
    border-color: #9eadd0;

    box-shadow:
        0 0 0 3px rgba(49, 76, 137, .08);
}

.btn-temukan-job {
    background-color: var(--primary-second);
    color: white;
    border: none;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin: 0 auto;
    /* center jika parent lebar */
}

@media (max-width: 991.98px) {
    .btn-temukan-job {
        width: 100% !important;
        /* ⬅️ Paksa melebar penuh */
        height: auto !important;
        padding: 10px 20px !important;
        border-radius: 999px !important;
    }
}

/* =====================================================
   JOB SECTION
===================================================== */

.career-jobs {
    position: relative;

    padding: 67px 0 80px;

    background: var(--career-bg);
}


/* =====================================================
   JOB HEADING
===================================================== */

.jobs-heading {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    margin-bottom: 25px;
}


.jobs-heading>div>span {
    display: block;

    margin-bottom: 5px;

    color: #38588e;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.5px;
}


.jobs-heading h2 {
    margin: 0;

    color: #162e63;

    font-size: 29px;

    line-height: 1.2;

    font-weight: 750;

    letter-spacing: -.6px;
}


.jobs-heading small {
    color: #71819c;

    font-size: 12px;
}


/* =====================================================
   JOB GRID
===================================================== */

.job-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 900px) {

    .career-content {
        width: 100%;

        max-width: 620px;
    }

    .career-decoration {
        opacity: .5;
    }

    .career-search {
        grid-template-columns: 1fr 1fr;
    }

    .career-search-input {
        grid-column: span 2;
    }

    .job-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    .career-container {
        width: min(calc(100% - 32px), var(--career-container));
    }


    .career-hero {
        min-height: 760px;
    }


    .career-hero .career-container {
        min-height: 700px;
    }


    .career-content {
        padding-top: 42px;
    }


    .career-content h1 {
        font-size: 40px;

        letter-spacing: -1.2px;
    }


    .career-content p {
        font-size: 14px;
    }


    .career-actions {
        flex-direction: column;

        align-items: stretch;
    }


    .career-btn {
        width: 100%;
    }


    .career-statistics {
        margin-top: 30px;
    }


    .career-search-wrapper {
        position: relative;
    }


    .career-search {
        grid-template-columns: 1fr;

        padding: 10px;
    }


    .career-search-input {
        grid-column: auto;
    }


    .career-search select {
        height: 43px;
    }


    .career-jobs {
        padding-top: 70px;
    }


    .jobs-heading {
        align-items: flex-start;

        gap: 10px;

        flex-direction: column;
    }


    .jobs-heading h2 {
        font-size: 25px;
    }

}

/* =========================================================
   JOB MODAL
========================================================= */

.job-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    visibility: hidden;
    opacity: 0;

    transition:
        opacity .25s ease,
        visibility .25s ease;
}


.job-modal.is-open {
    visibility: visible;
    opacity: 1;
}


/* BACKDROP */

.job-modal-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(15, 28, 58, .65);

    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}


/* DIALOG */

.job-modal-dialog {
    position: relative;

    width: min(900px, 100%);

    max-height: calc(100vh - 48px);

    display: flex;
    flex-direction: column;

    background: #fff;

    border-radius: 28px;

    overflow: hidden;

    box-shadow:
        0 30px 80px rgba(11, 25, 55, .30);

    transform:
        translateY(25px) scale(.97);

    transition:
        transform .3s cubic-bezier(.2, .8, .2, 1);
}


.job-modal.is-open .job-modal-dialog {
    transform:
        translateY(0) scale(1);
}


/* =========================================================
   HEADER
========================================================= */

.job-modal-header {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 27px 30px;

    border-bottom: 1px solid #edf0f5;

    overflow: hidden;
}


.job-modal-header::after {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    right: -120px;
    top: -170px;

    border-radius: 50%;

    background:
        linear-gradient(135deg,
            rgba(34, 59, 111, .08),
            rgba(213, 193, 157, .20));
}


.job-modal-heading {
    position: relative;

    display: flex;
    align-items: center;

    gap: 16px;
}


.job-modal-icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 17px;

    background:
        linear-gradient(135deg,
            #edf2ff,
            #f8f3e9);

    color: #1d315e;

    font-size: 24px;
}


.job-modal-label {
    margin-bottom: 4px;

    color: #9aa5b8;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.5px;
}


.job-modal-header h2 {
    margin: 0;

    color: #162957;

    font-size: 25px;
    line-height: 1.2;

    font-weight: 800;
}


.job-modal-company {
    margin-top: 5px;

    color: #7d89a2;

    font-size: 13px;
}


/* CLOSE */

.job-modal-close {
    position: relative;
    z-index: 2;

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #e1e6ee;
    border-radius: 50%;

    background: #fff;

    color: #172957;

    font-size: 25px;

    cursor: pointer;

    transition: .2s ease;
}


.job-modal-close:hover {
    background: #f4f6f9;
    transform: rotate(90deg);
}


/* =========================================================
   BODY
========================================================= */

.job-modal-body {
    overflow-y: auto;

    padding: 28px 30px;
}


/* META */

.job-modal-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 26px;
}


.job-modal-badge {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    padding: 7px 12px;

    border-radius: 999px;

    font-size: 12px;
    font-weight: 700;
}


.job-modal-badge.location {
    background: #eef2fc;
    color: #2a3c69;
}


.job-modal-badge.time {
    background: #f5f1e9;
    color: #6d5c43;
}


.job-modal-badge.level {
    background: #f1f3f8;
    color: #65738e;
}


.job-modal-badge.status {
    background: #edf8f2;
    color: #277c49;
}


/* =========================================================
   RICH TEXT CONTENT
========================================================= */

.job-modal-content {
    color: #596984;

    font-size: 14px;

    line-height: 1.8;
}


/* heading dari RichTextField */

.job-modal-content h1,
.job-modal-content h2,
.job-modal-content h3,
.job-modal-content h4 {
    margin-top: 26px;
    margin-bottom: 10px;

    color: #172957;

    line-height: 1.35;
}


.job-modal-content h1:first-child,
.job-modal-content h2:first-child,
.job-modal-content h3:first-child,
.job-modal-content h4:first-child {
    margin-top: 0;
}


.job-modal-content h3 {
    font-size: 17px;
}


.job-modal-content p {
    margin-top: 0;
    margin-bottom: 14px;
}


.job-modal-content ul,
.job-modal-content ol {
    margin-top: 8px;
    margin-bottom: 20px;

    padding-left: 22px;
}


.job-modal-content li {
    margin-bottom: 7px;

    padding-left: 3px;
}


.job-modal-content ul li::marker {
    color: #9b8a6b;
}


.job-modal-content strong {
    color: #293a60;
}


/* =========================================================
   LOADING
========================================================= */

.job-modal-loading {
    display: none;

    min-height: 250px;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    gap: 12px;

    color: #8793a8;

    font-size: 13px;
}


.job-modal-loading.is-loading {
    display: flex;
}


.loading-spinner {
    width: 30px;
    height: 30px;

    border: 3px solid #e7ebf1;
    border-top-color: #263b6b;

    border-radius: 50%;

    animation:
        job-spin .7s linear infinite;
}


@keyframes job-spin {
    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   FOOTER
========================================================= */

.job-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding: 17px 30px;

    border-top: 1px solid #edf0f5;

    background: #fff;
}


/* COPY */

.job-copy-button {
    min-height: 48px;

    padding: 0 21px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    border: 1px solid #dce3ec;
    border-radius: 999px;

    background: #fff;

    color: #243860;

    font-size: 13px;
    font-weight: 750;

    cursor: pointer;

    transition: .2s ease;
}


.job-copy-button:hover {
    background: #f6f8fb;
}


/* APPLY */

.job-apply-button {
    min-height: 50px;

    padding: 0 25px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 15px;

    border-radius: 999px;

    background:
        linear-gradient(135deg,
            #d9c8a9,
            #cbb997);

    color: #19233c;

    text-decoration: none;

    font-size: 13px;
    font-weight: 800;

    box-shadow:
        0 8px 20px rgba(160, 139, 102, .18);

    transition: .2s ease;
}


.job-apply-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 25px rgba(160, 139, 102, .25);
}


/* =========================================================
   MOBILE MODAL
========================================================= */
/* =========================================================
   MOBILE JOB MODAL
   BOOTSTRAP-LIKE
========================================================= */

@media (max-width: 700px) {

    /* -----------------------------------------------------
       MODAL CONTAINER
    ----------------------------------------------------- */

    .job-modal {
        position: fixed;
        inset: 0;

        padding: 16px;

        display: flex;
        align-items: center;
        justify-content: center;

        overflow: hidden;
    }


    /* -----------------------------------------------------
       DIALOG
    ----------------------------------------------------- */

    .job-modal-dialog {
        position: relative;

        width: 100%;
        max-width: 100%;

        /*
         * Jangan height: 100%.
         * Biarkan dialog punya ruang dari atas & bawah.
         */
        max-height: calc(100vh - 32px);
        max-height: calc(100dvh - 32px);

        margin: 0;

        display: flex;
        flex-direction: column;

        background: #fff;

        border-radius: 20px;

        overflow: hidden;

        transform: translateY(20px) scale(.98);

        transition:
            transform .25s ease;
    }


    .job-modal.is-open .job-modal-dialog {
        transform: translateY(0) scale(1);
    }


    /* -----------------------------------------------------
       HEADER
    ----------------------------------------------------- */

    .job-modal-header {
        flex: 0 0 auto;

        padding: 20px;

        display: flex;
        align-items: flex-start;

        gap: 10px;

        border-bottom: 1px solid #edf0f5;
    }


    .job-modal-heading {
        flex: 1 1 auto;

        min-width: 0;

        display: flex;
        align-items: flex-start;

        gap: 12px;
    }


    /* -----------------------------------------------------
       ICON
    ----------------------------------------------------- */

    .job-modal-icon {
        flex: 0 0 46px;

        width: 46px;
        height: 46px;

        min-width: 46px;

        display: flex;
        align-items: center;
        justify-content: center;

        border-radius: 13px;

        font-size: 19px;
    }


    /* -----------------------------------------------------
       TITLE AREA
    ----------------------------------------------------- */

    .job-modal-heading>div:last-child {
        flex: 1 1 auto;

        min-width: 0;
    }


    .job-modal-label {
        margin-bottom: 4px;

        font-size: 9px;

        letter-spacing: 1.2px;
    }


    .job-modal-header h2 {
        margin: 0;

        font-size: 19px;
        line-height: 1.3;

        /*
         * Jangan nowrap.
         */
        white-space: normal;

        overflow: visible;

        text-overflow: unset;

        /*
         * Kalau panjang, turun.
         */
        overflow-wrap: anywhere;
        word-break: break-word;
    }


    .job-modal-company {
        margin-top: 5px;

        font-size: 12px;

        white-space: normal;

        overflow-wrap: anywhere;
        word-break: break-word;
    }


    /* -----------------------------------------------------
       CLOSE BUTTON
    ----------------------------------------------------- */

    .job-modal-close {
        flex: 0 0 40px;

        width: 40px;
        height: 40px;

        min-width: 40px;
        min-height: 40px;

        margin: 0;

        padding: 0;

        display: flex;
        align-items: center;
        justify-content: center;

        border-radius: 50%;
    }


    /* -----------------------------------------------------
       BODY
    ----------------------------------------------------- */

    .job-modal-body {
        flex: 1 1 auto;

        /*
         * Ini kunci agar body bisa scroll
         * tanpa membuat dialog keluar layar.
         */
        min-height: 0;
        min-width: 0;

        width: 100%;

        padding: 20px;

        overflow-y: auto;
        overflow-x: hidden;

        -webkit-overflow-scrolling: touch;
    }


    /* -----------------------------------------------------
       META
    ----------------------------------------------------- */

    .job-modal-meta {
        width: 100%;

        display: flex;

        flex-wrap: wrap;

        gap: 7px;

        margin-bottom: 22px;
    }


    .job-modal-badge {
        max-width: 100%;

        white-space: normal;

        overflow-wrap: anywhere;
        word-break: break-word;
    }


    /* -----------------------------------------------------
       CONTENT
    ----------------------------------------------------- */

    .job-modal-content {
        width: 100%;

        min-width: 0;
        max-width: 100%;

        font-size: 13px;
        line-height: 1.75;

        overflow-wrap: anywhere;
        word-break: break-word;
    }


    /*
     * Text
     */

    .job-modal-content p,
    .job-modal-content div,
    .job-modal-content span,
    .job-modal-content li {
        max-width: 100%;

        overflow-wrap: anywhere;
        word-break: break-word;
    }


    /*
     * Heading
     */

    .job-modal-content h1,
    .job-modal-content h2,
    .job-modal-content h3,
    .job-modal-content h4,
    .job-modal-content h5,
    .job-modal-content h6 {
        max-width: 100%;

        white-space: normal;

        overflow-wrap: anywhere;
        word-break: break-word;
    }


    /*
     * Image
     */

    .job-modal-content img {
        display: block;

        max-width: 100% !important;

        width: auto !important;

        height: auto !important;
    }


    /*
     * Iframe / video
     */

    .job-modal-content iframe,
    .job-modal-content video {
        max-width: 100% !important;

        width: 100% !important;
    }


    /*
     * Table
     */

    .job-modal-content table {
        width: 100% !important;

        max-width: 100% !important;

        table-layout: fixed;

        border-collapse: collapse;
    }


    .job-modal-content th,
    .job-modal-content td {
        max-width: 100%;

        white-space: normal !important;

        overflow-wrap: anywhere;
        word-break: break-word;
    }


    /*
     * Pre / code
     */

    .job-modal-content pre {
        max-width: 100%;

        white-space: pre-wrap;

        overflow-wrap: anywhere;
        word-break: break-word;
    }


    .job-modal-content code {
        white-space: pre-wrap;

        overflow-wrap: anywhere;
        word-break: break-word;
    }


    /* -----------------------------------------------------
       FOOTER
    ----------------------------------------------------- */

    .job-modal-footer {
        flex: 0 0 auto;

        width: 100%;

        padding: 12px 20px;

        display: flex;

        align-items: center;

        gap: 10px;

        border-top: 1px solid #edf0f5;

        background: #fff;
    }


    .job-copy-button,
    .job-apply-button {
        min-width: 0;

        max-width: 100%;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .job-modal {
        padding: 10px;
    }


    .job-modal-dialog {
        max-height: calc(100vh - 20px);
        max-height: calc(100dvh - 20px);

        border-radius: 18px;
    }


    .job-modal-header {
        padding: 17px;
    }


    .job-modal-body {
        padding: 18px;
    }


    .job-modal-footer {
        padding: 10px 17px;

        flex-direction: column;

        align-items: stretch;
    }


    .job-copy-button,
    .job-apply-button {
        width: 100%;

        min-height: 46px;
    }

}

.step {
    position: relative;
    width: 30px;
    height: 30px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    text-align: center;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 9px;
    padding-bottom: 9px;
}

/* =========================================================
   APPLICATION STATUS
   ========================================================= */

.application-status-card {
    padding: 30px 34px;
}


/* HEADER */

.application-status-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;

    margin-bottom: 24px;
}


.application-status-icon {
    flex: 0 0 48px;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #4f6df5;

    background: #f1f4ff;

    border: 1px solid #e1e7ff;

    border-radius: 14px;
}


.application-status-header h5 {
    margin: 2px 0 5px;

    color: #243b6b;

    font-size: 16px;
    font-weight: 700;
}


.application-status-header p {
    margin: 0;

    color: #7d899e;

    font-size: 13px;
    line-height: 1.6;
}


/* FORM */

.application-status-form {
    display: flex;
    align-items: center;

    gap: 10px;

    width: 100%;
}


/* EMAIL INPUT */

.application-email-input {
    flex: 1;

    height: 50px;

    display: flex;
    align-items: center;

    gap: 11px;

    padding: 0 15px;

    background: #ffffff;

    border: 1px solid #d6deea;

    border-radius: 11px;

    color: #8996aa;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}


.application-email-input:focus-within {
    border-color: #8ea0d1;

    box-shadow:
        0 0 0 4px rgba(79, 109, 245, .08);
}


.application-email-input input {
    width: 100%;

    border: 0;
    outline: 0;

    background: transparent;

    color: #263c6b;

    font-size: 13px;
}


.application-email-input input::placeholder {
    color: #a1adbf;
}


/* BUTTON */

.application-status-button {
    flex: 0 0 auto;

    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 0 22px;

    border: 0;

    border-radius: 11px;

    background: #314c89;

    color: #ffffff;

    font-size: 13px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}


.application-status-button:hover {
    background: #263f78;

    transform: translateY(-1px);

    box-shadow:
        0 7px 18px rgba(49, 76, 137, .18);
}


.application-status-button:active {
    transform: translateY(0);
}


/* NOTE */

.application-status-note {
    display: flex;
    align-items: center;

    gap: 7px;

    margin-top: 15px;

    color: #98a3b5;

    font-size: 11px;
}


.application-status-note svg {
    flex: 0 0 auto;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 575px) {

    .application-status-card {
        padding: 24px 20px;
    }


    .application-status-header {
        gap: 12px;

        margin-bottom: 20px;
    }


    .application-status-icon {
        flex-basis: 42px;

        width: 42px;
        height: 42px;

        border-radius: 12px;
    }


    .application-status-header h5 {
        font-size: 15px;
    }


    .application-status-header p {
        font-size: 12px;
    }


    .application-status-form {
        flex-direction: column;

        align-items: stretch;
    }


    .application-email-input,
    .application-status-button {
        width: 100%;

        flex: none;
    }


    .application-status-note {
        align-items: flex-start;

        line-height: 1.5;
    }

}

.badge-custom {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 600;
    line-height: 1;
    border-radius: 0.375rem;
    /* mirip bootstrap */
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
}

.education-list {
    position: relative;
}

.education-item {
    display: flex;
    position: relative;
    padding-bottom: 28px;
}

.education-item:last-child {
    padding-bottom: 0;
}

.education-timeline {
    position: relative;
    width: 46px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
}

.education-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #eaf2ff;
    color: #0d6efd;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
    z-index: 2;

    font-size: 16px;
}

.education-line {
    position: absolute;
    top: 38px;
    bottom: -2px;
    width: 2px;
    background: #e9ecef;
}

.education-content {
    flex: 1;
    margin-left: 14px;

    padding: 18px 20px;

    border: 1px solid #edf0f3;
    border-radius: 12px;

    background: #fff;

    transition: all 0.2s ease;
}

.education-content:hover {
    border-color: #cfe2ff;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.education-content h6 {
    color: #212529;
}

@media (max-width: 576px) {

    .education-content {
        padding: 14px;
    }

    .education-content>div {
        flex-direction: column;
    }

    .education-content .text-end {
        text-align: start !important;
        margin-top: 10px;
    }

}

.document-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.document-item {
    display: flex;
    align-items: center;
    gap: 16px;

    padding: 16px;

    border: 1px solid #edf0f3;
    border-radius: 14px;

    background: #fff;

    transition: all 0.2s ease;
}

.document-item:hover {
    border-color: #cfe2ff;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}


/* Icon */

.document-icon {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 22px;
}

.document-icon-cv {
    background: #eaf2ff;
    color: #0d6efd;
}

.document-icon-ijazah {
    background: #eaf8f0;
    color: #198754;
}

.document-icon-transkrip {
    background: #fff4e5;
    color: #fd7e14;
}

.document-icon-ktp {
    background: #f2edff;
    color: #6f42c1;
}

.document-icon-other {
    background: #f1f3f5;
    color: #6c757d;
}


/* Information */

.document-info {
    flex: 1;
    min-width: 0;
}

.document-info h6 {
    color: #212529;
}

.document-name {
    color: #6c757d;
    font-size: 13px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    max-width: 500px;
}

.document-meta {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-top: 6px;

    font-size: 12px;
    color: #9aa0a6;
}


/* Actions */

.document-actions {
    display: flex;
    gap: 6px;
}

.document-actions .btn {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;
}


/* Empty */

.document-empty-icon {
    width: 64px;
    height: 64px;

    margin: auto;

    border-radius: 16px;

    background: #f1f3f5;
    color: #adb5bd;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 30px;
}


@media (max-width: 576px) {

    .document-item {
        align-items: flex-start;
    }

    .document-actions {
        margin-left: auto;
    }

    .document-name {
        max-width: 180px;
    }

    .document-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
    }

}

.work-timeline {
    position: relative;
}

.work-item {
    display: flex;
    position: relative;
    padding-bottom: 30px;
}

.work-item:last-child {
    padding-bottom: 0;
}


/* Timeline */

.work-timeline-side {
    position: relative;
    width: 48px;
    flex-shrink: 0;

    display: flex;
    justify-content: center;
}

.work-icon {
    width: 40px;
    height: 40px;

    border-radius: 50%;

    background: #eaf2ff;
    color: #0d6efd;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
    z-index: 2;

    font-size: 16px;
}

.work-line {
    position: absolute;

    top: 40px;
    bottom: 0;

    width: 2px;

    background: #e9ecef;
}


/* Content */

.work-content {
    flex: 1;

    margin-left: 16px;

    padding: 18px 20px;

    border: 1px solid #edf0f3;
    border-radius: 14px;

    background: #fff;

    transition: all 0.2s ease;
}

.work-content:hover {
    border-color: #cfe2ff;

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);

    transform: translateY(-2px);
}


/* Company */

.work-company {
    color: #495057;

    font-size: 14px;

    margin-top: 3px;
}

.work-location {
    color: #8a929a;

    font-size: 13px;

    margin-top: 4px;
}


/* Period */

.work-period {
    color: #6c757d;

    font-size: 13px;
}


/* Description */

.work-description {
    margin-top: 18px;

    padding-top: 15px;

    border-top: 1px solid #f0f1f3;

    line-height: 1.7;
}


/* Footer */

.work-footer {
    margin-top: 15px;

    padding-top: 12px;

    border-top: 1px solid #f0f1f3;

    color: #9aa0a6;

    font-size: 12px;
}


/* Empty */

.work-empty-icon {
    width: 64px;
    height: 64px;

    margin: auto;

    border-radius: 16px;

    background: #f1f3f5;
    color: #adb5bd;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 30px;
}


/* Mobile */

@media (max-width: 576px) {

    .work-content {
        padding: 15px;
    }

    .work-content>.d-flex {
        flex-direction: column;
    }

    .work-period {
        text-align: left !important;

        margin-top: 5px;
    }

    .work-company {
        font-size: 13px;
    }

}

.application-timeline {
    display: flex;
    align-items: flex-start;
    width: 100%;
    padding: 15px 0 5px;
}

.timeline-step {
    position: relative;
    flex: 1;
    min-width: 0;
    text-align: center;
}


/* =========================
   CONNECTOR
========================= */

.timeline-line {
    position: absolute;
    top: 17px;
    left: 50%;
    width: 100%;
    height: 3px;
    background: #e9ecef;
    z-index: 1;
}

.timeline-step.is-done .timeline-line {
    background: #198754;
}

.timeline-step.is-current .timeline-line {
    background: #e9ecef;
}


/* =========================
   ICON
========================= */

.timeline-icon {
    position: relative;
    z-index: 2;

    width: 36px;
    height: 36px;

    margin: 0 auto 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f1f3f5;
    border: 3px solid #e9ecef;

    color: #adb5bd;

    font-size: 15px;

    transition: all .2s ease;
}


/* Status yang sudah dilewati */

.timeline-step.is-done .timeline-icon {
    background: #198754;
    border-color: #198754;
    color: #fff;
}


/* Status sekarang */

.timeline-step.is-current .timeline-icon {
    width: 42px;
    height: 42px;

    margin-top: -3px;

    background: #0d6efd;
    border-color: #0d6efd;

    color: #fff;

    box-shadow:
        0 0 0 5px rgba(13, 110, 253, .12),
        0 4px 12px rgba(13, 110, 253, .25);

    animation: currentStatusPulse 2s infinite;
}


/* =========================
   TEXT
========================= */

.timeline-content {
    padding: 0 6px;
}

.timeline-title {
    font-size: 13px;
    font-weight: 600;
    color: #6c757d;
    line-height: 1.35;
}

.timeline-step.is-done .timeline-title {
    color: #198754;
}

.timeline-step.is-current .timeline-title {
    color: #0d6efd;
    font-weight: 700;
}

.timeline-date {
    margin-top: 4px;
    font-size: 11px;
    color: #6c757d;
}

.timeline-note {
    margin: 6px auto 0;

    max-width: 150px;

    padding: 5px 8px;

    border-radius: 6px;

    background: #f8f9fa;

    color: #6c757d;

    font-size: 10px;
    line-height: 1.4;
}


/* =========================
   ANIMATION
========================= */

@keyframes currentStatusPulse {

    0% {
        box-shadow:
            0 0 0 0 rgba(13, 110, 253, .25);
    }

    70% {
        box-shadow:
            0 0 0 8px rgba(13, 110, 253, 0);
    }

    100% {
        box-shadow:
            0 0 0 0 rgba(13, 110, 253, 0);
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .application-timeline {
        display: block;
        padding: 5px 0;
    }

    .timeline-step {
        display: flex;
        text-align: left;
        min-height: 70px;
    }

    .timeline-line {
        top: 36px;
        left: 16px;

        width: 3px;
        height: calc(100% - 20px);
    }

    .timeline-icon {
        flex: 0 0 36px;
        margin: 0 15px 0 0;
    }

    .timeline-step.is-current .timeline-icon {
        flex: 0 0 42px;
        margin-top: -3px;
        margin-right: 12px;
    }

    .timeline-content {
        padding: 0;
        padding-top: 2px;
    }

    .timeline-note {
        margin: 5px 0 0;
        max-width: none;
    }
}

.timeline-step.is-future .timeline-icon {
    background: #f8f9fa;
    border-color: #dee2e6;
    color: #adb5bd;
}

.timeline-step.is-future .timeline-title {
    color: #adb5bd;
}

.timeline-step.is-future .timeline-date {
    color: #adb5bd !important;
}

.timeline-step.is-future .timeline-line {
    background: #e9ecef;
}

.test-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.test-feature {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border-radius: 8px;
    background: #f3f4f6;
    color: #4b5563;
    font-size: 13px;
}

.test-feature i {
    color: #08c330;
}