.vb-atf-gauge {
    --vbag-navy: #0b2440;
    --vbag-blue: #1b6fb8;
    --vbag-blue-soft: #e8f1f9;
    --vbag-orange: #f5921e;
    --vbag-orange-dark: #e07f0a;
    --vbag-ink: #1a2433;
    --vbag-slate: #5a6b80;
    --vbag-line: #e3e9f0;
    color: var(--vbag-ink);
    display: block;
    flex: 0 0 420px;
    font-family: "Segoe UI Variable", "Segoe UI", Inter, -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
    inline-size: 420px;
    max-inline-size: calc(100vw - 40px);
    min-inline-size: 360px;
}

.elementor-widget-valuebuilder_atf_gauge {
    max-inline-size: 100%;
    overflow: visible;
}

.elementor-widget-valuebuilder_atf_gauge .elementor-widget-container {
    display: flex;
    justify-content: center;
    max-inline-size: 100%;
    overflow: visible;
}

.vb-atf-gauge,
.vb-atf-gauge *,
.vb-atf-gauge *::before,
.vb-atf-gauge *::after {
    box-sizing: border-box;
}

.vb-atf-gauge .vbag-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
    padding: 34px 34px 28px;
    position: relative;
    width: 100%;
}

.vb-atf-gauge .vbag-title {
    color: var(--vbag-navy);
    display: block;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.14;
    margin: 0 0 12px;
    text-align: center;
}

.vb-atf-gauge .vbag-svg {
    display: block;
    height: auto;
    margin: 0 auto;
    max-width: 100%;
}

.vb-atf-gauge .vbag-gauge-fill {
    stroke-dashoffset: 0;
}

.vb-atf-gauge .vbag-score-group {
    transform-box: fill-box;
    transform-origin: center;
}

.vb-atf-gauge .vbag-score-group.is-pop {
    animation: vbag-score-pop 550ms ease;
}

.vb-atf-gauge .vbag-mini-chart {
    border-top: 1px solid var(--vbag-line);
    display: grid;
    gap: 20px;
    padding-top: 20px;
}

.vb-atf-gauge .vbag-row-top {
    align-items: baseline;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 9px;
}

.vb-atf-gauge .vbag-name {
    color: var(--vbag-slate);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
}

.vb-atf-gauge .vbag-current {
    color: var(--vbag-orange);
    flex: 0 0 auto;
    font-size: 21px;
    font-weight: 800;
    line-height: 1;
}

.vb-atf-gauge .vbag-track {
    background: var(--vbag-blue-soft);
    border-radius: 5px;
    height: 9px;
    overflow: visible;
    position: relative;
}

.vb-atf-gauge .vbag-fill {
    background: var(--vbag-orange);
    border-radius: 5px;
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 0%;
}

.vb-atf-gauge .vbag-nowmark {
    background: var(--vbag-navy);
    border-radius: 1px;
    display: block;
    height: 17px;
    position: absolute;
    top: -4px;
    transform: translateX(-1px);
    width: 2px;
}

.vb-atf-gauge .vbag-caps {
    color: var(--vbag-slate);
    display: flex;
    font-size: 12px;
    font-weight: 600;
    justify-content: space-between;
    line-height: 1.25;
    margin-top: 8px;
}

.vb-atf-gauge .vbag-potential {
    color: var(--vbag-orange-dark);
    font-weight: 700;
}

.vb-atf-gauge .vbag-replay {
    align-items: center;
    appearance: none;
    background: transparent;
    border: 0;
    color: var(--vbag-blue);
    cursor: pointer;
    display: flex;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    gap: 6px;
    justify-content: center;
    line-height: 1.2;
    margin: 18px auto 0;
    padding: 0;
    text-align: center;
}

.vb-atf-gauge .vbag-replay::before {
    border-bottom: 5px solid transparent;
    border-left: 7px solid currentColor;
    border-top: 5px solid transparent;
    content: "";
    display: block;
    height: 0;
    width: 0;
}

.vb-atf-gauge .vbag-replay:hover,
.vb-atf-gauge .vbag-replay:focus {
    color: var(--vbag-navy);
}

.vb-atf-gauge .vbag-replay:focus-visible {
    border-radius: 4px;
    outline: 2px solid var(--vbag-blue);
    outline-offset: 4px;
}

@keyframes vbag-score-pop {
    0% {
        transform: scale(1);
    }
    45% {
        transform: scale(1.13);
    }
    100% {
        transform: scale(1);
    }
}

@media (max-width: 480px) {
    .vb-atf-gauge {
        flex-basis: 100%;
        inline-size: 100%;
        max-inline-size: 100%;
        min-inline-size: 0;
    }

    .vb-atf-gauge .vbag-card {
        padding: 26px 22px 24px;
    }

    .vb-atf-gauge .vbag-title {
        font-size: 21px;
    }

    .vb-atf-gauge .vbag-row-top,
    .vb-atf-gauge .vbag-caps {
        gap: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vb-atf-gauge .vbag-score-group.is-pop {
        animation: none;
    }
}
