/* ========================================
   EISOFT 프로젝트 진행 현황
======================================== */

.idx_workliststat {
    width: 100%;
    padding: 30px 30px;
    padding-bottom: 0;
    background: transparent;
    color: #142438;
    box-sizing: border-box;
}

.idx_workliststat * {
    box-sizing: border-box;
}

.idx_workliststat .work_inner {
    width: 100%;
    margin: 0 auto;
    max-width: 1430px;
}

/* ========================================
   섹션 타이틀
======================================== */

.idx_workliststat .work_heading {
    margin-bottom: 30px;
    display: none;
}

.idx_workliststat .work_eyebrow {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    color: #2871d8;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
}

.idx_workliststat .work_eyebrow::after {
    content: "";
    display: block;
    width: 45px;
    height: 1px;
    background: #2871d8;
}

.idx_workliststat h2 {
    margin: 0 0 14px;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    letter-spacing: -1.8px;
    line-height: 1.3;
}

.idx_workliststat h2 strong {
    color: #1675e5;
    font-weight: inherit;
}

.idx_workliststat .work_desc {
    margin: 0;
    color: #7b8492;
    font-size: 15px;
    line-height: 1.7;
}

/* ========================================
   목록 전체 영역
======================================== */

.idx_workliststat .work_table {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e1e6ed;
    border-radius: 14px;
}

.idx_workliststat .work_table ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.idx_workliststat .work_table li {
    display: grid;
    grid-template-columns:
        140px 180px minmax(0, 1fr) 110px;
    align-items: center;
    gap: 20px;
    padding: 15px 30px;
    margin: 0;
    list-style: none;
}

/* ========================================
   고정 헤더
======================================== */

.idx_workliststat .work_list_head {
    background: #0b2942;
    color: #fff;
}

.idx_workliststat .work_list_head li {
    min-height: 55px;
    font-size: 14px;
    font-weight: 600;
}

.idx_workliststat .work_list_head li > span:last-child {
    text-align: center;
}

/* ========================================
   자동 롤링 목록
======================================== */

.idx_workliststat .work_rolling {
    position: relative;
    overflow: hidden;
}

.idx_workliststat .work_list {
    position: relative;
    will-change: transform;
}

.idx_workliststat .work_list > li {
    min-height: 65px;
    border-bottom: 1px solid #edf0f5;
    background: #fff;
    font-size: 15px;
    transition: background-color 0.2s ease;
}

.idx_workliststat .work_list > li:hover {
    background: #f0f5ff;
}

/* ========================================
   작업 분류
======================================== */

.idx_workliststat .work_category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-width: 82px;
    padding: 7px 13px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

/* 홈페이지 */
.idx_workliststat .category_web {
    color: #000000;
    background: #f8f8f8;
}

/* 마케팅 */
.idx_workliststat .category_marketing {
    color: #000000;
    background: #f8f8f8;
}

/* 유지보수 */
.idx_workliststat .category_maintenance {
    color: #000000;
    background: #f8f8f8;
}

/* 영상제작 */
.idx_workliststat .category_video {
    color: #000000;
    background: #f8f8f8;
}

/* 솔루션 */
.idx_workliststat .category_solution {
    color: #000000;
    background: #f8f8f8;
}

/* 디자인 */
.idx_workliststat .category_design {
    color: #000000;
    background: #f8f8f8;
}

/* ========================================
   고객사 및 작업 내용
======================================== */

.idx_workliststat .work_company {
    color: #17273b;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.3px;
    overflow-wrap: anywhere;
}

.idx_workliststat .work_content {
    color: #354357;
    line-height: 1.6;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

/* ========================================
   진행 상태
======================================== */

.idx_workliststat .work_state {
    display: flex;
    justify-content: center;
}

.idx_workliststat .work_state > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 80px;
    padding: 7px 12px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

/* 작업 완료 */
.idx_workliststat .state_complete {
    color: #0b2942;
    background: transparent;
    border: solid 1px #0b2942;
}

.idx_workliststat .state_complete::before {
    content: "✓";
    font-weight: 800;
}

/* 작업 진행 중 */
.idx_workliststat .state_progress {
    color: #2563d9;
    background: transparent;
}

/* 작업 대기 */
.idx_workliststat .state_waiting {
    color: #b97b12;
    background: transparent;
}

.idx_workliststat .state_progress::before,
.idx_workliststat .state_waiting::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

/* ========================================
   하단 안내 및 컨트롤
======================================== */

.idx_workliststat .work_footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.idx_workliststat .work_notice {
    margin: 0;
    color: #929ba8;
    font-size: 12px;
    line-height: 1.6;
}

.idx_workliststat .work_controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* 재생 및 정지 버튼 */
.idx_workliststat .work_toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid #ccd5e0;
    border-radius: 6px;
    background: #fff;
    color: #354357;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.idx_workliststat .work_toggle[hidden] {
    display: none;
}

.idx_workliststat .work_toggle:hover {
    background: #e9eef5;
}

/* 더보기 버튼 */
.idx_workliststat .work_more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 10px 18px;
    border: 1px solid #ccd5e0;
    border-radius: 6px;
    background: #fff;
    color: #142438;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.idx_workliststat .work_more:hover {
    color: #fff;
    background: #0b2942;
    border-color: #0b2942;
}

/* ========================================
   태블릿
======================================== */

@media (max-width: 1024px) {

    .idx_workliststat {
        padding: 65px 25px;
    }

    .idx_workliststat .work_table li {
        grid-template-columns:
            90px 110px minmax(0, 1fr) 85px;
        gap: 12px;
        padding: 15px 18px;
        font-size: 13px;
    }

    .idx_workliststat .work_company {
        font-size: 14px;
    }

    .idx_workliststat .work_category {
        min-width: 72px;
        font-size: 12px;
    }
}

/* ========================================
   모바일
======================================== */

@media (max-width: 767px) {

    .idx_workliststat {
        padding: 50px 20px;
    }

    .idx_workliststat .work_heading {
        margin-bottom: 24px;
    }

    .idx_workliststat h2 {
        font-size: 27px;
        letter-spacing: -1px;
    }

    .idx_workliststat .work_desc {
        font-size: 13px;
    }

    /* 모바일 목록 헤더 숨김 */
    .idx_workliststat .work_list_head {
        display: none;
    }

    .idx_workliststat .work_list > li {
        grid-template-columns:
            auto minmax(0, 1fr) auto;

        grid-template-areas:
            "category company state"
            "content content content";

        min-height: 95px;
        gap: 10px;
        padding: 16px;
    }

    .idx_workliststat .work_category {
        grid-area: category;
    }

    .idx_workliststat .work_company {
        grid-area: company;
        min-width: 0;
    }

    .idx_workliststat .work_content {
        grid-area: content;
        font-size: 14px;
    }

    .idx_workliststat .work_state {
        grid-area: state;
    }

    .idx_workliststat .work_state > span {
        min-width: 58px;
        padding: 6px 10px;
    }

    .idx_workliststat .work_footer {
        flex-direction: column;
        align-items: stretch;
    }

    .idx_workliststat .work_controls {
        justify-content: flex-end;
    }
}