* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    background: #0f172a;
    color: #e2e8f0;
    font-family: 'Pretendard', sans-serif;
    padding: 20px;
}
.header {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #000;
    border-bottom: 1px solid #2a3458;
    font-size: 50px;
    font-weight: 700;
    padding: 15px 40px;
}
.header img {
    width: 80px;
}

.wrap {
    max-width: 100%;
    margin: 40px auto;
}

.Table_Box {
    background: #1a1f3a;
    border: 1px solid #2a3458;
    border-radius: 4px;
    padding: 20px;
    margin: 20px 40px;
}

/* 제목 */
.section-title {
    display: flex;
    align-items: center;
    font-size: 25px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid #2a3458;
}
.section-title img {
    width: 50px;
    margin: 0px 10px 0px 20px;
}
table + .section-title,
.bar-wrap + .section-title,
.donut-wrap + .section-title {
    margin-top: 50px;
}

/* 기본 정보 테이블 */
.info-table {
    width: 100%;
    background: #040b1b;
    border: 1px solid #2a3458;
    border-collapse: collapse;
}
.info-table th,
.info-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #1e293b;
    font-size: 15px;
}
.info-table th {
    color: #94a3b8;
    font-weight: normal;
    text-align: left;
    width: 300px;
}
.info-table td {
    color: #fff;
    text-align: right;
}
.info-table td.plus { color: #10b981; }
.info-table td.minus { color: #f43f5e; }

/* 비교 테이블 */
.compare-table {
    width: 100%;
    background: #040b1b;
    border-collapse: collapse;
}
.compare-table thead th {
    padding: 10px 16px;
    font-size: 13px;
    color: #64748b;
    font-weight: normal;
    text-align: center;
    border-bottom: 1px solid #2a3458;
}
.compare-table tbody td {
    padding: 12px 16px;
    font-size: 15px;
    color: #fff;
    text-align: center;
    border-bottom: 1px solid #1e293b;
}

/* 막대 차트 */
.bar-wrap {
    margin-top: 16px;
    margin-bottom: 10px;
}
.bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 8px;
}
.bar-bg {
    width: 100%;
    height: 32px;
    background: #1e293b;
    border-radius: 6px;
    overflow: hidden;
}
.bar-fill {
    height: 100%;
    background: #10b981;
    border-radius: 6px 0 0 6px;
}
.bar-text {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-top: 8px;
}
.bar-text span:first-child { color: #10b981; }
.bar-text span:last-child { color: #64748b; }

/* 도넛 차트 */
.donut-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}
.donut-svg {
    transform: rotate(-90deg);
}
.donut-legend {
    font-size: 14px;
}
.donut-legend div {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.donut-legend .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}
.donut-legend .val {
    color: #fff;
    margin-left: auto;
    padding-left: 16px;
}