/* =========================================================
   DETAIL LOKER - PUBLIC HUMAS
   ========================================================= */

.humas-loker-detail-page {
    min-height: calc(100vh - 80px);
    padding: 45px 0 80px;
    background: #f7faf8;
}

/* BACK */
.humas-loker-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;

    color: #53635c;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;

    transition: color 0.2s ease;
}

.humas-loker-back:hover {
    color: #0d9668;
}

/* CARD UTAMA */
.humas-loker-detail-card {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;

    overflow: hidden;

    background: #ffffff;
    border: 1px solid #e2ebe6;
    border-radius: 20px;

    box-shadow: 0 10px 35px rgba(15, 43, 35, 0.07);
}

/* =========================================================
   FOTO LOKER
   ========================================================= */

.humas-loker-photo-wrapper {
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 35px 35px 10px;
}

.humas-loker-photo-thumb {
    position: relative;

    width: auto;
    max-width: 650px;
    height: 360px;

    padding: 0;
    border: 0;
    border-radius: 14px;

    overflow: hidden;

    background: #edf5f1;

    cursor: pointer;

    box-shadow: 0 8px 25px rgba(15, 43, 35, 0.12);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.humas-loker-photo-thumb:hover {
    transform: translateY(-3px);

    box-shadow: 0 12px 30px rgba(15, 43, 35, 0.18);
}

.humas-loker-photo-thumb img {
    display: block;

    width: auto;
    height: 100%;
    max-width: 100%;

    object-fit: contain;
}

/* OVERLAY FOTO */
.humas-loker-photo-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 7px;

    background: rgba(15, 43, 35, 0.48);

    color: #ffffff;

    opacity: 0;

    transition: opacity 0.25s ease;
}

.humas-loker-photo-thumb:hover .humas-loker-photo-overlay {
    opacity: 1;
}

.humas-loker-photo-overlay i {
    font-size: 23px;
}

.humas-loker-photo-overlay span {
    font-size: 11px;
    font-weight: 700;
}

/* JIKA TIDAK ADA FOTO */
.humas-loker-photo-no-image {
    width: 260px;
    height: 170px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: #eaf5ef;
    color: #0d9668;

    font-size: 55px;

    box-shadow: 0 8px 25px rgba(15, 43, 35, 0.12);
}

/* =========================================================
   KONTEN DETAIL
   ========================================================= */

.humas-loker-detail-content {
    padding: 42px 55px 45px;
}

/* LABEL */
.humas-loker-detail-label {
    display: inline-flex;

    padding: 6px 11px;
    margin-bottom: 10px;

    border-radius: 30px;

    background: #eaf7f1;
    color: #0d9668;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1px;
}

/* POSISI */
.humas-loker-position {
    margin: 0;

    color: #26362e;

    font-size: 36px;
    line-height: 1.25;
    font-weight: 800;
}

/* NAMA PERUSAHAAN */
.humas-loker-company-name {
    margin-top: 7px;

    color: #64716b;

    font-size: 18px;
    font-weight: 500;
}

/* =========================================================
   META
   ========================================================= */

.humas-loker-meta {
    display: flex;
    align-items: center;

    gap: 55px;

    margin-top: 30px;
}

.humas-loker-meta-item {
    display: flex;
    align-items: center;

    gap: 12px;
}

.humas-loker-meta-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 10px;

    background: #eaf7f1;
    color: #0d9668;
}

.humas-loker-meta-item > div:last-child {
    display: flex;
    flex-direction: column;

    gap: 3px;
}

.humas-loker-meta-item span {
    color: #8b9691;

    font-size: 11px;
    font-weight: 600;
}

.humas-loker-meta-item strong {
    color: #34423b;

    font-size: 13px;
    font-weight: 700;
}

/* =========================================================
   PEMBATAS
   ========================================================= */

.humas-loker-divider {
    width: 100%;
    height: 1px;

    margin: 30px 0;

    background: #e8eeeb;
}

/* =========================================================
   DESKRIPSI
   ========================================================= */

.humas-loker-description h2 {
    margin: 0 0 14px;

    color: #26362e;

    font-size: 18px;
    font-weight: 800;
}

.humas-loker-description p {
    margin: 0;

    color: #5d6b65;

    font-size: 14px;
    line-height: 1.9;

    white-space: pre-line;
}

.humas-loker-empty {
    color: #9aa49f !important;
}

/* =========================================================
   BUTTON KEMBALI
   ========================================================= */

.humas-loker-bottom {
    width: 100%;
    max-width: 1100px;

    margin: 22px auto 0;
}

.humas-loker-back-button {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    padding: 11px 17px;

    border-radius: 10px;

    background: #0d9668;
    color: #ffffff;

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.humas-loker-back-button:hover {
    background: #0a7a55;
    color: #ffffff;

    transform: translateY(-1px);
}

/* =========================================================
   MODAL GAMBAR BESAR
   ========================================================= */

.humas-loker-image-modal {
    position: fixed;
    inset: 0;

    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px;

    background: rgba(10, 20, 16, 0.88);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.humas-loker-image-modal.active {
    opacity: 1;
    visibility: visible;
}

.humas-loker-image-modal img {
    display: block;

    max-width: 92vw;
    max-height: 90vh;

    object-fit: contain;

    border-radius: 12px;

    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.35);
}

/* TOMBOL CLOSE */
.humas-loker-image-close {
    position: absolute;

    top: 25px;
    right: 30px;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;

    font-size: 17px;

    cursor: pointer;

    transition: background 0.2s ease;
}

.humas-loker-image-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* =========================================================
   RESPONSIVE PHONE
   ========================================================= */

@media (max-width: 768px) {

    .humas-loker-detail-page {
        padding: 30px 0 60px;
    }

    /* FOTO */
    .humas-loker-photo-wrapper {
        padding: 25px 20px 5px;
    }

    .humas-loker-photo-thumb {
        width: 100%;
        max-width: 420px;
        height: 260px;
    }

    .humas-loker-detail-card {
        border-radius: 17px;
    }

    /* CONTENT */
    .humas-loker-detail-content {
        padding: 30px 22px 32px;
    }

    /* POSISI */
    .humas-loker-position {
        font-size: 28px;
    }

    /* PERUSAHAAN */
    .humas-loker-company-name {
        font-size: 16px;
    }

    /* META */
    .humas-loker-meta {
        flex-direction: column;
        align-items: flex-start;

        gap: 16px;

        margin-top: 24px;
    }

    /* DIVIDER */
    .humas-loker-divider {
        margin: 25px 0;
    }

    /* DESKRIPSI */
    .humas-loker-description p {
        font-size: 13px;
        line-height: 1.8;
    }

    /* BUTTON */
    .humas-loker-bottom {
        margin-top: 18px;
    }

    .humas-loker-back-button {
        width: 100%;
        justify-content: center;
    }

    /* MODAL */
    .humas-loker-image-modal {
        padding: 20px;
    }

    .humas-loker-image-modal img {
        max-width: 96vw;
        max-height: 85vh;
    }

    .humas-loker-image-close {
        top: 15px;
        right: 15px;
    }
}

/* =========================================================
   TOMBOL KEMBALI LOKER - MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .humas-loker-back-button {
        width: 100%;

        min-height: 46px;

        display: inline-flex;
        align-items: center;
        justify-content: center;

        gap: 8px;

        padding: 11px 16px;

        border-radius: 12px;

        font-size: 13px;
        line-height: 1.3;

        box-sizing: border-box;

        box-shadow: 0 6px 18px rgba(15, 43, 35, 0.10);
    }

    .humas-loker-back-button i {
        flex-shrink: 0;
    }

    .humas-loker-bottom {
        width: 100%;

        margin-top: 20px;
    }
}


@media (max-width: 480px) {

    .humas-loker-back-button {
        min-height: 44px;

        padding: 10px 14px;

        font-size: 12.5px;

        border-radius: 11px;
    }

    .humas-loker-bottom {
        margin-top: 18px;
    }
}