/* maxiFIT Auslastungskreis Widget */
#mf-auslastung-widget {
    position: fixed;
    right: 18px;
    top: 90px;
    z-index: 9999;
    cursor: default;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    /* Ausblenden wenn zu wenig Platz – unter 1200px Breite */
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Auf schmalen Bildschirmen verstecken (kein Platz neben Menü) */
@media (max-width: 1199px) {
    #mf-auslastung-widget {
        display: none !important;
    }
}

/* --- Der Kreis selbst – exakt wie glowing-circle-large im Backoffice --- */
#mf-auslastung-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: conic-gradient(#00e676 0%, #1b5e20 0%); /* wird per JS gesetzt */
    box-shadow: 0 0 16px #00e676, inset 0 0 10px #00e676;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: background 0.6s ease, box-shadow 0.6s ease;
}

/* Schwarzes Innen-Oval */
#mf-auslastung-circle::before {
    content: '';
    position: absolute;
    top: 8px; left: 8px; right: 8px; bottom: 8px;
    background: #111;
    border-radius: 50%;
    z-index: 1;
}

#mf-auslastung-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

#mf-auslastung-num {
    font-size: 20px;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 8px #00e676;
    font-family: Arial Black, sans-serif;
    letter-spacing: -1px;
}

#mf-auslastung-label {
    font-size: 5px;
    color: #aaa;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    font-family: Arial, sans-serif;
    margin-top: 2px;
}

/* LIVE-Badge darunter */
#mf-auslastung-hint {
    font-size: 9px;
    font-weight: 900;
    color: #00e676;
    letter-spacing: 2px;
    font-family: Arial, sans-serif;
    text-shadow: 0 0 6px #00e676;
    animation: mf-pulse 2s ease-in-out infinite;
}

@keyframes mf-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}

/* Farbanpassung Glow je nach Auslastung */
#mf-auslastung-widget.mf-red   #mf-auslastung-circle { box-shadow: 0 0 16px #ef5350, inset 0 0 10px #ef5350; }
#mf-auslastung-widget.mf-red   #mf-auslastung-num    { text-shadow: 0 0 8px #ef5350; }
#mf-auslastung-widget.mf-red   #mf-auslastung-hint   { color: #ef5350; text-shadow: 0 0 6px #ef5350; }

#mf-auslastung-widget.mf-orange #mf-auslastung-circle { box-shadow: 0 0 16px #ffa726, inset 0 0 10px #ffa726; }
#mf-auslastung-widget.mf-orange #mf-auslastung-num    { text-shadow: 0 0 8px #ffa726; }
#mf-auslastung-widget.mf-orange #mf-auslastung-hint   { color: #ffa726; text-shadow: 0 0 6px #ffa726; }

#mf-auslastung-widget.mf-yellow #mf-auslastung-circle { box-shadow: 0 0 16px #ffca28, inset 0 0 10px #ffca28; }
#mf-auslastung-widget.mf-yellow #mf-auslastung-num    { text-shadow: 0 0 8px #ffca28; }
#mf-auslastung-widget.mf-yellow #mf-auslastung-hint   { color: #ffca28; text-shadow: 0 0 6px #ffca28; }
