// stylelint-disable max-nesting-depth, selector-max-compound-selectors

.kpi-container {
    margin-right: 12px;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 350px;
    height: 140px;
    background-color: $color-bg-white;

    .top-container {
        width: 100%;
        display: flex;
        justify-content: space-between;
        padding: 0 15px;
        margin-bottom: 10px;

        .left-container {
            padding-left: 5px;
            height: 75px;
            display: flex;
            justify-content: flex-start;
            align-items: center;

            .total-container {
                font-size: 84px;
                font-style: normal;
                font-weight: bolder;
                text-overflow: ellipsis;
                overflow: hidden;
                white-space: nowrap;
            }
        }

        .right-container {
            padding-right: 10px;
            height: 75px;
            width: 75px;
            display: flex;
            flex-direction: row;
            justify-content: flex-end;
            align-items: center;

            .icon {
                font-size: 60px;
                color: $color-text-slate-gray;
            }
        }

    }

    .title {
        padding-left: 15px;
        width: calc(100% - 15px);
        font-size: 14px;
        font-weight: normal;
        height: 25px;
    }

    &.mobile {
        margin-right: 0;
        margin-bottom: 12px;
    }
}
