.msb-growth-charts-wrapper {
    width: 100%;
    box-sizing: border-box;
}

@keyframes msbGcFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.msb-growth-charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

@media (min-width: 1024px) {
    .msb-growth-charts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Each chart card */
.msb-growth-chart-item {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    animation: msbGcFadeIn 0.6s ease-out backwards;
    min-height: 480px;
    display: flex;
    flex-direction: column;
}

.msb-growth-chart-item:nth-child(2) { animation-delay: 0.1s; }
.msb-growth-chart-item:nth-child(3) { animation-delay: 0.2s; }

.msb-growth-chart-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.msb-growth-chart-header {
    text-align: center;
    margin-bottom: 6px;
}

.msb-growth-chart-title {
    font-size: 13px;
    font-weight: 700;
    color: #001538;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.msb-growth-chart-unit {
    font-size: 11px;
    color: #888;
    margin-top: 2px;
}

.msb-growth-chart-canvas-wrap {
    position: relative;
    width: 100%;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Zoom Modal ===== */
.msb-growth-modal {
    position: fixed;
    inset: 0;
    z-index: 99990;
    display: flex;
    align-items: center;
    justify-content: center;
}

.msb-growth-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
}

.msb-growth-modal-content {
    position: relative;
    background: #fff;
    border-radius: 8px;
    padding: 36px 32px 28px;
    width: 92%;
    max-width: 680px;
    max-height: 90vh;
    overflow: auto;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
    z-index: 1;
    animation: msb-gc-modal-in 0.18s ease;
}

@keyframes msb-gc-modal-in {
    from { transform: scale(0.92); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}

.msb-growth-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    color: #999;
    padding: 0;
    transition: color 0.15s;
}

.msb-growth-modal-close:hover {
    color: #111;
}

.msb-growth-modal-header {
    text-align: center;
    margin-bottom: 20px;
}

.msb-growth-modal-title {
    font-size: 16px;
    font-weight: 700;
    color: #001538;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.msb-growth-modal-unit {
    font-size: 13px;
    color: #888;
    margin-top: 4px;
}

.msb-growth-modal-canvas-wrap {
    position: relative;
    width: 100%;
}

body.msb-growth-modal-open {
    overflow: hidden;
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
    .msb-growth-charts-grid {
        gap: 20px;
    }

    .msb-growth-modal-content {
        padding: 24px 16px 20px;
        width: 96%;
    }
}
