
/* Capacity Breakdown */
.capacity-breakdown-box {
    max-width: 900px;
    margin: 20px auto 16px;
    padding: 45px 40px;
    background: #fff;
    border: 5px solid #000;
    position: relative;
    font-family: 'Actor', sans-serif;
}

.capacity-title {
    font-size: 23px;
    font-weight: 400;
    color: #000;
    margin: 0 0 30px 0;
    letter-spacing: 0.3px;
    font-family: 'Actor', sans-serif;
    text-transform: uppercase;
}

.capacity-chart-wrapper {
    position: relative;
    height: 380px;
    width: 100%;
}

.capacity-explanation {
    font-size: 16px;
    color: #000;
    margin: 0px 0 0 0;
    line-height: 1.4;
    font-family: 'Actor', sans-serif;
}

/* Revenue Sources */
.revenue-sources-box {
    max-width: 900px;
    margin: 8px auto 40px;
    padding: 45px 40px;
    background: #fff;
    border: 5px solid #000;
    position: relative;
}

.revenue-title {
    font-size: 30px;
    font-weight: 400;
    color: #000;
    margin: 0 50px 30px 0;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.revenue-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
    align-items: start;
    margin-top: 24px;
}

.revenue-chart-side {
    width: 300px;
    height: 300px;
}

.revenue-info-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Total Revenue Card */
.revenue-total-card {
    padding: 30px 35px;
    border: 4px solid #A1D55D;
    text-align: center;
    background: #D9EEBE; 
}

.total-amount {
    font-size: 48px;
    font-weight: 700;
    color: #000;
    line-height: 1;
    margin-bottom: 5px;
    font-family: 'Actor', sans-serif;
}

.total-label {
    font-size: 13px;
    font-weight: 700;
    color: #000;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    font-family: 'Actor', sans-serif;
    text-transform: uppercase;
}



/* Revenue Legend */
.revenue-legend {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.legend-row {
    display: grid;
    grid-template-columns: 35px 1fr auto;
    gap: 12px;
    align-items: center;
    transition: background-color 0.2s;
}

.legend-square {
    width: 35px;
    height: 35px;
    border: none;
}

.legend-label {
    font-size: 14px;
    font-weight: 400;
    color: #000;
    font-family: 'Actor', sans-serif;
}

.legend-values {
    text-align: right;
}

.legend-amount {
    font-size: 22px;
    font-weight: 700;
    color: #000;
    line-height: 1.2;
    font-family: 'Actor', sans-serif;
}

.legend-percent {
    font-size: 13px;
    font-weight: 400;
    color: #525252;
    font-family: 'Actor', sans-serif;
}

/* Triangle Decorations */
.chart-triangles {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    gap: 3px;
}

/* Responsive */
@media (max-width: 768px) {
    .capacity-breakdown-box,
    .revenue-sources-box {
        padding: 30px 25px;
        margin: 0 auto 30px;
    }

    .capacity-title,
    .revenue-title {
        font-size: 18px;
        margin-bottom: 25px;
    }

    .capacity-chart-wrapper {
        height: 320px;
    }

    .capacity-explanation {
        font-size: 13px;
    }

    .revenue-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .revenue-chart-side {
        width: 260px;
        height: 260px;
        margin: 0 auto;
    }

    .total-amount {
        font-size: 54px;
    }

    .legend-square {
        width: 30px;
        height: 30px;
    }

    .legend-row {
        grid-template-columns: 30px 1fr auto;
        gap: 10px;
    }

    .legend-amount {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .capacity-breakdown-box,
    .revenue-sources-box {
        padding: 25px 20px;
    }

    .capacity-chart-wrapper {
        height: 400px;
    }

    .capacity-explanation {
        font-size: 14px;
    }

    .revenue-chart-side {
        width: 220px;
        height: 220px;
    }

    .total-amount {
        font-size: 36px;
    }

    .legend-amount {
        font-size: 16px;
    }
}

/* Print */
@media print {
    .capacity-breakdown-box,
    .revenue-sources-box {
        page-break-inside: avoid;
        border: 3px solid #000;
    }

    .chart-triangles {
        display: none;
    }
}