@import url(../vendor/highlight/styles/tokyo-night-dark.css);

.autopilot-chatbox {
    --kiss-font-size-1: 1.2rem;
    --kiss-font-size-2: 1.1rem;
    --kiss-font-size-3: 1rem;
    --kiss-font-size-4: 1rem;
    --kiss-font-size-5: 1rem;
    line-height: 1.6;
}

.autopilot-chatbox p {
    margin-bottom: 1em;
}

.autopilot-chatbox ul, .autopilot-chatbox ol {
    margin-bottom: 1em;
    padding-left: 1.5em;
}

.autopilot-chatbox li {
    margin-bottom: 0.5em;
}

.autopilot-chatbox blockquote {
    border-left: 4px solid var(--kiss-color-primary);
    padding-left: 1em;
    margin-left: 0;
    margin-bottom: 1em;
    color: var(--kiss-color-muted);
    font-style: italic;
}

.autopilot-chatbox table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1em;
    font-size: 0.9em;
}

.autopilot-chatbox th, .autopilot-chatbox td {
    padding: 0.75em;
    border: 1px solid var(--kiss-color-b-darker);
    text-align: left;
}

.autopilot-chatbox th {
    background: var(--kiss-color-b-dark);
    font-weight: bold;
    color: var(--kiss-color-contrast);
}

.autopilot-chatbox tr:nth-child(even) {
    background: rgba(0,0,0,0.02);
}

/* Code Blocks */
.autopilot-chatbox .code-block {
    margin-bottom: 1.5em;
    border-radius: 6px;
    overflow: hidden;
    background: #1a1b26;
    border: 1px solid var(--kiss-color-b-darker);
}

.autopilot-chatbox .code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5em 1em;
    background: #16161e;
    border-bottom: 1px solid #2f334d;
    color: #7aa2f7;
    font-family: monospace;
    font-size: 0.8em;
}

.autopilot-chatbox pre {
    margin: 0;
}

.autopilot-chatbox pre code {
    display: block;
    overflow-x: auto;
    padding: 1em;
    background: transparent;
    color: #a9b1d6;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.9em;
    line-height: 1.5;
}

.autopilot-chatbox .copy-btn {
    background: transparent;
    border: 1px solid #2f334d;
    color: #787c99;
    cursor: pointer;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    transition: all 0.2s;
}

.autopilot-chatbox .copy-btn:hover {
    background: #2f334d;
    color: #fff;
}
