/* Review Section Styles */
.review-section {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    box-shadow: 0 0 15px var(--shadow-color);
}

.review-section h2 {
    text-align: center;
    font-family: 'Great Vibes', cursive;
    font-size: 2.2em;
    margin-bottom: 30px;
    color: var(--primary-color);
    font-weight: normal;
}

.review-section h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5em;
    margin-bottom: 20px;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

/* Review Form Styles */
.review-form-container {
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 1.1em;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.5);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1em;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 5px rgba(130, 172, 124, 0.3);
}

/* Star Rating Styles */
.star-rating {
    display: flex;
    font-size: 1.8em;
    color: #ccc;
    cursor: pointer;
}

.star {
    margin-right: 5px;
    transition: color 0.2s ease;
}

.star:hover,
.star.selected {
    color: #FFD700; /* Gold color for selected stars */
}

/* Submit Button Styles */
.submit-review-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 30px auto 0;
    border-radius: 2px;
}

.submit-review-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Reviews List Styles */
.reviews-container {
    margin-top: 40px;
}

.review-item {
    padding: 20px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.review-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.reviewer-name {
    font-weight: bold;
    font-size: 1.1em;
    color: var(--text-color);
}

.review-date {
    font-size: 0.9em;
    color: var(--text-color);
    opacity: 0.7;
}

.review-rating {
    margin-bottom: 10px;
    color: #FFD700; /* Gold color for stars */
}

.review-comment {
    line-height: 1.6;
    color: var(--text-color);
}

.no-reviews-message {
    text-align: center;
    padding: 20px;
    font-style: italic;
    color: var(--text-color);
    opacity: 0.7;
}

/* Pagination Styles */
.reviews-pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination-button {
    background: var(--background-color);
    border: 1px solid var(--border-color);
    padding: 8px 15px;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-button:hover {
    background: var(--primary-color);
    color: white;
}

.pagination-button.active {
    background: var(--primary-color);
    color: white;
}

/* Message Container Styles */
.message-container {
    margin-bottom: 20px;
}

.message {
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 4px;
    position: relative;
    animation: fadeIn 0.3s ease;
}

.message.success {
    background-color: rgba(130, 172, 124, 0.2);
    border-left: 4px solid var(--accent-color);
    color: var(--accent-color);
}

.message.error {
    background-color: rgba(220, 53, 69, 0.1);
    border-left: 4px solid #dc3545;
    color: #dc3545;
}

.close-message {
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
    font-size: 1.2em;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.close-message:hover {
    opacity: 1;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Loading Styles */
.loading-reviews {
    text-align: center;
    padding: 20px;
    color: var(--text-color);
    font-style: italic;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .review-section {
        padding: 20px;
    }
    
    .review-section h2 {
        font-size: 1.8em;
    }
    
    .review-section h3 {
        font-size: 1.3em;
    }
    
    .star-rating {
        font-size: 1.5em;
    }
}

@media screen and (max-width: 480px) {
    .review-section {
        padding: 15px;
    }
    
    .review-section h2 {
        font-size: 1.6em;
    }
    
    .form-group label {
        font-size: 1em;
    }
    
    .star-rating {
        font-size: 1.3em;
    }
    
    .submit-review-btn {
        padding: 10px 20px;
        font-size: 1em;
    }
}
