/* Safe Fleet customer rating. */

.sf-rating {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 34px;

    width: min(100%, 602px);
    min-height: 66px;

    padding: 17px 24px;

    color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.06);

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 15px;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.sf-rating__customers,
.sf-rating__value {
    display: flex;
    align-items: center;
}

.sf-rating__customers {
    gap: 16px;
    min-width: 0;
}

.sf-rating__avatars {
    flex: 0 0 auto;

    width: 81px;
    height: 30px;

    object-fit: contain;
}

.sf-rating__text {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.44;
    white-space: nowrap;
}

.sf-rating__value {
    flex: 0 0 auto;

    gap: 8px;
    white-space: nowrap;
}

.sf-rating__stars {
    flex: 0 0 auto;

    width: 80px;
    height: 16px;
}

.sf-rating__score {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.44;
}

@media (max-width: 1200px) {
    .sf-rating {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 900px) {
    .sf-rating {
        align-items: center;
        flex-direction: row;
    }
}

@media (max-width: 640px) {
    .sf-rating {
        align-items: flex-start;
        flex-direction: column;

        width: 100%;
        gap: 12px;
        padding: 16px 18px;
    }

    .sf-rating__customers {
        align-items: flex-start;
    }

    .sf-rating__text {
        font-size: 15px;
        white-space: normal;
    }

    .sf-rating__score {
        font-size: 16px;
    }
}
