.ui.comments .comment {
    margin-bottom: 15px;
    border-bottom: 1px solid rgb(234 234 234);
    padding-bottom: 10px;
    padding-left: 20px;
}

.ui.comments .comment:last-child {
    border-bottom: 0px;
}

a.reply.replyCommentBtn {
    background: #506aeb;
    padding: 8px 15px;
    border-radius: 3px;
    display: inline-block;
    color: white !important;
    cursor: pointer;
}

a.reply.replyCommentBtn:hover {
    background: linear-gradient(45deg, #9350eb, #506aeb);
}

a.reply.editCommentBtn {
    background: #3D365C;
    padding: 8px 15px;
    border-radius: 3px;
    display: inline-block;
    color: white !important;
    cursor: pointer;
    margin-right: 5px;
}

a.reply.editCommentBtn:hover {
    background: linear-gradient(45deg, #3D365C, #7C4585);
}


.ui.comments.postdetail {
    display: inline-block;
    width: 100%;
    max-width: unset;
    background: rgb(29 36 54);
    margin: 5px;
    padding-top: 15px;
    border-radius: 4px;
    border: 1px solid rgb(48 57 80);
    height: calc(100% - 10px);
}

.comment-box {
    display: flex;
    gap: 15px;
    align-items: center;
}

.product-comment-box.comment-box {
    align-items: center;
}

.comment-group-box {
    border-bottom: 1px solid #1d2330;
    padding-block: 20px;
}

.comment-box .comment-user-avatar img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
}

.product-comment-box.comment-box .comment-user-avatar img {
    width: 50px;
    height: 50px;
}

.comment-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.comment-content .comment-text-box {
    background: #10141e;
    padding: 15px;
    border-radius: 5px;
    width: 80%;
}

.review-xl-container .comment-content .comment-text-box {
    width: 100%;
}

.comment-content .comment-text-box .comment-text {
    border-bottom: 1px solid #1d2332;
    padding-bottom: 15px;
    color: #b6c4e7;
}

.product-comment-box .comment-content .comment-text-box .comment-text {
    border: none;
    padding-bottom: 0;
}

.comment-detail {
    padding-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.comment-rating-boxes {
    display: flex;
    gap: 30px;
}

.comment-user-info {
    display: flex;
    gap: 20px;
}

.comment-user-info > *:after {
    content: "|";
    position: relative;
    color: #38425c;
    right: -10px;
}

.comment-box-answer {
    background: #0b0e16;
    padding: 15px;
    border-radius: 5px;
    position: relative;
    top: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-left: 50px;
}

.comment-user-info > span:after {
    display: none;
}

.comment-rating-boxes > div:after {
    content: "|";
    position: relative;
    right: -15px;
    color: #1d2332;
}

.comment-rating:last-child:after,
.comment-rating.no-after:after,
.comment-rating-boxes:last-child:after {
    display: none;
}

.comment-rating.no-after > b {
    padding-left: 0;
}

.comment-box-answer .answer-head {
    border-bottom: 1px solid #131722;
    padding-bottom: 10px;
    display: flex;
    gap: 20px;
}

.comment-box-answer .answer-head span.answer-title {
    color: #86c0e9;
    font-weight: 500;
}

@media only screen and (max-width: 768px) {
    .ui.comments.postdetail {
        margin: 0;
        margin-block: 5px;
    }

    .comment-box {
        flex-direction: column;
    }

    .comment-box .comment-user-avatar img {
        width: 50px;
        height: 50px;
    }

    .comment-content {
        width: 100%;
    }

    .comment-content .comment-text-box {
        width: 100%;
    }

    .comment-content .comment-detail {
        flex-direction: column;
    }

    .comment-content .comment-detail .comment-rating-boxes {
        flex-direction: column;
        gap: 10px;
    }

    .comment-content .comment-detail .comment-rating-boxes .comment-rating:after {
        display: none !important;
    }

    .comment-box-answer {
        margin-left: 0;
    }
}

span.review-point {
    position: absolute;
    top: 35px;
    right: -5px;
    background: #28a32d;
    padding: 0;
    font-size: 15px;
    border-radius: 50%;
    color: white;
    width: 30px;
    text-align: center;
    line-height: 30px;
}

.comment-user-avatar {
    position: relative;
}