
.scale {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content
}

.scale--full {
    width: 100%
}

.scale__wrapper {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center
}

@media only screen and (min-width: 1000px) {
    .scale--single-line .scale__wrapper {
        flex-direction:row;
        justify-content: center
    }
}

.scale__upper-text {
    align-self: flex-start;
    margin: 0 auto
}

.scale--single-line .scale__upper-text,.scale--full .scale__upper-text {
    margin: 0
}

@media only screen and (min-width: 1000px) {
    .scale__upper-text {
        font-size:14px;
        line-height: 1.8
    }

    .scale--single-line .scale__upper-text {
        order: 1;
        margin-left: 16px;
        line-height: 14px;
        min-height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%
    }
}

.scale__container {
    display: flex;
    gap: 10px;
    align-items: center
}

.scale--full .scale__container {
    width: 100%
}

.scale__bar {
    height: 30px;
    border: 1px solid #154c54;
    border-radius: 50px;
    background-color: #faf9fa;
    width: 200px;
    overflow: hidden
}

.scale--full .scale__bar {
    width: 100%
}

.scale__progress {
    background-color: #154c54;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center
}

.scale__text {
    color: #fff;
    font-weight: 700;
    text-wrap: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #154c54;
    padding: 0 4px;
    height: 100%
}

@media only screen and (min-width: 1000px) {
    .scale__text {
        font-size:14px;
        line-height: 1.8
    }
}

.scale__icon {
    font-size: 30px;
    min-width: 30px
}
