/* Enhanced formatting for AI analysis content */
.formatted-analysis {
    line-height: 1.8;
    font-size: 14px;
}

.formatted-analysis p {
    margin-bottom: 12px;
}

.formatted-analysis li {
    margin-bottom: 8px;
    list-style-type: disc;
    margin-left: 20px;
    display: block;
}

.formatted-analysis ul {
    margin-bottom: 12px;
    padding-left: 0;
}

.formatted-analysis strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Bullet point styling with proper line breaks */
.analysis-content {
    white-space: pre-line;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.8;
}

/* Force proper bullet point display with line breaks */
.analysis-content p,
.analysis-content div {
    white-space: pre-line !important;
    line-height: 1.8 !important;
}

/* Convert bullet symbols to properly formatted list items */
.text-dark {
    white-space: pre-line !important;
    line-height: 1.8 !important;
}

.analysis-content li::marker {
    color: #3498db;
}

/* Force bullet points to appear on separate lines */
.analysis-content:contains("•") {
    display: block;
}

/* Custom bullet point styling */
.bullet-item {
    display: block;
    margin-bottom: 8px;
    padding-left: 0px;
    text-indent: 0px;
}

/* Engine-specific color coding */
.openai-analysis .engine-header {
    color: #e74c3c !important;
}

.anthropic-analysis .engine-header {
    color: #9b59b6 !important;
}

.gemini-analysis .engine-header {
    color: #3498db !important;
}

.xai-analysis .engine-header {
    color: #e67e22 !important;
}