/* Generic Document Page Styles - Works for ALL documentation areas */

:root {
    --primary-color: #667eea;
    --primary-dark: #5a6fd8;
    --primary-light: #e8f0ff;
}

.document-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.document-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.document-header h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 600;
}

.breadcrumb-nav {
    background: #f8f9ff;
    padding: 1rem 2rem;
    border-bottom: 2px solid var(--primary-light);
}

.breadcrumb-nav a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
}

.document-content {
    padding: 2rem;
    line-height: 1.6;
    color: #333;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.document-content h2 {
    color: #2c3e50;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 0.5rem;
    margin-top: 2rem;
}

.document-content h3 {
    color: #34495e;
    margin-top: 1.5rem;
}

.document-content h4 {
    color: #5d6d7e;
    margin-top: 1rem;
}

.document-content p {
    margin-bottom: 1rem;
}

.document-content code {
    background: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    color: #e74c3c;
}

.document-content pre {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    padding: 1rem;
    overflow-x: auto;
    margin: 1rem 0;
}

.document-content pre code {
    background: none;
    color: #333;
    padding: 0;
}

.document-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.document-content li {
    margin-bottom: 0.5rem;
}

.document-content strong {
    color: #2c3e50;
}

.document-content em {
    color: #7f8c8d;
}

.document-footer {
    background: #f8f9ff;
    padding: 1.5rem 2rem;
    text-align: center;
    color: #666;
    border-top: 1px solid var(--primary-light);
    margin-top: 2rem;
}

.back-button {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    margin-top: 1rem;
    transition: background 0.3s ease;
}

.back-button:hover {
    background: var(--primary-dark);
    color: white;
    text-decoration: none;
}
