@import url('https://googleapis.com');

/* Studio-Hauptgehäuse */
.mxm-ledi-studio-wrap {
    font-family: 'Codystar', sans-serif !important;
    font-weight: 700;
    background-color: #0b0b0b;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    overflow: hidden;
}
.mxm-ledi-studio-wrap.bg-transparent { background: transparent !important; box-shadow: none !important; }

.mxm-ledi-studio-wrap.has-frame {
    border: 6px solid #1c1c1c;
    box-shadow: inset 0 0 30px #000, 0 10px 25px rgba(0,0,0,0.6);
    border-radius: 4px;
}

/* Skalierung des runden Containers */
.mxm-ledi-ring-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1 / 1;
}

.mxm-ledi-svg-ring {
    width: 100%;
    height: 100%;
}

/* Inaktive LEDs schimmern im Hintergrund dunkel mit */
.ledi-dot {
    fill: #222;
    transition: fill 0.1s ease, filter 0.1s ease;
}

/* Zentriertes LED-Ziffernblatt */
.mxm-ledi-center-display {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 70%;
    z-index: 10;
}

.mxm-ledi-label { font-size: 1rem; letter-spacing: 3px; margin-bottom: 8px; color: #555; text-transform: uppercase; }
.mxm-ledi-time { font-variant-numeric: tabular-nums !important; font-feature-settings: "tnum" !important; display: block !important; letter-spacing: 2px; line-height: 1; }
.mxm-ledi-date { letter-spacing: 2px; margin-top: 8px; font-variant-numeric: tabular-nums !important; text-transform: uppercase; }

/* GRÖSSENANPASSUNGEN */
.size-compact .mxm-ledi-ring-container { max-width: 240px; }
.size-compact .mxm-ledi-time { font-size: 1.4rem; }
.size-compact .mxm-ledi-date { font-size: 0.7rem; }

.size-small .mxm-ledi-ring-container { max-width: 320px; }
.size-small .mxm-ledi-time { font-size: 2rem; }
.size-small .mxm-ledi-date { font-size: 0.9rem; }

.size-medium .mxm-ledi-ring-container { max-width: 400px; }
.size-medium .mxm-ledi-time { font-size: 2.6rem; }
.size-medium .mxm-ledi-date { font-size: 1.1rem; }

.size-large .mxm-ledi-ring-container { max-width: 550px; }
.size-large .mxm-ledi-time { font-size: 3.6rem; }
.size-large .mxm-ledi-date { font-size: 1.4rem; }

.size-responsive .mxm-ledi-ring-container { max-width: 100%; }
.size-responsive .mxm-ledi-time { font-size: calc(1rem + 3.5vw); }
.size-responsive .mxm-ledi-date { font-size: calc(0.5rem + 1vw); }

/* FARBEN & GLOW FÜR TEXT (UHRZEIT / DATUM) */
.color-text-red { color: #ff1a1a; text-shadow: 0 0 10px rgba(255, 0, 0, 0.8); }
.color-text-green { color: #00ff33; text-shadow: 0 0 10px rgba(0, 255, 0, 0.8); }
.color-text-amber { color: #ff9900; text-shadow: 0 0 10px rgba(255, 153, 0, 0.8); }
.color-text-blue { color: #00ccff; text-shadow: 0 0 10px rgba(0, 210, 255, 0.8); }
.color-text-white { color: #ffffff; text-shadow: 0 0 10px rgba(255, 255, 255, 0.6); }

/* FARBEN FÜR DEN LED-SEKUNDENKREIS (DYNAMIC FILL) */
.color-ring-red .active-dot { fill: #ff1a1a; filter: drop-shadow(0 0 6px #ff0000); }
.color-ring-green .active-dot { fill: #00ff33; filter: drop-shadow(0 0 6px #00ff00); }
.color-ring-amber .active-dot { fill: #ff9900; filter: drop-shadow(0 0 6px #ff6600); }
.color-ring-blue .active-dot { fill: #00ccff; filter: drop-shadow(0 0 6px #0099ff); }
.color-ring-white .active-dot { fill: #ffffff; filter: drop-shadow(0 0 6px #ffffff); }
