.feedback {
    padding: 0;
    margin: 60px 0 90px 0;
}

.feedback-body {
    display: flex;
    gap: 30px;
    flex-direction: row;
    align-items: flex-start;
    margin: 30px 60px 40px 60px;
    padding: 0;
    height: 276px;
}

.message {
    width: 78%
}

.full-star {
    content: url(../../static/images/rating/star-fill.svg);
}

.half-star {
    content: url(../../static/images/rating/star-half.svg);
}

.empty-star {
    content: url(../../static/images/rating/star.svg);
}

.rating {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 1rem;
}

.review-course-name {
    margin-bottom: 0;
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 15px;
}

.rating-num {
    display: inline-block;
    font-size: 20px;
    font-weight: 500;
    margin-top: 3px;
}

.message-header-text h4 {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 15px;
}

.message-header-text h3 {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 15px;
}

.message-text h4 {
    font-weight: 700;
}

.message-text {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0;
}

.body-feedback-img {
    width: 200px;
    height: 260px;
    position: relative;
    object-fit: cover;
    border-radius: 10px;
}

#carouselFeedback .carousel-indicators {
    display: none;
}

.carousel .carousel-indicators button {
    background-color: #C0C0C0;
}

.carousel .carousel-indicators button.active {
    background-color: #38C4BD;
}

#carouselFeedback .carousel-control-prev {
    position: relative;
    left: 80%;
    transition: 0.2s;
}

#carouselFeedback .carousel-control-next {
    position: relative;
    top: -28px;
    left: 91%;
    width: 85px;
    height: 30px;
}

#carouselFeedback .carousel-control-prev svg path, 
#carouselFeedback .carousel-control-next svg path{
    transition: 0.2s;
}
#carouselFeedback .carousel-control-prev:hover svg path, 
#carouselFeedback .carousel-control-next:hover svg path{
    fill: #2CAAA4;
}

@media (max-width: 1400px) {
    .feedback-body {
        margin: 30px 0 40px 0;
    }
    .message-text {
        font-size: 15px;
    }
}

@media (max-width: 1999px) {
    .feedback-body {
        height: 310px;
    }
}

@media (max-width: 992px) {
    .feedback-body {
        height: 410px;
    }
}

@media (max-width: 991px) {
    .carousel-indicators button {
        background: #C0C0C0;
        width: 15px !important;
        height: 15px !important;
        border-radius: 50%;
    }
}

@media (max-width: 767px) {
    #carouselFeedback .carousel-indicators {
        display: flex;
        bottom: -65px !important;
    }
    #carouselFeedback .carousel-control-prev,
    #carouselFeedback .carousel-control-next {
        display: none;
    }
    #carouselFeedback .carousel-item {
        padding-bottom: 0px;
        margin-bottom: 0px;
    }
    .feedback-body {
        border-radius: 10px;
        padding: 20px;
        display: flex;
        height: fit-content;
        margin: 0;
        background-color: #F4F4F4;
        gap: 15px;
    }
    .message {
        width: 100%;
    }
    .message-text {
        width: 100%;
        border-right: 20px solid #f4f4f4;
        border-left: 20px solid #f4f4f4;
        border-bottom: 20px solid #f4f4f4;
        background: #f4f4f4;
        border-radius: 0 0 10px 10px;
        position: absolute;
        left: 0;
        right: 20px;
        font-size: 14px;
    }
    .message-header-text h4 {
        margin-bottom: 5px;
        font-size: 14px;
    }
    .message-header-text h3 {
        margin-bottom: 5px;
        font-size: 14px;
    }
    .review-course-name {
        margin-bottom: 0;
        font-size: 16px;
    }
    .body-feedback-img {
        width: 54px;
        height: 70px;
    }
    .feedback-body-container {
        height: 450px;
    }
}

@media (max-width: 500px) {
    .message-text {
        border-right: 10px solid #f4f4f4;
        border-left: 10px solid #f4f4f4;
        border-bottom: 10px solid #f4f4f4;
        font-size: 0.8rem;
        right: 10px;
    }
    .review-avatar {
        width: 70px !important;
        height: 70px !important;
    }
    .feedback-body {
        padding: 20px 10px 20px 10px;
    }
}

@media (max-width: 440px) {
    .feedback-body-container {
        height: 490px;
    }
}

@media (max-width: 370px) {
    .feedback-body-container {
        height: 588px;
    }
}
