/* Import custom fonts */
@font-face {
    font-family: 'Work Sans';
    src: url('/fonts/WorkSans-VariableFont_wght.woff') format('woff');
    font-weight: 100 900;
    font-style: normal;
}

@font-face {
    font-family: 'PP Editorial New';
    src: url('/fonts/PPEditorialNew-Ultralight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
}

/* Base typography */
body {
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    line-height: 1.8;
    color: #1a1a1a;
    font-size: 16px;
    margin: 0;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'PP Editorial New', serif;
    font-weight: 200;
    line-height: 1.2;
    margin-bottom: 0.8em;
    letter-spacing: -0.015em;
    color: #1a1a1a;
}

h1 { 
    font-size: 3rem;
    text-align: center;
    margin-top: 2rem;
}

h2 { 
    font-size: 2rem;
    margin-top: 2em;
}

h3 { 
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.8em;
    font-size: 1.1rem;
}

/* Navigation breadcrumb */
nav.breadcrumb {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

nav.breadcrumb a {
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

nav.breadcrumb a:hover {
    border-color: #1a1a1a;
}

nav.breadcrumb span {
    margin: 0 0.5rem;
    color: #999;
}

/* Links */
a {
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, color 0.3s ease;
}

a:hover {
    border-color: currentColor;
}

/* Emphasis */
em { font-style: italic; }
strong { font-weight: 700; }
code { 
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.9em;
}

/* Server List Styles */
.server-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.server-item {
    background: #f8f9fa;
    margin: 2rem 0;
    padding: 2rem;
    border-radius: 8px;
    border-left: 3px solid #1a1a1a;
}

.server-item h2 {
    margin: 0 0 1rem 0;
    font-size: 1.75rem;
}

.server-item p {
    margin: 0.5rem 0;
    font-size: 1rem;
}

/* Status badges */
.status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'Work Sans', sans-serif;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-left: 0.5rem;
}

.status-online {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-offline {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Section containers */
.section {
    margin: 2rem 0;
    padding: 2rem;
    background: #fafafa;
    border-radius: 8px;
    border-left: 3px solid #1a1a1a;
}

.section h2 {
    margin-top: 0;
    font-size: 1.75rem;
}

/* Code blocks and endpoints */
.code,
.code-block,
.endpoint,
pre {
    background: #1a1a1a;
    color: #ffffff;
    padding: 1.25rem;
    border-radius: 6px;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.9rem;
    overflow-x: auto;
    margin: 1rem 0;
    line-height: 1.6;
}

.endpoint {
    word-break: break-all;
}

/* Tool lists */
.tool-list {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 6px;
    margin: 1rem 0;
}

.tool-item {
    background: #ffffff;
    padding: 1.25rem;
    margin: 0.75rem 0;
    border-radius: 4px;
    border-left: 3px solid #1a1a1a;
}

.tool-item strong {
    font-family: 'PP Editorial New', serif;
    font-size: 1.1rem;
}

/* OAuth flow */
.oauth-flow {
    background: #fafafa;
    padding: 2rem;
    border-radius: 8px;
    border: 2px solid #1a1a1a;
    margin: 1.5rem 0;
}

.step {
    background: #ffffff;
    padding: 1.25rem;
    margin: 1rem 0;
    border-radius: 6px;
    border-left: 3px solid #1a1a1a;
}

/* Notice boxes */
.api-note,
.warning,
.info {
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 3px solid #1a1a1a;
}

.api-note {
    background: #fafafa;
}

.api-note h3 {
    margin-top: 0;
    font-size: 1.25rem;
}

.warning {
    background: #fff9e6;
}

.info {
    background: #f0f8ff;
}

/* Container for pages */
.container {
    padding: 2rem 0;
}

/* Footer */
footer,
.footer {
    margin-top: 4rem;
    padding-top: 2rem;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    border-top: 1px solid #e0e0e0;
}

footer a,
.footer a {
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

footer a:hover,
.footer a:hover {
    border-color: #1a1a1a;
}

/* Responsive design */
@media (max-width: 768px) {
    body {
        padding: 15px;
        font-size: 14px;
    }
    
    h1 { 
        font-size: 2rem;
    }
    
    h2 { 
        font-size: 1.5rem;
    }
    
    h3 { 
        font-size: 1.25rem;
    }
    
    p {
        font-size: 1rem;
    }
    
    .server-item,
    .section {
        padding: 1.25rem;
        margin: 1.25rem 0;
    }
    
    .code,
    .code-block,
    .endpoint,
    pre {
        padding: 1rem;
        font-size: 0.8rem;
    }
    
    .oauth-flow,
    .api-note {
        padding: 1.25rem;
    }
}
\n.status-unknown {\n    background-color: #fff3cd;\n    color: #856404;\n    border: 1px solid #ffeaa7;\n}

.status-api-error {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}
