body::-webkit-scrollbar {
    width: 0;
    background: transparent;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(320px, 1fr));
    gap: 16px;
    /* 🔹 jarak antar card lebih rapat tapi masih napas */
    justify-content: center;
    /* 🔹 biar grid-nya di tengah */
    margin: 0 auto 40px auto;
    padding: 0 20px;
    /* 🔹 rapetin kanan kiri */
}

/* Kartu Individual */
.card-box {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.187);
    width: 100%;
    max-width: 400px;
    height: 110px;
    text-align: center;
    padding: 14px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.card-box .title {
    font-weight: 600;
    font-size: 13px;
    color: #1d3557;
    margin-bottom: 2px;
}

.card-box .value {
    font-size: 20px;
    color: #1d3557;
    font-weight: 700;
    margin-bottom: 4px;
}

.card-box .link {
    font-size: 11px;
    text-decoration: none;
    color: #1D416D;
    font-weight: 600;
    transition: color 0.2s ease-in-out;
}

.card-box .link:hover {
    text-decoration: underline;
}

/* ===== BOX GRAFIK / RINGKASAN ===== */
.summary-box {
    background-color: #f2f5f9;
    border-radius: 15px;
    padding: 50px;
    text-align: center;
    color: #9aa3b0;
    font-size: 15px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 600px) {
    .cards-container {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

/* ==================== CHART MODERN STYLES ==================== */
.chart-container-modern {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.chart-container-modern:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
    margin-bottom: 5vh;
}

.chart-header {
    margin-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 1rem;
}

.chart-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chart-subtitle {
    font-size: 0.9rem;
    color: #718096;
    margin: 0;
}

.chart-wrapper {
    position: relative;
    min-height: 400px;
    padding: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .chart-container-modern {
        padding: 1.5rem;
    }

    .chart-wrapper {
        min-height: 300px;
    }

    .chart-title {
        font-size: 1.2rem;
    }
}
