
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    background-color: #f5f5f5;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    border-left: 5px solid #0078d7;
}

h1, h2, h3, h4, h5, h6 {
    color: #0078d7;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 2.2em;
    border-bottom: 1px solid #eaecef;
    padding-bottom: 0.3em;
}

h2 {
    font-size: 1.8em;
    border-bottom: 1px solid #eaecef;
    padding-bottom: 0.3em;
}

h3 {
    font-size: 1.5em;
}

h4 {
    font-size: 1.3em;
}

h5 {
    font-size: 1.2em;
}

h6 {
    font-size: 1.1em;
}

p {
    margin-bottom: 1em;
}

a {
    color: #0366d6;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

pre {
    background-color: #f6f8fa;
    border-radius: 3px;
    padding: 16px;
    overflow: auto;
    font-family: 'Courier New', Courier, monospace;
}

code {
    font-family: 'Courier New', Courier, monospace;
    background-color: #f6f8fa;
    padding: 0.2em 0.4em;
    border-radius: 3px;
}

blockquote {
    border-left: 4px solid #dfe2e5;
    padding-left: 1em;
    color: #6a737d;
    margin-left: 0;
}

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

table, th, td {
    border: 1px solid #dfe2e5;
}

th, td {
    padding: 8px 12px;
}

th {
    background-color: #f6f8fa;
}

img {
    max-width: 100%;
    height: auto;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #0078d7;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-size: 20px;
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 0.7;
}

.back-to-top:hover {
    opacity: 1;
    text-decoration: none;
}

@media print {
    body {
        max-width: none;
        padding: 0;
        margin: 0;
    }
    
    .back-to-top {
        display: none;
    }
}
