/* استایل‌های مخصوص نمایش نتایج تحلیل هوش مصنوعی */

.ai-analysis-results {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-family: 'Vazir', 'Tahoma', sans-serif;
    direction: rtl;
    text-align: right;
}

.ai-analysis-results h4 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: bold;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.ai-analysis-results h5 {
    margin: 15px 0 10px 0;
    font-size: 16px;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.8);
}

.critical-section {
    background: linear-gradient(135deg, #ffebee, #fce4ec);
    border: 1px solid #f8bbd9;
    border-radius: 6px;
    padding: 15px;
    margin: 15px 0;
}

.critical-section h5 {
    background: rgba(211, 47, 47, 0.1);
    border-right: 4px solid #d32f2f;
}

.quick-wins-section {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    border: 1px solid #ffcc80;
    border-radius: 6px;
    padding: 15px;
    margin: 15px 0;
}

.quick-wins-section h5 {
    background: rgba(245, 124, 0, 0.1);
    border-right: 4px solid #f57c00;
}

.opportunities-section {
    background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
    border: 1px solid #a5d6a7;
    border-radius: 6px;
    padding: 15px;
    margin: 15px 0;
}

.opportunities-section h5 {
    background: rgba(56, 142, 60, 0.1);
    border-right: 4px solid #388e3c;
}

.ai-analysis-results ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.ai-analysis-results li {
    background: rgba(255, 255, 255, 0.7);
    margin: 8px 0;
    padding: 12px 15px;
    border-radius: 5px;
    border-right: 3px solid #ddd;
    line-height: 1.6;
    font-size: 14px;
    transition: all 0.3s ease;
}

.critical-section li {
    border-right-color: #d32f2f;
}

.critical-section li:hover {
    background: rgba(211, 47, 47, 0.05);
    transform: translateX(-3px);
}

.quick-wins-section li {
    border-right-color: #f57c00;
}

.quick-wins-section li:hover {
    background: rgba(245, 124, 0, 0.05);
    transform: translateX(-3px);
}

.opportunities-section li {
    border-right-color: #388e3c;
}

.opportunities-section li:hover {
    background: rgba(56, 142, 60, 0.05);
    transform: translateX(-3px);
}

/* استایل‌های پیام‌های خطا و موفقیت */
.error-message {
    background: linear-gradient(135deg, #ffebee, #ffcdd2);
    border: 1px solid #ef5350;
    border-radius: 6px;
    padding: 15px;
    margin: 15px 0;
    color: #c62828;
    text-align: center;
    font-weight: bold;
}

.success-message {
    background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
    border: 1px solid #66bb6a;
    border-radius: 6px;
    padding: 15px;
    margin: 15px 0;
    color: #2e7d32;
}

.success-message h4 {
    color: #1b5e20;
    border-bottom-color: #4caf50;
}

/* انیمیشن‌های ظریف */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ai-analysis-results {
    animation: fadeIn 0.5s ease-out;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .ai-analysis-results {
        padding: 15px;
        margin: 10px 0;
    }
    
    .ai-analysis-results h4 {
        font-size: 16px;
    }
    
    .ai-analysis-results h5 {
        font-size: 14px;
        padding: 6px 10px;
    }
    
    .ai-analysis-results li {
        padding: 10px 12px;
        font-size: 13px;
    }
}