/**
 * Styles for the Reviews Listing Page
 */

.reviews-archive-page {
    padding: 0;
}

.reviews-archive-page .page-header {
    margin-bottom: 40px;
    text-align: center;
}

.reviews-archive-page .page-title {
    font-size: 5rem;
    margin-bottom: 20px;
}

.reviews-archive-page .page-description {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 18px;
    color: #555;
}

/* Filters */
.reviews-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
    background-color: #f7f7f7;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 4px 4px 0px 0px rgba(0,0,0,1);
}

.filter-group {
    display: flex;
    flex-direction: column;
    min-width: 200px;
}

.filter-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.filter-group select {
    padding: 10px 15px;
    border-radius: 4px;
    border: 1px solid #ddd;
    background-color: white;
    font-size: 16px;
    cursor: pointer;
}

/* Reviews Grid */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

/* Review Card */
.review-card {
    background-color: white;
    border-radius: 0;
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.8);
    padding: 25px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 3px solid #000;
    position: relative;
    cursor: pointer;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-card-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Make sure other interactive elements remain clickable */
.review-card .product-link,
.review-card .review-image,
.review-card .read-full-review {
    position: relative;
    z-index: 2;
}

/* Review Header */
.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.reviewer-info {
    flex: 1;
}

.reviewer-name {
    font-size: 18px;
    margin: 0 0 5px;
    font-weight: 600;
}

.reviewer-role {
    display: block;
    font-size: 14px;
    color: #666;
}

.review-meta {
    text-align: right;
    font-size: 14px;
}

.verified-badge {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 8px;
}

.review-date {
    color: #777;
}

/* Rating Stars */
.review-rating {
    margin-bottom: 15px;
}

.star {
    font-size: 22px;
    color: #ddd;
    margin-right: 2px;
}

.star.filled {
    color: #FFC107;
}

/* Product Link */
.review-product {
    margin-bottom: 15px;
    font-size: 15px;
}

.review-for {
    color: #666;
    margin-right: 5px;
}

.product-link {
    color: #0066cc;
    font-weight: 500;
    text-decoration: none;
}

.product-link:hover {
    text-decoration: underline;
}

/* Review Title and Content */
.review-title {
    font-size: 20px;
    margin: 0 0 15px;
    color: #222;
}

.review-content {
    color: #444;
    line-height: 1.6;
    margin-bottom: 20px;
}

.review-content p:last-child {
    margin-bottom: 0;
}

/* Review Images */
.review-images {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.review-image {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.review-image:hover {
    transform: scale(1.05);
}

.review-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* No Reviews Message */
.no-reviews,
.no-reviews-filtered {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    background-color: #f9f9f9;
    border-radius: 8px;
    font-size: 18px;
    color: #555;
}

/* Read full review button */
.review-actions {
    margin-top: 15px;
    text-align: right;
}

.read-full-review {
    display: inline-block;
    background-color: #ff69b4;
    color: #fff;
    border: 2px solid #000;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.8);
    padding: 8px 15px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.2s;
}

.read-full-review:hover {
    background-color: #e5509e;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .review-header {
        flex-direction: column;
    }
    
    .review-meta {
        text-align: left;
        margin-top: 10px;
    }
    
    .filter-group {
        width: 100%;
    }
} 