.comment-item{
    width: 100%;
    border: 1px solid var(--gray-color);
    background: #fff;
    border-radius: 4px;
    margin-bottom: 20px;
    padding: 20px;
    position: relative;
    box-sizing: border-box;
}
.comment-item-group {
    margin-bottom: 20px;
}
.comment-item-group > .comment-item {
    margin-bottom: 0;
}
.comment-item-group > .comment-item--reply {
    width: calc(100% - 24px);
    margin: 12px 0 0 24px;
    background: #f8f9fb;
    border-color: #e7eaf0;
}
.comment-item--reply {
    display: flex;
    flex-direction: column;
}
.feature.feature--reply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    width: 24px;
    height: 24px;
    margin-right: 12px;
    color: #7a8090;
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
}
.feature.feature--reply::before {
    content: "↳";
}
.comment-reply-label {
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    color: #7a8090;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.comment-user-name--reply {
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.2;
}
.comment-item .feature{
    margin-right: 15px;
}
.feature-choice label{
    display: flex;
}
#content-cabinet .tab-header{
    margin-bottom: 0;
}
.comment-status-blue{
    color: #E02020;
}
.comment-status-red{
    color: #f17979;
}
caption{
    display:block;
}

.comment-item-img:before {
    content: none;
    display: none;
}
.comment-title{
   display: flex;
    flex-direction: column;
}
.comment-user-name{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-weight: bold;
    font-size: 18px;
    line-height: 21px;
    color: #002F34;
    margin-bottom: 10px;
}
.comment-message{
    margin-bottom: 10px;
}
.comment-text{
    margin-bottom: 15px;
}
.comment-date{
    font-weight: normal;
    font-size: 12px;
    line-height: 14px;
    color: var(--gray-color-dark);
    margin-bottom: 10px;
}
.comment-wrapper .comment-date{
    margin-bottom: 0;
}
.comment-message a:hover{
    text-decoration: underline;
}
.comment-wrap h3 {
    font-weight: 700;
    color: #000000;
}

.feature.feature--stars {
    min-width: 96px;
}

.star-rating {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    line-height: 1;
}

.star-rating__star {
    color: #d9d9d9;
    font-size: 18px;
}

.star-rating__star.is-filled {
    color: #ffb400;
}

.comment-reviewer-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    font-weight: 400;
    font-size: 12px;
    line-height: 1;
}

.comment-reviewer-meta__item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #434856;
}

.comment-reviewer-meta__item--positive {
    background: #e8f5e9;
    color: #2e7d32;
}

.comment-reviewer-meta__item--negative {
    background: #ffebee;
    color: #c62828;
}

.comment-reviewer-meta__link {
    color: #406367;
    text-decoration: underline;
    font-size: 12px;
    padding: 5px 0;
}

.comment-reviewer-meta__link:hover {
    color: #002F34;
}

.comment-reviewer-stats {
    font-weight: 400;
    font-size: 13px;
    line-height: 1.4;
    color: var(--gray-color-dark);
}

.comment-reviewer-stats__link {
    color: #406367;
    text-decoration: underline;
}

.comment-reviewer-stats__link:hover {
    color: #002F34;
}

.author-written-reviews-title {
    font-size: 20px;
    font-weight: 700;
    color: #002F34;
    margin: 0 0 20px;
}

.author-review-form {
    width: 100%;
    border: 1px solid var(--gray-color);
    background: #fff;
    border-radius: 4px;
    margin-bottom: 20px;
    padding: 20px;
    box-sizing: border-box;
}

.author-review-form__title {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 700;
    color: #002F34;
}

.author-review-form__notice {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.5;
    color: #434856;
}

.author-review-form__preview {
    margin-bottom: 16px;
    padding: 0;
    border: none;
}

.author-review-form__preview.comment-item {
    margin-bottom: 16px;
}

.author-review-form__actions {
    display: flex;
    justify-content: flex-end;
}

.author-review-form__form .comment-wrapper,
.author-review-form__edit-holder .comment-wrapper {
    padding: 0;
}

.author-review-form__edit-holder {
    margin-top: 4px;
}

.author-review-form .comment-wrapper,
.author-review-form .comment-wrapper .comments,
.author-review-form .comment-wrapper .col-md-12,
.author-review-form .comment-form-container,
.author-review-form .comment-box,
.author-review-form .form-group {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.author-review-form .comment-box textarea,
.author-review-form .comment-form-container textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .author-review-form {
        padding: 16px;
    }

    .author-review-form .comment-box-partial .button-container {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .author-review-form .comment-box-partial .float-left,
    .author-review-form .comment-box-partial .float-right {
        float: none;
        width: 100%;
    }

    .author-review-form .comment-box-partial .float-right .btn-comment {
        width: 100%;
    }
}