.wp-progress-chart-container {
    background: #fdfdfd;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    max-width: 100%;
    box-sizing: border-box;
    /* margin: 0 auto; */
}

.wp-progress-chart-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

/* Inactive button styles (White background, blue text) */
.wp-progress-chart-container button.wp-pc-metric-btn {
    background: #fff;
    border: 2px solid #2b45f4;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    box-shadow: none;
}

.wp-progress-chart-container button.wp-pc-metric-btn:hover {
    background: #f5f6fc;
}

/* Active button styles (Solid blue background, white text) */
.wp-progress-chart-container button.wp-pc-metric-btn.active {
    background: #2b45f4;
    border-color: #2b45f4;
}

.wp-progress-chart-container button.wp-pc-metric-btn .wp-pc-metric-label {
    font-size: 18px;
    font-weight: 700;
    color: #2b45f4;
    margin-bottom: 5px;
}

.wp-progress-chart-container button.wp-pc-metric-btn.active .wp-pc-metric-label {
    color: #fff;
}

.wp-progress-chart-container button.wp-pc-metric-btn .wp-pc-metric-diff {
    font-size: 16px;
    font-weight: 700;
    color: #111;
}

.wp-progress-chart-container button.wp-pc-metric-btn.active .wp-pc-metric-diff {
    color: #fff;
}

/* Specialized Weight Button */
.wp-progress-chart-container button.wp-pc-metric-btn[data-metric="weight"] {
    grid-column: 1 / -1;
    max-width: 2000px;
    /* margin: 0 auto; */
}

.wp-progress-chart-canvas-wrapper {
    position: relative;
    height: 350px;
    max-width: 100%;
    width: 100%;
}

#wp-pc-current-metric-title {
    font-size: 22px;
    font-weight: 700;
    color: #111;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .wp-progress-chart-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .wp-progress-chart-metrics-grid {
        grid-template-columns: 1fr;
    }
}
