* {
    font-family: 'Vazirmatn', 'Tahoma', sans-serif;
}

.ars-reviews-container {
    max-width: 1200px;
    margin: 40px auto;
    direction: rtl;
}

.ars-ai-summary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
}

.ars-ai-summary h3 {
    font-size: 24px;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ars-summary-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.ars-summary-stat {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.ars-summary-stat .stat-value {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 8px;
}

.ars-summary-stat .stat-label {
    font-size: 14px;
    opacity: 0.9;
}

.ars-summary-text {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 20px;
}

.ars-summary-text p {
    margin: 0;
    line-height: 1.8;
    font-size: 15px;
}

.ars-pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.ars-pros-box, .ars-cons-box {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.ars-pros-box h3 {
    color: #059669;
    margin: 0 0 20px 0;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ars-cons-box h3 {
    color: #dc2626;
    margin: 0 0 20px 0;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ars-aggregation-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.ars-aggregation-item span {
    font-size: 14px;
    color: #333;
}

.ars-aggregation-bar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ars-progress-bar {
    width: 100px;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.ars-progress-fill {
    height: 100%;
    transition: width 0.3s;
}

.ars-progress-fill.pro {
    background: #10b981;
}

.ars-progress-fill.con {
    background: #ef4444;
}

.ars-aggregation-count {
    font-size: 12px;
    color: #666;
    min-width: 30px;
}

.ars-rating-distribution {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.ars-rating-distribution h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
}

.ars-rating-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.ars-rating-label {
    min-width: 80px;
    font-size: 14px;
    color: #666;
}

.ars-rating-bar {
    flex: 1;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.ars-rating-bar-fill {
    height: 100%;
    background: #fbbf24;
    transition: width 0.3s;
}

.ars-rating-count {
    min-width: 60px;
    font-size: 14px;
    color: #666;
    text-align: left;
}

.ars-review-form {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.ars-review-form h3 {
    margin: 0 0 25px 0;
    font-size: 20px;
}

.ars-form-group {
    margin-bottom: 25px;
}

.ars-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
    color: #333;
}

.ars-required {
    color: #ef4444;
}

.ars-star-rating {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 5px;
}

.ars-star {
    font-size: 32px;
    color: #d1d5db;
    cursor: pointer;
    transition: all 0.2s;
}

.ars-star:hover,
.ars-star.active,
.ars-star.hovered {
    color: #fbbf24;
}

.ars-form-group input[type="text"],
.ars-form-group input[type="email"],
.ars-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
}

.ars-form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.ars-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.ars-checkbox-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.ars-checkbox-item:hover {
    background: #f9fafb;
}

.ars-checkbox-item input[type="checkbox"] {
    margin-left: 10px;
    cursor: pointer;
}

.ars-checkbox-item label {
    margin: 0;
    cursor: pointer;
    font-size: 14px;
    flex: 1;
}

.ars-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.ars-submit-btn {
    background: #ef394e;
    color: white;
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.ars-submit-btn:hover {
    background: #dc2626;
}

.ars-reviews-list {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.ars-reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.ars-reviews-header h3 {
    margin: 0;
    font-size: 20px;
}

.ars-sort-select {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
}

.ars-review-card {
    background: #f9fafb;
    border-radius: 8px;
    border-right: 4px solid transparent;
    padding: 25px;
    margin-bottom: 20px;
}

.ars-review-card.verified {
    border-right-color: #10b981;
}

.ars-review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.ars-review-author {
    display: flex;
    gap: 15px;
}

.ars-author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 20px;
}

.ars-author-info h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
}

.ars-review-date {
    font-size: 13px;
    color: #666;
}

.ars-star-display {
    display: flex;
    flex-direction: row-reverse;
    gap: 2px;
}

.ars-star-display .ars-star {
    font-size: 18px;
    cursor: default;
}

.ars-review-title {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 10px 0;
}

.ars-review-content {
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
}

.ars-review-pros,
.ars-review-cons {
    margin-bottom: 15px;
}

.ars-review-pros p,
.ars-review-cons p {
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 8px 0;
}

.ars-review-pros p {
    color: #059669;
}

.ars-review-cons p {
    color: #dc2626;
}

.ars-badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ars-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.ars-badge-pro {
    background: #d1fae5;
    color: #065f46;
}

.ars-badge-con {
    background: #fee2e2;
    color: #991b1b;
}

.ars-review-actions {
    display: flex;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
}

.ars-action-btn {
    background: none;
    border: none;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.2s;
}

.ars-action-btn:hover {
    color: #0073aa;
}

.ars-no-reviews {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.ars-no-reviews-icon {
    font-size: 64px;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .ars-summary-stats,
    .ars-pros-cons-grid,
    .ars-checkbox-grid,
    .ars-form-row {
        grid-template-columns: 1fr;
    }
}