﻿.rating-wrapper {
    position: relative;
    background-color: rgba(200, 200, 200, 1);
    width: fit-content;
}

    .rating-wrapper .stars-overlay {
        background-image: url('../images/main/rating-stars.png');
        background-repeat: no-repeat;
        background-size: cover;
        width: 100%;
        height: 100%;
        z-index: 10;
        position: absolute;
        top: 0px;
        left: 0px;
    }

    .rating-wrapper .rating-progress {
        background-color: rgba(255, 215, 0, 1);
        height: 100%;
        width: 0%;
        z-index: 5;
        position: absolute;
        top: 0px;
        left: 0px;
    }

    .rating-wrapper .input-rating-wrapper {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-evenly;
        z-index: 15;
        position: absolute;
        top: 0px;
        left: 0px;
    }

        .rating-wrapper .input-rating-wrapper > button {
            background-color: transparent;
            border: none;
            width: 20%;
            height: 100%;
        }

.review-btn {
    border: none;
    background-color: rgba(0, 114, 188, 1);
    color: white;
    border-radius: 7px;
    width: 70%;
    padding: 5px;
    margin: 5px 0px;
    max-width: 275px;
}

.review-btn-cancel {
    background-color: rgba(229, 229, 229, 1);
    border: none;
    color: black;
    border-radius: 7px;
    width: 70%;
    padding: 5px;
    margin: 5px 0px;
    max-width: 275px;
}

.review-summary-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0px;
    align-items: center;
}

    .review-summary-wrapper > .rating {
        font-size: 40px;
    }

    .review-summary-wrapper > .amount {
        color: rgba(0, 114, 188, 1);
        font-size: 25px;
    }

.chart-star-text {
    color: rgba(255, 215, 0, 1);
}

.rating-chart-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    height: 100%;
}

    .rating-chart-wrapper .rating-row {
        display: flex;
        flex-direction: row;
        align-content: center;
        justify-content: flex-end;
        gap: 5px;
    }

    .rating-chart-wrapper .rating-row-start {
        display: flex;
        flex-direction: row;
        align-content: center;
        justify-content: flex-start;
        gap: 5px;
        width: 100%;
    }

        .rating-chart-wrapper .rating-row-start .progress-wrapper {
            min-width: 80%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

.show-more-comments-btn {
    border: none;
    background-color: rgba(229, 229, 229, 1);
    border-radius: 7px;
    width: 100%;
    padding: 5px 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.review-input-feedback {
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

.rating-invalid-wrapper {
    border: 1px solid #dc3545;
}

.review-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
}

    .review-container > .review-contents {
        margin-right: 20px;
        margin-left: 20px;
        width: 100%
    }

    .review-container > .review-header {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
    }

        .review-container > .review-header > .review-date {
            margin-left: auto;
            color: rgba(144, 144, 144, 1);
        }

        .review-container > .review-header > .rating-info {
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: flex-start;
            flex-grow: 1;
        }
