

.rating-system {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 300px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stars {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.star {
    font-size: 30px;
    cursor: pointer;
    color: #ccc;
    transition: color 0.2s;
}

.star.selected,
.star:hover,
.star:hover ~ .star {
    color: gold;
}

.star:hover ~ .star {
    color: #ccc !important;
}

textarea {
    width: 100%;
    height: 80px;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: none;
}

#postBtn {
    padding: 10px 20px;
    border: none;
    background-color: #fd9c6b;
    color: #fff;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
}

#postBtn:hover {
    background-color: #e07b49;
}

.reviews-container {
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    margin-top: 20px;
}

#reviewsList {
    list-style: none;
    padding: 0;
}

li {
    background: #f8f9fa;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: left;
}

.saved {
    color: gold;
    font-size: 20px;
}


@media (max-width: 600px) {
    .rating-system {
        padding: 10px;
    }

    .star {
        font-size: 25px;
    }

    button {
        padding: 10px;
        font-size: 14px;
    }

    .saved {
        font-size: 15px;
    }

    textarea {
        height: 60px;
        font-size: 14px;
    }

    .reviews-container {
        max-height: 200px;
    }
}
