body {
    font-family: Arial, sans-serif;
}

.review-container {
    width: 100%;
    max-width: 600px;
  
	
    padding: 15px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.review-average {
    font-size: 24px;
    margin-bottom: 10px;
}

.rating {
    display: flex;
    align-items: center;
}

.star-count {
    flex: 1;
}

.bar-container {
    flex: 8;
    background-color: #f0f0f0;
    margin: 0 10px;
    height: 10px;
    position: relative;
}

.bar-5, .bar-4 {
    height: 100%;
    position: absolute;
    background-color: gold;
}

.bar-5 {
    width: 95%;
}

.bar-4 {
    width: 4%;
}

.percentage {
    flex: 1;
    text-align: right;
}

button {
    padding: 10px;
    background-color: blue;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    width: 100%;
}

button:hover {
    background-color: darkblue;
}







.review-form {
    background: white;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    width: 100%;
    max-width:800px;
	margin-top:8%;
   
}

.form-row {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

textarea {
    height: 120px;
    resize: vertical;
}

button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
}

button:hover {
    background-color: #45a049;
}

.rating {
    font-size: 24px;
}

.star {
    cursor: pointer;
    color: #ccc;
}

.star:hover,
.star.active {
    color: gold;
}



.review-list {
    width: 100%;
    max-width: 1000px;
	margin-top:7%;
   
}

.review {
    position: relative;
    background: white;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.review-header {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

.review-author {
    font-weight: bold;
}

.verified {
    margin-left: 10px;
    color: #007BFF;
    font-size: 14px;
}

.review-date {
    float: right;
    color: #666;
}

.review-rating {
    color: gold;
    font-size: 20px;
    margin-bottom: 5px;
}

.review-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.review-body {
    font-size: 16px; /* Ensuring text is legible */
    line-height: 1.4;
    color: #333;
    margin-bottom: 10px;
}

.review-footer {
    position: absolute;
    bottom: 10px; /* Adjust as needed */
    right: 15px; /* Adjust as needed */
    font-size: 14px;
    color: #777;
}

.review-footer button {
    font-size: 16px; /* Larger font size for readability */
    padding: 8px 12px; /* Larger padding for better touch target */
    margin: 0 5px; /* Adequate spacing between buttons */
    background: none;
    border: none;
    color: #007BFF;
    cursor: pointer;
}

.review-footer button:hover,
.review-footer button:focus { /* Focus for accessibility */
    background-color: #f0f0f0;
    border-radius: 5px;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .review-footer {
        position: static; /* To prevent absolute positioning issues */
        text-align: center; /* Center aligning for better aesthetics */
        padding-top: 10px; /* Space above the footer content */
    }
}