/*
Simple style inspired by Confluence
2024 Jal
*/

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    font-size: 0.9em;
    line-height: 1.5;
    color: #172B4D;
}

h1 {
    font-size: 2.0em;
    margin: 0.67em 0;
    color: #172B4D;
    font-weight: 500;
    line-height: 1.2;
    border-bottom: none;
}

h2 {
    font-size: 1.71em;
    margin: 1em 0 0.5em;
    font-weight: 500;
    color: #172B4D;
    border-bottom: none;
}

h3, h4, h5 {
    color: #172B4D;
    font-weight: 500;
}

a {
    color: #0052CC;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

table {
    border-collapse: collapse;
    margin: 1em 0;
    width: 100%;
}

th, td {
    border: 1px solid #DFE1E6;
    padding: 0.7em;
}

th {
    background-color: #F4F5F7;
}

code {
    font-family: "SFMono-Medium", "SF Mono", "Segoe UI Mono", "Roboto Mono", "Ubuntu Mono", Menlo, Consolas, Courier, monospace;
    background-color: #F4F5F7;
    padding: 0 0.4em 0 0.4em;
    border-radius: 0.4em;
    font-size: 0.95em;
}

pre code.hljs {
    background-color: #F4F5F7;
}

blockquote {
    margin: 1em 10px;
    padding: 0.2em 10px;
    color: #5E6C84;
    border-left: 2px solid #DFE1E6;
}

hr {
    border: 0;
    height: 1px;
    background-color: #DFE1E6;
    margin: 1.5em 0;
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    body {
        background: #0a0f18;
        color: #B8C7E0;
    }

    h1, h2, h3, h4, h5 {
        color: #DEEBFF;
    }

    a {
        color: #4C9AFF;
    }

    table {
        border-color: #2C3E5D;
    }

    th, td {
        border-color: #2C3E5D;
    }

    th {
        background-color: #1B2638;
    }

    code {
        background-color: #223047;
    }

    pre code.hljs {
        background-color: #223047;
    }

    blockquote {
        color: #B8C7E0;
        border-left-color: #2C3E5D;
    }

    hr {
        background-color: #2C3E5D;
    }
}

/* Print styles */
@media print {
    body {
        color: #000;
        background: #fff;
    }

    a {
        color: #0052CC;
    }
} 