.llm-preview {
    /* border: 1px solid #ccc; */
    padding: 16px;
    margin-top: 0em;
    background: #fff;
    position: relative;
    min-height: 2em;
}

.llm-preview table,
.llm-md-table {
  border-collapse: collapse;
  width: 100%;
}
.llm-preview th, .llm-preview td,
.llm-md-table th, .llm-md-table td {
  border: 1px solid #d1d5da;
  padding: 6px 13px;
}


.llm-preview tr,
.llm-md-table tr {
  background-color: #fff;
}
/**
.llm-preview tr:nth-child(even),
.llm-md-table tr:nth-child(even) {
  background-color: #f6f8fa;
} */
.llm-preview th,
.llm-md-table th {
  background: #f3f4f6;
  font-weight: bold;
}


code .hljs {
    background: #f6f8fa;
    padding: 2px 4px;
    border-radius: 4px;
}
pre {
    position: relative;
    padding: 8px;
    border-radius: 6px;
    overflow-x: auto;
}
.copy-btn {
    position: absolute;
    top: 4px; right: 8px;
    background: #eee;
    color: #333;
    border: none;
    border-radius: 4px;
    font-size: 0.9em;
    padding: 2px 8px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
    z-index: 2;
}
pre:hover .copy-btn, .copy-btn:focus {
    opacity: 1.0;
}
pre code.hljs {
    background: #f6f8fa !important;
}

.llm-preview:hover > .preview-copy-btn,
.llm-preview:focus-within > .preview-copy-btn,
.preview-copy-btn:focus {
    opacity: 1.0;
}
.preview-copy-btn {
    z-index: 10;
}