/* General Styling */
body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}

/* Review Container */
.review-container {
    width: 70%;
    
    margin: 20px auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Review Form */
.review-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.review-form input, 
.review-form textarea, 
.review-form select, 
.review-form button {
    
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.review-form textarea {
    resize: vertical;
    height: 80px;
}

.review-form button {
    background: #28a745;
    color: #fff;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.review-form button:hover {
    background: #218838;
}

/* Reviews Display */
.review-list {
    margin-top: 20px;
    
    overflow-y: auto;
}

.review-item {
    background: #fff;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.05);
}

/* User & Date Styling */
.review-item .user-info {
    font-weight: bold;
    color: #333;
}

.review-item .date {
    font-size: 7px;
    color: #777;
}


.reviewText{
    
    font-size: .85em;
    
}
/* Star Rating */
.star-rating {
    color: #FFD700;
    font-size: 18px;
}

.review{
    position: relative;
    margin: 10px 0px 15px 0px;
}
.rating{
    position: absolute;
    top: 0px;
    right:10px;
}

/* Responsive */
@media (max-width: 768px) {
    .review-container {
        width: 90%;
    }
}