.response-text h1,
.response-text h2,
.response-text h3,
.response-text h4,
.response-text h5,
.response-text h6 {
    margin-top: 1em;
    margin-bottom: 0.5em;
    font-weight: 600;
    line-height: 1.25;
}

.response-text h1 { font-size: 1.5em; }
.response-text h2 { font-size: 1.3em; }
.response-text h3 { font-size: 1.2em; }
.response-text h4 { font-size: 1.1em; }
.response-text h5 { font-size: 1em; }
.response-text h6 { font-size: 0.9em; }

.response-text p {
    margin-bottom: 1em;
}

.response-text ul,
.response-text ol {
    margin-bottom: 1em;
    padding-left: 2em;
}

.response-text li {
    margin-bottom: 0.5em;
}

.response-text code {
    background: #f1f5f9;
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-family: monospace;
    font-size: 0.9em;
}

.response-text pre {
    background: #f1f5f9;
    padding: 1em;
    border-radius: 6px;
    overflow-x: auto;
    margin-bottom: 1em;
}

.response-text pre code {
    background: none;
    padding: 0;
    font-size: 0.9em;
    color: #1e293b;
}

.response-text blockquote {
    border-left: 4px solid #e2e8f0;
    margin: 1em 0;
    padding-left: 1em;
    color: #64748b;
}

.response-text a {
    color: #4f46e5;
    text-decoration: none;
}

.response-text a:hover {
    text-decoration: underline;
}

.response-text table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 1em;
}

.response-text th,
.response-text td {
    border: 1px solid #e2e8f0;
    padding: 0.5em;
    text-align: left;
}

.response-text th {
    background: #f8fafc;
    font-weight: 600;
}

.response-text img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 1em 0;
}

.response-text hr {
    border: none;
    border-top: 2px solid #e2e8f0;
    margin: 1.5em 0;
} 