/* code-style.css */
body {
    font-family: 'Courier New', monospace;
    background-color: #f5f5f5;
    margin: 20px;
    line-height: 1.5;
}

.code-container {
    background-color: #f8f8f8;
    border-radius: 5px;
    padding: 15px;
    overflow-x: auto;
    border: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

pre {
    margin: 0;
    white-space: pre;
    tab-size: 4;
}

code {
    display: block;
    color: #333;
    font-size: 14px;
    line-height: 1.4;
}

/* Optional: Add line numbers */
.code-container {
    counter-reset: line;
}

code span.line {
    counter-increment: line;
}

code span.line:before {
    content: counter(line);
    display: inline-block;
    width: 2em;
    padding-right: 1em;
    margin-right: 1em;
    color: #999;
    text-align: right;
    border-right: 1px solid #ddd;
}