/* Acil Vision Plugin - AI Response CSS */

/* ===== AI RESPONSE CONTAINER ===== */
.ai-response-content {
    line-height: 1.3;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #2c3e50;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    border-bottom: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

/* ===== HEADING STİLLERİ ===== */
.ai-response-content h1,
.ai-response-content h2,
.ai-response-content h3,
.ai-response-content h4,
.ai-response-content h5,
.ai-response-content h6 {
    margin: 0 !important;
    padding: 0 !important;
    color: #2c3e50;
    font-weight: 600;
    line-height: 1.4;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.ai-response-content h1 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #1a252f;
}

.ai-response-content h2 {
    font-size: 18px;
    margin: 16px 0 10px 0;
    color: #2c3e50;
    border-left: none !important;
    padding-left: 0 !important;
}

.ai-response-content h3 {
    font-size: 16px;
    margin: 14px 0 8px 0;
    color: #34495e;
}

.ai-response-content h4 {
    font-size: 15px;
    margin: 12px 0 6px 0;
    color: #34495e;
}

.ai-response-content h5 {
    font-size: 14px;
    margin: 10px 0 4px 0;
    color: #34495e;
}

.ai-response-content h6 {
    font-size: 13px;
    margin: 8px 0 3px 0;
    color: #34495e;
}

/* ===== PARAGRAPH STİLLERİ ===== */
.ai-response-content p {
    margin: 0 !important;
    padding: 0 !important;
    margin-bottom: 12px;
    line-height: 1.6;
    color: #2c3e50;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.ai-response-content p:last-child {
    margin-bottom: 0;
}

/* ===== LIST STİLLERİ ===== */
.ai-response-content ul,
.ai-response-content ol {
    padding-left: 1.2em;
    margin: 0;
    margin-bottom: 12px;
}

.ai-response-content li {
    margin: 0.15em 0;
    line-height: 1.3;
    color: #2c3e50;
}

.ai-response-content ul li {
    list-style-type: disc;
}

.ai-response-content ol li {
    list-style-type: decimal;
}

.ai-response-content ul ul,
.ai-response-content ol ol {
    margin-top: 8px;
    margin-bottom: 8px;
}

/* ===== BLOCKQUOTE STİLLERİ ===== */
.ai-response-content blockquote {
    margin: 0;
    padding: 0;
    margin: 16px 0;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 4px;
    font-style: italic;
    color: #34495e;
}

.ai-response-content blockquote p {
    margin: 0;
    margin-bottom: 8px;
}

.ai-response-content blockquote p:last-child {
    margin-bottom: 0;
}

/* ===== CODE STİLLERİ ===== */
.ai-response-content code {
    background: #f1f2f6;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #e74c3c;
}

.ai-response-content pre {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 16px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 16px 0;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.4;
}

.ai-response-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

/* ===== TABLE STİLLERİ ===== */
.ai-response-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.ai-response-content th,
.ai-response-content td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.ai-response-content th {
    background: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 2px solid #dee2e6;
}

.ai-response-content tr:hover {
    background: #f8f9fa;
}

/* ===== HIGHLIGHT STİLLERİ ===== */
.ai-response-content strong,
.ai-response-content b {
    font-weight: 600;
    color: #2c3e50;
}

.ai-response-content em,
.ai-response-content i {
    font-style: italic;
    color: #34495e;
}

.ai-response-content mark {
    background: #fff3cd;
    color: #856404;
    padding: 2px 4px;
    border-radius: 3px;
}

/* ===== LINK STİLLERİ ===== */
.ai-response-content a {
    color: #3498db;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.ai-response-content a:hover {
    color: #2980b9;
    border-bottom-color: #2980b9;
}

/* ===== HORIZONTAL RULE ===== */
.ai-response-content hr {
    border: none;
    height: 1px;
    background: #e9ecef;
    margin: 24px 0;
}

/* ===== SPECIAL SECTIONS ===== */
.ai-response-content .clinical-section {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 8px;
    margin: 16px 0;
}

.ai-response-content .warning-section {
    background: #fff3cd;
    padding: 16px;
    border-radius: 8px;
    margin: 16px 0;
    color: #856404;
}

.ai-response-content .danger-section {
    background: #f8d7da;
    padding: 16px;
    border-radius: 8px;
    margin: 16px 0;
    color: #721c24;
}

.ai-response-content .success-section {
    background: #d4edda;
    padding: 16px;
    border-radius: 8px;
    margin: 16px 0;
    color: #155724;
}

.ai-response-content .info-section {
    background: #d1ecf1;
    padding: 16px;
    border-radius: 8px;
    margin: 16px 0;
    color: #0c5460;
}

/* ===== MEDICAL SPECIFIC STİLLERİ ===== */
.ai-response-content .medical-term {
    font-weight: 600;
    color: #e74c3c;
    background: #fdf2f2;
    padding: 2px 6px;
    border-radius: 3px;
}

.ai-response-content .diagnosis {
    font-weight: 600;
    color: #27ae60;
    background: #f0f8f0;
    padding: 2px 6px;
    border-radius: 3px;
}

.ai-response-content .symptom {
    font-weight: 600;
    color: #f39c12;
    background: #fef9e7;
    padding: 2px 6px;
    border-radius: 3px;
}

.ai-response-content .treatment {
    font-weight: 600;
    color: #3498db;
    background: #f0f8ff;
    padding: 2px 6px;
    border-radius: 3px;
}

/* ===== RESPONSIVE TASARIM ===== */
@media (max-width: 768px) {
    .ai-response-content h1 {
        font-size: 18px;
    }
    
    .ai-response-content h2 {
        font-size: 16px;
    }
    
    .ai-response-content h3 {
        font-size: 15px;
    }
    
    .ai-response-content table {
        font-size: 14px;
    }
    
    .ai-response-content th,
    .ai-response-content td {
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .ai-response-content {
        font-size: 14px;
    }
    
    .ai-response-content h1 {
        font-size: 16px;
    }
    
    .ai-response-content h2 {
        font-size: 15px;
    }
    
    .ai-response-content table {
        font-size: 12px;
    }
    
    .ai-response-content th,
    .ai-response-content td {
        padding: 6px 8px;
    }
    
    .ai-response-content ul,
    .ai-response-content ol {
        padding-left: 1em;
    }
}

/* ===== PRINT STİLLERİ ===== */
@media print {
    .ai-response-content {
        color: #000;
        background: #fff;
    }
    
    .ai-response-content h1,
    .ai-response-content h2,
    .ai-response-content h3,
    .ai-response-content h4,
    .ai-response-content h5,
    .ai-response-content h6 {
        color: #000;
        page-break-after: avoid;
    }
    
    .ai-response-content table {
        page-break-inside: avoid;
    }
    
    .ai-response-content blockquote {
        background: #f9f9f9;
        border-left-color: #000;
    }
} 