/*
 * MATRIXARENA – einfacher grüner Aktionszähler.
 */

.vx-menu-entry {
    display: flex;
    width: 100%;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.vx-menu-entry .nav-label {
    min-width: 0;
    overflow: hidden;
    flex: 1 1 auto;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vx-green-count {
    display: inline-grid;
    min-width: 1.8rem;
    height: 1.8rem;
    padding: 0 0.4rem;
    place-items: center;
    flex: 0 0 auto;
    color: #071008;
    border: 1px solid #b9ffca;
    border-radius: 999px;
    background: linear-gradient(180deg, #78ff9a, #24b94d);
    box-shadow:
        0 0 0 3px rgba(57, 255, 104, 0.16),
        0 0 14px rgba(57, 255, 104, 0.9);
    font-family: "Cascadia Mono", Consolas, monospace;
    font-size: 0.78rem;
    font-weight: 950;
    line-height: 1;
    animation:
        vx-green-count-pulse
        1.45s
        ease-in-out
        infinite;
}

.nav-item .nav-link.action-required {
    color: #f4fff6 !important;
    border-color: rgba(88, 255, 128, 0.38) !important;
    background:
        linear-gradient(
            90deg,
            rgba(22, 96, 45, 0.32),
            rgba(7, 20, 11, 0.16)
        ) !important;
    box-shadow:
        inset 3px 0 0 #45e96c,
        0 0 18px rgba(57, 255, 104, 0.12) !important;
}

.nav-item .nav-link.action-required::after {
    display: none !important;
}

@keyframes vx-green-count-pulse {
    0%,
    100% {
        transform: scale(1);
        filter: brightness(0.96);
    }

    50% {
        transform: scale(1.09);
        filter: brightness(1.18);
    }
}

@media (prefers-reduced-motion: reduce) {
    .vx-green-count {
        animation: none;
    }
}
