.review-section h4 {
    margin-bottom: 20px;
}

/* Form Styling */
#review-section form {
    margin-bottom: 30px;
}

#review-section textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.rating {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
}

.star {
    font-size: 30px;
    cursor: pointer;
    color: #ccc;
    margin-top: -10px;
}

.star.active, .star:hover {
    color: #f1c40f;
}

#submit-review {
    padding: 10px 20px;
    border: none;
    background-color: #007bff;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

#submit-review:hover {
    background-color: #0068d6;
}

/* Reviews Styling */
.reviews {
    margin-top: 20px;
}

.review-item {
    padding: 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.review-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}

.delete-review {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 1.2em;
    color: red;
    cursor: pointer;
}

.review-username {
    font-weight: bold;
    color: #2c3e50;
}

.review-rating {
    color: #f1c40f;
    margin-top: 5px;
    font-size: 1.2em;
    position: relative;
    left: -6px;
}

.review-text {
    margin: 10px 0;
    line-height: 1.5;
    color: #34495e;
}

.review-date {
    font-size: 12px;
    color: #7f8c8d;
}

.no-reviews {
    text-align: center;
    color: #7f8c8d;
    margin-top: 20px;
}

.review-actions {
    display: inline-block;
    margin-left: 10px;
    font-size: 14px;
    cursor: pointer;
}
.review-actions .edit-review {
    color: #4caf50;
    margin-right: 5px;
}
.review-actions .delete-review {
    color: #f44336;
}
