.mmg-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.mmg-gauge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 120px;
    text-align: center;
}

.mmg-circle-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
}

.mmg-progress-ring {
    transform: rotate(-120deg);
    /* Start from top-left approx */
    transform-origin: 50% 50%;
}

.mmg-progress-ring__circle {
    transition: stroke-dashoffset 0.35s;
    transform: rotate(0deg);
    transform-origin: 50% 50%;
    stroke-linecap: round;
}

.mmg-value-bubble {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mmg-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    z-index: 5;
    /* Ensure it's below bubble but visible */
}

.mmg-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.mmg-desc {
    font-size: 11px;
    color: #888;
}

.mmg-loading,
.mmg-error {
    text-align: center;
    padding: 20px;
    color: #666;
}

/* Animation */
@keyframes mmg-fade-in-up {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.mmg-gauge-item {
    animation: mmg-fade-in-up 0.6s ease-out forwards;
    position: relative;
    /* For tooltip positioning */
}

/* Stagger animations if possible, but simple is fine */
.mmg-gauge-item:nth-child(1) {
    animation-delay: 0.1s;
}

.mmg-gauge-item:nth-child(2) {
    animation-delay: 0.2s;
}

.mmg-gauge-item:nth-child(3) {
    animation-delay: 0.3s;
}

.mmg-gauge-item:nth-child(4) {
    animation-delay: 0.4s;
}

/* Tooltip */
.mmg-gauge-item::after {
    content: attr(data-title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-5px);
    background: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, transform 0.2s;
    pointer-events: none;
    z-index: 20;
}

.mmg-gauge-item:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-10px);
}