@charset "utf-8";

/* 모금현황 섹션 전체 */
.status-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 상단 Hero 섹션 */
.status-hero-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 120px 0;
    box-sizing: border-box;
}

.status-hero-container {
    width: 1423px;
    max-width: 100%;
    display: flex;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
}

.status-hero-content {
    width: 1025px;
    height: 352px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.status-hero-text {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

.status-hero-icon {
    width: 91px;
    height: 129px;
    min-width: 91px;
    min-height: 129px;
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-hero-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.status-hero-title-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
    line-height: 0;
    font-style: normal;
}

.status-hero-title {
    font-family: 'Paperlogy', sans-serif;
    font-weight: 700;
    font-size: 64px;
    line-height: 1.3;
    color: #000000;
    margin: 0;
    padding: 0;
    text-align: center;
}

.status-hero-title-highlight {
    color: #003179;
}

.status-hero-subtitle {
    font-family: 'Paperlogy', sans-serif;
    font-weight: 300;
    font-size: 32px;
    line-height: 1.5;
    color: #000000;
    margin: 0;
    padding: 0;
    text-align: center;
}

/* 탭 버튼 섹션 */
.status-tab-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 0 80px 0;
    box-sizing: border-box;
}

.status-tab-container {
    width: 1420px;
    max-width: 100%;
    display: flex;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
}

.status-tab-buttons {
    width: 100%;
    height: 84px;
    display: flex;
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 12px;
    box-sizing: border-box;
}

.status-tab-button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 0;
    border-radius: 12px;
    cursor: pointer;
    box-sizing: border-box;
}

.status-tab-button-active {
    background: linear-gradient(172.696deg, #003179 0%, #0046ac 50%, #0247ac 100%);
}

.status-tab-button-text {
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.8;
    text-align: center;
    width: 355px;
    box-sizing: border-box;
}

.status-tab-button-active .status-tab-button-text {
    color: #ffffff;
    font-weight: 800;
}

.status-tab-button:not(.status-tab-button-active) .status-tab-button-text {
    color: #000000;
}

/* Hero 배경 섹션 */
.status-hero-bg-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 0 180px 0;
    box-sizing: border-box;
}

.status-hero-bg-container {
    width: 1420px;
    max-width: 100%;
    display: flex;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
}

.status-hero-bg-content {
    width: 100%;
    height: 400px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 60px 0 60px 60px;
    border-radius: 20px;
    overflow: hidden;
    box-sizing: border-box;
}

.status-hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.status-hero-bg-img {
    width: 100%;
    height: 100%;
    min-width: 1420px;
    min-height: 400px;
    object-fit: cover;
    object-position: 50% 50%;
    display: block;
}

.status-hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
    border-radius: 20px;
}

.status-hero-bg-text {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
}

.status-hero-bg-title {
    font-family: 'Paperlogy', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 1.3;
    color: #ffffff;
    margin: 0;
    padding: 0;
}

.status-hero-bg-title p {
    margin: 0;
    padding: 0;
}

.status-hero-bg-description {
    font-family: 'Paperlogy', sans-serif;
    font-weight: 300;
    font-size: 24px;
    line-height: 1.5;
    color: #ffffff;
    margin: 0;
    padding: 0;
}

.status-hero-bg-description p {
    margin: 0;
    padding: 0;
}

/* 참여자 그리드 섹션 */
.status-participants-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 0 180px 0;
    box-sizing: border-box;
}

.status-participants-container {
    margin:0 auto;
    width: 1420px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
    padding: 0;
    box-sizing: border-box;
}

.status-participants-title {
    font-family: 'Paperlogy', sans-serif;
    font-weight: 800;
    font-size: 32px;
    line-height: 1.5;
    color: #000000;
    margin: 0;
    padding: 0;
    width: 100%;
}

.status-participants-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 461px);
    gap: 20px;
    justify-content: start;
    box-sizing: border-box;
}

.status-participant-card {
    width: 461px;
    padding: 32px;
    border-radius: 12px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.status-card-gray {
    background: #f9f9f9;
}

.status-card-primary {
    background: #f1f3f7;
}

.status-card-empty {
    visibility: hidden;
}

.status-card-badge {
    position: absolute;
    top: 32px;
    right: 32px;
    height: 42.75px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border: 1px solid #003179;
    border-radius: 1000px;
    box-sizing: border-box;
}

.status-badge-text {
    font-family: 'Pretendard', sans-serif;
    font-weight: 800;
    font-size: 16px;
    line-height: 1.5;
    color: #003179;
}

.status-card-content {
    width: 397px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin-top: 86px;
    box-sizing: border-box;
}

.status-card-name {
    display: flex;
    gap: 3px;
    align-items: flex-end;
    height: 33.595px;
    margin-bottom: 12px;
    box-sizing: border-box;
}

.status-name-text {
    font-family: 'Paperlogy', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 1;
    color: #0046ac;
}

.status-name-suffix {
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1;
    color: #000000;
    opacity: 0.6;
}

.status-card-campaign {
    height: 37.713px;
    display: flex;
    align-items: flex-end;
    margin-bottom: 0;
    box-sizing: border-box;
}

.status-campaign-text {
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.8;
    color: #0046ac;
}

.status-card-info {
    height: 44.457px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
}

.status-amount {
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.8;
    color: #000000;
    opacity: 0.6;
}

.status-date {
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.8;
    color: #000000;
    opacity: 0.6;
}

/* 페이지네이션 */
.status-pagination {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 0;
    box-sizing: border-box;
}

.status-pagination .pg_wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.status-pagination .pg {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.status-pagination .pg_page {
    font-family: 'Pretendard', sans-serif;
    font-weight: 800;
    font-size: 16px;
    line-height: 1.5;
    color: #000000;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.status-pagination .pg_current {
    background: #003179;
    color: #ffffff;
    padding: 12px;
    border-radius: 4px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 800;
    font-size: 16px;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
}

/* 예·결산 현황 섹션 */
.status-budget-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 0 180px 0;
    box-sizing: border-box;
}

.status-budget-container {
    width: 1420px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    gap: 80px;
    align-items: flex-start;
    padding: 0;
    box-sizing: border-box;
}

.status-budget-table-section,
.status-expenditure-table-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
    box-sizing: border-box;
}

.status-budget-title,
.status-expenditure-title {
    font-family: 'Paperlogy', sans-serif;
    font-weight: 800;
    font-size: 32px;
    line-height: 1.5;
    color: #000000;
    margin: 0;
    padding: 0;
    width: 100%;
}

.status-table-wrapper {
    width: 100%;
    background: #ffffff;
    box-sizing: border-box;
}

/* 세출 현황 테이블: 위아래 테두리만 */
.status-expenditure-table-section .status-table-wrapper {
    border-left: none;
    border-right: none;
}

.status-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;
}

/* 예·결산 현황 테이블: colgroup으로 동일 비율 (9개 컬럼) */
.status-budget-table-section .status-table {
    table-layout: fixed;
}

/* 세출 현황 테이블: colgroup으로 동일 비율 (11개 컬럼) */
.status-expenditure-table-section .status-table {
    table-layout: fixed;
}

.status-table thead {
    background: #dddddd;
}

.status-table-header {
    background: #f9f9f9;
    border: 1px solid #dddddd;
    padding: 20px 0;
    height: 96px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 800;
    font-size: 16px;
    line-height: 1.5;
    color: #000000;
    text-align: center;
    vertical-align: middle;
    box-sizing: border-box;
}

/* 가장 왼쪽 헤더: 왼쪽 보더 제거 */
.status-budget-table-section .status-table-header:first-child,
.status-expenditure-table-section .status-table-header:first-child {
    border-left: none;
}

/* 가장 오른쪽 헤더: 오른쪽 보더 제거 */
.status-budget-table-section .status-table-header:last-child,
.status-expenditure-table-section .status-table-header:last-child {
    border-right: none;
}

.status-table-header-group {
    background: #f9f9f9;
}

.status-table-header-sum {
    background: #f1f3f7;
}

.status-table tbody {
    background: #dddddd;
}

.status-table-row {
    background: #ffffff;
}

.status-table-row-gray {
    background: #f9f9f9;
}

.status-table-cell {
    border: 1px solid #dddddd;
    padding: 20px 0;
    height: 96px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: #000000;
    text-align: center;
    vertical-align: middle;
    box-sizing: border-box;
}



.status-table-cell-bold {
    font-weight: 800;
    background: #f9f9f9;
}

/* 흰색 행의 bold 셀은 흰색 배경 */
.status-table-row .status-table-cell-bold {
    background: #ffffff;
}

.status-table-row-gray .status-table-cell-bold {
    background: #f9f9f9;
}

.status-table-cell-sum {
    background: #f1f3f7;
    font-weight: 800;
}

/* 흰색 행의 합계 열은 흰색 배경 */
.status-table-row .status-table-cell-sum {
    background: #ffffff;
}

.status-table-row-gray .status-table-cell-sum {
    background: #f1f3f7;
}

/* 세출 현황 2025년 예산 행의 우측 3칸(기본재산 편입액, 차기이월금, 합계)은 흰색 */
.status-expenditure-table-section .status-table tbody tr:last-child td:nth-child(9),
.status-expenditure-table-section .status-table tbody tr:last-child td:nth-child(10),
.status-expenditure-table-section .status-table tbody tr:last-child td:nth-child(11) {
    background: #ffffff !important;
}

/* 가장 왼쪽 셀: 왼쪽 보더 제거 */
.status-budget-table-section .status-table-cell:first-child,
.status-expenditure-table-section .status-table-cell:first-child {
    border-left: none;
}

/* 가장 오른쪽 셀: 오른쪽 보더 제거 */
.status-budget-table-section .status-table-cell:last-child,
.status-expenditure-table-section .status-table-cell:last-child {
    border-right: none;
}

.status-expenditure-table-section .status-table-header{
    padding:0;
    height: 48px;
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
    .status-hero-section {
        padding: 60px 0;
    }

    .status-hero-container {
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .status-hero-content {
        width: 100%;
        height: auto;
        min-height: 200px;
    }

    .status-hero-text {
        gap: 16px;
    }

    .status-hero-icon {
        width: 60px;
        height: 85px;
        min-width: 60px;
        min-height: 85px;
    }

    .status-hero-title-section {
        gap: 12px;
    }

    .status-hero-title {
        font-size: 30px;
    }

    .status-hero-subtitle {
        font-size: 22px;
    }

    .status-tab-section {
        padding: 0 0 40px 0;
    }

    .status-tab-container {
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .status-tab-buttons {
        height: auto;
        min-height: 60px;
        flex-direction: column;
    }

    .status-tab-button {
        padding: 16px 0;
    }

    .status-tab-button-text {
        width: 100%;
        font-size: 18px;
    }

    .status-hero-bg-section {
        padding: 0 0 60px 0;
    }

    .status-hero-bg-container {
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .status-hero-bg-content {
        height: auto;
        min-height: 250px;
        padding: 40px 24px;
    }

    .status-hero-bg-img {
        min-width: 100%;
        min-height: 250px;
    }

    .status-hero-bg-text {
        gap: 8px;
    }

    .status-hero-bg-title {
        font-size: 24px;
    }

    .status-hero-bg-description {
        font-size: 18px;
    }

    .status-participants-section {
        padding: 0 0 60px 0;
    }

    .status-participants-container {
        width: 100%;
        padding: 0 20px;
        gap: 40px;
        box-sizing: border-box;
    }

    .status-participants-title {
        font-size: 22px;
    }

    .status-participants-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .status-participant-card {
        width: 100%;
        padding: 24px;
    }

    .status-card-badge {
        top: 24px;
        right: 24px;
        padding: 6px 12px;
    }

    .status-badge-text {
        font-size: 14px;
    }

    .status-card-content {
        width: 100%;
        margin-top: 60px;
    }

    .status-card-name {
        height: auto;
        margin-bottom: 8px;
    }

    .status-name-text {
        font-size: 22px;
    }

    .status-name-suffix {
        font-size: 18px;
    }

    .status-card-campaign {
        height: auto;
    }

    .status-campaign-text {
        font-size: 18px;
    }

    .status-card-info {
        height: auto;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .status-amount,
    .status-date {
        font-size: 18px;
    }

    .status-pagination {
        gap: 20px;
    }

    .status-pagination .pg_wrap {
        gap: 20px;
    }

    .status-pagination .pg {
        gap: 20px;
    }

    .status-pagination .pg_page {
        font-size: 14px;
    }

    .status-pagination .pg_current {
        font-size: 14px;
        padding: 8px;
        min-width: 28px;
        height: 28px;
    }

    .status-budget-section {
        padding: 0 0 60px 0;
    }

    .status-budget-container {
        width: 100%;
        padding: 0 20px;
        gap: 40px;
        box-sizing: border-box;
    }

    .status-budget-table-section,
    .status-expenditure-table-section {
        gap: 24px;
    }

    .status-budget-title,
    .status-expenditure-title {
        font-size: 22px;
    }

    .status-table-wrapper {
        overflow-x: auto;
    }

    .status-table {
        min-width: 800px;
    }

    .status-table-header {
        padding: 12px 0;
        height: auto;
        min-height: 60px;
        font-size: 14px;
    }

    .status-table-cell {
        padding: 12px 0;
        height: auto;
        min-height: 60px;
        font-size: 14px;
    }

    .status-expenditure-table-section .status-table-header {
        height: auto;
        min-height: 40px;
    }
}

