
.Review1 {
    width: 101%;
    margin: auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px #0000001a;
}


.rating span {
    font-size: 30px;
    cursor: pointer;
    color: gray;
}

.rating span:hover,
.rating span.selected {
    color: gold;
}

textarea {
    width: 100%;
    height: 100px;
    margin-top: 10px;
}

button {
    background: rgb(128, 126, 0);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    margin-top: 10px;
        pointer-events: auto; /* Ensure clicks work */
        display: block; /* Ensure button is visible */
}

button:hover {
    background: darkgreen;
}

/* Scrollable Reviews Section */
.reviews-container {
    max-height: 300px; /* Fixed height */
    overflow-y: auto;  /* Enable scrolling */
    padding: 10px;
    background: #f9f9f9;
    border-radius: 5px;
    border: 1px solid #ddd;
    width: 100%; /* Full width */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.reviews-list {
    max-height: 250px; /* Show only 3-4 reviews before scrolling */
    overflow-y: auto; /* Enables scrollbar when needed */
    border: 1px solid #ddd; /* Light border for styling */
    padding: 10px;
    background-color: #fff;
    border-radius: 5px;
    width: 100%; /* Ensure it fits properly */
}



.review-item:last-child {
    border-bottom: none; /* Remove border for the last review */
}


/* Button to Toggle Reviews */
.toggle-btn {
    background-color: #4CAF50;
    color: white;
    padding: 10px 15px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
    transition: 0.3s;
    border-radius: 5px;
}

/* Review Container */
.review-container {
    position: relative;
    max-width: 400px;
}

/* Reviews List (Initially Hidden) */
.reviews-list {
    display: none; /* Hidden by default */
    background-color: white;
    padding: 10px;
    max-height: 200px; /* Limit height to enable scroll */
    overflow-y: auto;
    border: 1px solid #ddd;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    margin-top: 5px;
}

/* Review Item Styling */
.review-item {
    padding: 8px;
    border-bottom: 1px solid #eee;
}

.review-item:last-child {
    border-bottom: none;
}

.review-name {
    font-weight: bold;
    color: #333;
}

.review-rating {
    color: #ffcc00; /* Gold star color */
}

.review-text {
    font-size: 14px;
    color: #555;
}

