/* Review Section Styles */
.product-reviews-content {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin: 2rem 0;
}

.reviews-header {
    margin-bottom: 2rem;
}

.reviews-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.8rem;
    color: #2c3e50;
    position: relative;
}

.reviews-title .review-icon {
    color: #ffd700;
    font-size: 1.5em;
}

.modern-review-list {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.review-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.review-header {
    background: linear-gradient(145deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.review-card:hover .reviewer-avatar img {
    transform: scale(1.05);
}

.reviewer-meta {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.reviewer-name {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
    font-family: "Jost", sans-serif;
    letter-spacing: 1px;
}

.review-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
    font-size: 12px;
    font-family: "Jost", sans-serif;
    letter-spacing: 1px;
}

.review-date i {
    color: #81ba2d;
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: #fff;
    padding: 0.6rem 1rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.stars-container {
    display: flex;
    gap: 3px;
}

.stars-container i {
    color: #ffd700;
    font-size: 1.1rem;
}

.rating-value {
    font-weight: 600;
    color: #2c3e50;
    font-family: "Jost", sans-serif;
    letter-spacing: 1px;
}

.review-content {
    padding: 1.5rem;
    color: #4a5568;
    line-height: 1.6;
    font-size: 16px;
    font-family: "Jost", sans-serif;
    letter-spacing: 1px;
}

.no-reviews {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(145deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.no-reviews i {
    font-size: 4rem;
    color: #81ba2d;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-reviews p {
    font-size: 15px;
    color: #6c757d;
    margin: 0;
    font-family: "Jost", sans-serif;
    letter-spacing: 1px;
}

/* Review Form Styles */
.modern-review-form {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.review-title {
    font-size: 1.6rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.modern-rating-form {
    margin-bottom: 1.5rem;
}

.modern-rating-form label {
    display: block;
    margin-bottom: 10px;
    color: #2c3e50;
    font-weight: 500;
    font-size: 18px;
}

/* Rating stars styles are now consolidated above */
.modern-textarea {
    width: 100%;
    min-height: 120px;
    padding: 1rem;
    border: 1px solid #e1e1e1;
    border-radius: 12px;
    resize: vertical;
    font-family: inherit;
    transition: all 0.3s ease;
    font-family: "Jost", sans-serif;
    letter-spacing: 1px;
}

.modern-textarea:focus {
    outline: none;
    border-color: #81ba2d;
    box-shadow: 0 0 0 3px rgba(129, 186, 45, 0.1);
}

.submit-review-btn {
    background: linear-gradient(135deg, #81ba2d, #5c8a1c);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    font-size: 15px;
    font-family: "Jost", sans-serif;
    letter-spacing: 1px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(129, 186, 45, 0.2);
}

.submit-review-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(129, 186, 45, 0.3);
}

.submit-review-btn i {
    font-size: 1.1rem;
}

.required {
    color: #dc3545;
    margin-left: 3px;
}

/* Alert Styles */
.modern-alert {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    animation: slideIn 0.3s ease;
    font-family: "Jost", sans-serif;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
}

.modern-alert.success {
    background: linear-gradient(145deg, #d4edda, #c3e6cb);
    color: #155724;
    border: 1px solid #c3e6cb;
}

.modern-alert.error {
    background: linear-gradient(145deg, #f8d7da, #f5c6cb);
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.modern-alert.warning {
    background: linear-gradient(145deg, #fff3cd, #ffeeba);
    color: #856404;
    border: 1px solid #ffeeba;
}

.modern-alert i {
    font-size: 1.2rem;
}

/* Divider */
.modern-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #e1e1e1, transparent);
    margin: 2rem 0;
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .review-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .product-reviews-content {
        padding: 1.5rem;
    }
    
    .reviewer-avatar img {
        width: 50px;
        height: 50px;
    }
    
    .review-rating {
        width: 100%;
        justify-content: center;
    }
    
    .reviews-title {
        font-size: 1.4rem;
    }
    
    .rating-stars a {
        font-size: 1.5rem;
    }
    
    .submit-review-btn {
        width: 100%;
        justify-content: center;
    }
}
