// website/src/styles/code_block.scss
// Code block component styles

.hi-code-block {
    background-color: var(--hi-color-surface);
    border: 1px solid var(--hi-color-border);
    border-radius: 8px;
    margin: 1rem 0;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.hi-code-block-header {
    background-color: var(--hi-color-surface-secondary);
    border-bottom: 1px solid var(--hi-color-border);
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hi-code-block-language {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--hi-color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: 'Courier New', monospace;
}

.hi-code-block-content {
    padding: 1rem;
    overflow-x: auto;
    background-color: var(--hi-color-surface);
}

.hi-code-block-code {
    display: block;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--hi-color-text-primary);
    white-space: pre;
}
