/* Globalization Pipeline - Documentation Styles */

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #152935;
    background-color: #f4f7fb;
    margin: 0;
    padding: 0;
}

.doc-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 32px 80px;
    background-color: #ffffff;
    min-height: 100vh;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* Headings */
h1 {
    font-size: 2rem;
    font-weight: 600;
    color: #152935;
    border-bottom: 3px solid #3d70b2;
    padding-bottom: 12px;
    margin-top: 0;
    margin-bottom: 24px;
}

h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #152935;
    border-bottom: 1px solid #dfe3e6;
    padding-bottom: 8px;
    margin-top: 40px;
    margin-bottom: 16px;
}

h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #3d70b2;
    margin-top: 28px;
    margin-bottom: 12px;
}

h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #5a6872;
    margin-top: 20px;
    margin-bottom: 8px;
    letter-spacing: 0.04em;
}

h5 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #5a6872;
    margin-top: 16px;
    margin-bottom: 6px;
}

/* Paragraphs */
p {
    margin: 0 0 16px;
    color: #152935;
}

/* Links */
a {
    color: #3d70b2;
    text-decoration: none;
}

a:hover {
    color: #30588c;
    text-decoration: underline;
}

/* Horizontal Rule */
hr {
    border: none;
    border-top: 1px solid #dfe3e6;
    margin: 32px 0;
}

/* Lists */
ul, ol {
    margin: 0 0 16px;
    padding-left: 28px;
}

li {
    margin-bottom: 6px;
    color: #152935;
}

ul li ul, ol li ol {
    margin-top: 6px;
    margin-bottom: 0;
}

/* Code and Pre */
code {
    font-family: 'IBM Plex Mono', 'Courier New', Courier, monospace;
    font-size: 0.875em;
    background-color: #f0f3f6;
    border: 1px solid #dfe3e6;
    border-radius: 3px;
    padding: 2px 6px;
    color: #c5221f;
}

pre {
    background-color: #1b2834;
    color: #dde1e7;
    border-radius: 4px;
    padding: 20px 24px;
    overflow-x: auto;
    margin: 0 0 20px;
    font-size: 0.875rem;
    line-height: 1.6;
}

pre code {
    background: none;
    border: none;
    padding: 0;
    color: inherit;
    font-size: inherit;
    border-radius: 0;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 24px;
    font-size: 0.9rem;
}

thead {
    background-color: #3d70b2;
    color: #ffffff;
}

thead th {
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
    border: 1px solid #30588c;
}

tbody tr:nth-child(even) {
    background-color: #f4f7fb;
}

tbody tr:hover {
    background-color: #e0eaf5;
}

tbody td {
    padding: 9px 14px;
    border: 1px solid #dfe3e6;
    vertical-align: top;
    color: #152935;
}

/* Strong / Bold */
strong, b {
    font-weight: 600;
    color: #152935;
}

/* Emphasis */
em {
    font-style: italic;
    color: #5a6872;
}

/* Blockquote (if any) */
blockquote {
    border-left: 4px solid #3d70b2;
    margin: 0 0 16px;
    padding: 8px 16px;
    background-color: #f4f7fb;
    color: #5a6872;
}

/* TOC anchor target offset */
:target::before {
    content: '';
    display: block;
    height: 20px;
    margin-top: -20px;
}
