ui/components/statbar.razor.scss
@import "../Theme.scss";

.stat-bar-container {
    flex-direction: column;
    width: 100%;
    margin-bottom: 6px;

    .stat-bar-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 3px;

        .stat-bar-label {
            font-size: 11px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: #cbd5e1;
        }

        .stat-bar-values {
            font-family: monospace;
            font-size: 10px;
            font-weight: 700;
            color: #94a3b8;
        }
    }

    .stat-bar-track {
        width: 100%;
        height: 8px;
        background-color: rgba(0, 0, 0, 0.65);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 2px;
        overflow: hidden;

        .stat-bar-fill {
            height: 100%;
            transition: width 0.15s ease-out;

            &.health {
                background: linear-gradient(to right, #991b1b, #ef4444);
                box-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
            }

            &.balance {
                background: linear-gradient(to right, #b45309, #f59e0b);
                box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
            }

            &.adrenaline {
                background: linear-gradient(to right, #0284c7, #38bdf8);
                box-shadow: 0 0 8px rgba(56, 189, 248, 0.5);
            }
        }
    }

    // Variante compacte pour le WorldPanel au-dessus des bots
    &.mini {
        margin-bottom: 3px;

        .stat-bar-header {
            margin-bottom: 1px;
            .stat-bar-label { font-size: 8px; }
            .stat-bar-values { font-size: 8px; }
        }

        .stat-bar-track {
            height: 5px;
        }
    }
}