.not_review{
    font-weight: 500;
    font-size: 22px;
    margin-top: 10px;
}
.review__item {
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 15px;
    margin: 10px 0;
}
.review__item .block_name {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}
.review__item .block_name .name {
    font-weight: 700;
}

.rating__stars span {
    width: 42px;
    padding: 0;
    font-size: 20px;
    line-height: 24px;
    color: lightgrey;
}
.rating__stars span.active {
    color: gold;
}
.rating__stars span::before {
    content: "★";
}

.files {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.tab-reviews {
    display: grid;
    grid-template-columns: 1fr 365px;
    gap: 30px;
}


/*reviews block*/
#reviews .result {
    color: #f47922;
    margin-bottom: 10px;
}

.tab-reviews {
    display: grid;
    grid-template-columns: 1fr 500px;
    gap: 30px;
}

.tab-reviews-text {
    margin-top: 15px;
    max-width: 700px;
    border-radius: 20px;
    background: #F5F5F7;
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.30);
    padding: 40px;
    height: min-content;
}

.tab-reviews-text .title__block__reviews {
    color: #000;
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 25px;
}

.tab-reviews-text input:not(input[type="submit"]),
.tab-reviews-text textarea {
    border-radius: 10px;
    background: #FFF;
    padding: 15px 24px;
    color: #838383;
    font-size: 15px;
    font-weight: 400;
    width: 100%;
    margin-bottom: 15px;
    outline: none;
    border: none;
}


.tab-reviews-text input[type="submit"] {
    width: 100%;
    border-radius: 10px;
    background: rgb(0, 159, 227);
    padding: 10px 30px;
    color: #FFF;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    height: 54px;
    outline: none;
    border: none;
}

.tab-reviews-text input[type="submit"]:hover,
.tab-reviews-text input[type="submit"]:focus {
    background: #6bdb3d;
}

.rating__stars span {
    width: 42px;
    padding: 0;
    font-size: 24px;
    line-height: 24px;
    color: lightgrey;
}

.rating__stars span:before {
    content: "★";
}

.rating__stars span.active {
    color: gold;
}

.review__item {
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 15px;
    margin: 10px 0;
}

.review__item .block_name {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.review__item .block_name .name {
    font-weight: 700;
}

.rating-area {
    overflow: hidden;
    display: inline-flex;
    flex-direction: row-reverse;
    margin: 0 0 15px;
}

.rating-area:not(:checked)>input {
    display: none;
}

.rating-area:not(:checked)>label {
    float: right;
    width: 42px;
    padding: 0;
    cursor: pointer;
    font-size: 32px;
    line-height: 32px;
    color: lightgrey;
    text-shadow: 1px 1px #bbb;
}

.rating-area:not(:checked)>label:before {
    content: '★';
}

.rating-area>input:checked~label {
    color: gold;
    text-shadow: 1px 1px #c60;
}

.rating-area:not(:checked)>label:hover,
.rating-area:not(:checked)>label:hover~label {
    color: gold;
}

.rating-area>input:checked+label:hover,
.rating-area>input:checked+label:hover~label,
.rating-area>input:checked~label:hover,
.rating-area>input:checked~label:hover~label,
.rating-area>label:hover~input:checked~label {
    color: gold;
    text-shadow: 1px 1px goldenrod;
}

.rate-area>label:active {
    position: relative;
}




/* стилизация прикрепления файлов*/

.error {
    color: red;
    font-weight: 600;
    margin-bottom: 10px;
}

.input-file-row {
    display: inline-block;
}

.input-file {
    position: relative;
    display: inline-block;
}

.input-file span {
    position: relative;
    display: inline-block;
    cursor: pointer;
    outline: none;
    text-decoration: none;
    font-size: 14px;
    vertical-align: middle;
    color: rgb(255 255 255);
    text-align: center;
    border-radius: 4px;
    background-color: rgb(0, 159, 227);
    line-height: 22px;
    height: 40px;
    padding: 10px 20px;
    box-sizing: border-box;
    border: none;
    margin: 0;
    transition: background-color 0.2s;
    outline: none;
}

.input-file input[type=file] {
    position: absolute;
    z-index: -1;
    opacity: 0;
    display: block;
    width: 0;
    height: 0;
}

/* Focus */
.input-file input[type=file]:focus+span {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, .25);
}

/* Hover/active */
.input-file:hover span {
    background-color: #6bdb3d;
}

.input-file:active span {
    background-color: #4c3376;
}

/* Disabled */
.input-file input[type=file]:disabled+span {
    background-color: #eee;
}

/* Список c превью */
.input-file-list {
    padding: 10px 0;
    display: flex;
    flex-wrap: wrap
}

.input-file-list-item {
    display: inline-block;
    margin: 0 15px 15px;
    width: 50px;
    vertical-align: top;
    position: relative;
}

.input-file-list-item img {
    width: 100%;
}

.input-file-list-name {
    text-align: center;
    display: block;
    font-size: 12px;
    text-overflow: ellipsis;
    overflow: hidden;
}

.input-file-list-remove {
    color: #fff;
    text-decoration: none;
    display: inline-block;
    position: absolute;
    padding: 0;
    margin: 0;
    top: 5px;
    right: 5px;
    background: #ff0202;
    width: 16px;
    height: 16px;
    text-align: center;
    line-height: 13px;
    border-radius: 50%;
}

.review__item.hidden{
    display: none;
}



@media screen and (max-width: 1024px) {
    .tab-reviews {
        grid-template-columns: 100%;
        gap: 10px;
    }

    .tab-reviews-text {
        width: 99%;
        margin: 0 auto;
        padding: 25px;
    }
}