/* Review System Styles */

/* Reviews Section */
.reviews-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid rgba(244, 192, 72, 0.3);
}

.reviews-section h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 30px;
}

.reviews-section h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 20px;
}

/* Rating Summary */
.rating-summary {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 2px solid rgba(244, 192, 72, 0.3);
}

.average-rating {
    text-align: center;
}

.rating-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 10px;
}

.rating-stars {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 10px;
}

.rating-stars i {
    margin: 0 2px;
}

.rating-count {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.rating-breakdown {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}

.rating-bar {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    align-items: center;
    gap: 15px;
    font-size: 0.9rem;
}

.rating-bar span:first-child {
    color: var(--gold);
    font-weight: 600;
}

.rating-bar span:last-child {
    color: rgba(255, 255, 255, 0.7);
    text-align: right;
}

.bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.bar .fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), #d4a02c);
    transition: width 0.3s;
}

/* Add Review Form */
.add-review-form {
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 2px solid rgba(244, 192, 72, 0.3);
}

.star-rating {
    display: flex;
    gap: 10px;
    font-size: 2rem;
    cursor: pointer;
}

.star-rating i {
    color: var(--gold);
    transition: all 0.2s;
}

.star-rating i:hover {
    transform: scale(1.2);
}

.btn-submit-review {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--gold), #d4a02c);
    color: var(--black);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.btn-submit-review:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(244, 192, 72, 0.5);
}

/* Reviews List */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.no-reviews {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    padding: 40px;
    font-style: italic;
}

.review-card {
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 2px solid rgba(244, 192, 72, 0.2);
    transition: all 0.3s;
}

.review-card:hover {
    border-color: var(--gold);
    transform: translateX(5px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #d4a02c);
    color: var(--black);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.reviewer-name {
    font-weight: 600;
    color: var(--white);
    font-size: 1.1rem;
}

.review-date {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.review-rating {
    color: var(--gold);
    font-size: 1.2rem;
}

.review-comment {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border-left: 3px solid var(--gold);
}

/* Admin Reviews */
.reviews-admin-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-admin-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(244, 192, 72, 0.3);
    border-radius: 15px;
    padding: 25px;
}

.review-admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(244, 192, 72, 0.2);
}

.review-admin-header h4 {
    margin: 0;
    color: var(--gold);
}

.review-admin-body {
    margin-bottom: 20px;
}

.review-admin-body p {
    margin: 10px 0;
    color: rgba(255, 255, 255, 0.9);
}

.review-admin-actions {
    display: flex;
    gap: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .rating-summary {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .rating-number {
        font-size: 3rem;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .reviewer-info {
        width: 100%;
    }
    
    .review-admin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .review-admin-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .review-admin-actions button {
        width: 100%;
    }
}
