.slider_kpi_wrapper {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.slider_kpi {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.slide_kpi {
    flex: 0 0 auto;
    width: 150px;
    height: 100px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: background 0.3s ease;
}

.slide_kpi:hover {
    background: #f2f2f2;
}

.slide_kpi img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(0%);
    transition: filter 0.3s ease;
}
.slide_kpi img:hover {
    filter: grayscale(80%);
}

.kpi-prev, .kpi-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    padding: 5px 10px;
    border-radius: 5px;
}
.kpi-prev:hover, .kpi-next:hover {
    background: rgba(0,0,0,0.7);
}
.kpi-prev { left: 10px; }
.kpi-next { right: 10px; }

@media (max-width: 768px) {
    .slide_kpi {
        width: 100px;
        height: 80px;
    }
}
