:root {
    --docs-bg: #ffffff;
    --docs-sidebar-bg: #f8fafc;
    --docs-border: #e2e8f0;
    --docs-text: #1e293b;
    --docs-text-muted: #64748b;
    --docs-primary: #3b82f6;
    --docs-primary-hover: #2563eb;
    --docs-success: #10b981;
    --docs-warning: #f59e0b;
    --docs-sidebar-width: 280px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--docs-bg);
    color: var(--docs-text);
    line-height: 1.6;
}

/* Layout */
.docs-layout {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.docs-sidebar {
    width: var(--docs-sidebar-width);
    background-color: var(--docs-sidebar-bg);
    border-right: 1px solid var(--docs-border);
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
}

.docs-sidebar-header {
    padding: 1.5rem 1.25rem 1rem;
    border-bottom: 1px solid var(--docs-border);
}

.docs-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--docs-text);
    font-weight: 600;
    font-size: 1.25rem;
}

.docs-logo i {
    font-size: 1.5rem;
    margin-right: 0.75rem;
    color: var(--docs-primary);
}

.docs-nav {
    padding: 1rem 0;
}

.docs-nav-section {
    margin-bottom: 1.5rem;
}

.docs-nav-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--docs-text-muted);
    margin-bottom: 0.5rem;
    padding: 0 1.25rem;
    letter-spacing: 0.05em;
}

.docs-nav-link {
    display: flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    color: var(--docs-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.docs-nav-link:hover {
    background-color: rgba(59, 130, 246, 0.08);
    color: var(--docs-primary);
}

.docs-nav-link.active {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--docs-primary);
    border-left-color: var(--docs-primary);
    font-weight: 500;
}

.docs-nav-link i {
    width: 20px;
    margin-right: 0.75rem;
    font-size: 0.9rem;
}

/* Main Content */
.docs-main {
    flex: 1;
    margin-left: var(--docs-sidebar-width);
    min-height: 100vh;
}

.docs-header {
    background-color: var(--docs-bg);
    border-bottom: 1px solid var(--docs-border);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.docs-breadcrumb {
    font-size: 0.85rem;
    color: var(--docs-text-muted);
}

.docs-breadcrumb a {
    color: var(--docs-primary);
    text-decoration: none;
}

.docs-breadcrumb a:hover {
    text-decoration: underline;
}

.docs-content {
    padding: 2rem;
    max-width: 1000px;
}

/* Typography */
.docs-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--docs-text);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.docs-content h2 {
    font-size: 2rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    color: var(--docs-text);
    border-bottom: 2px solid var(--docs-border);
    padding-bottom: 0.5rem;
}

.docs-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem 0;
    color: var(--docs-text);
}

.docs-content h4 {
    font-size: 1.25rem;
    font-weight: 500;
    margin: 1.25rem 0 0.5rem 0;
    color: var(--docs-text);
}

.docs-content p {
    margin-bottom: 1rem;
    color: var(--docs-text);
}

.docs-content ul, .docs-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.docs-content li {
    margin-bottom: 0.3rem;
}

.docs-content blockquote {
    border-left: 4px solid var(--docs-primary);
    margin: 1rem 0;
    padding-left: 1rem;
    color: var(--docs-text-muted);
    font-style: italic;
}

.docs-content code {
    background-color: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #e83e8c;
}

.docs-content pre {
    background-color: #f8f9fa;
    border: 1px solid var(--docs-border);
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 1rem;
    overflow-x: auto;
}

.docs-content pre code {
    background: none;
    padding: 0;
    color: var(--docs-text);
}

/* Tables */
.docs-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    overflow: hidden;
}

.docs-content th, .docs-content td {
    border: 1px solid var(--docs-border);
    padding: 0.75rem;
    text-align: left;
}

.docs-content th {
    background-color: var(--docs-sidebar-bg);
    font-weight: 600;
    color: var(--docs-text);
}

.docs-content tr:nth-child(even) {
    background-color: #f9fafb;
}

.docs-content tr:hover {
    background-color: #f3f4f6;
}

/* Alert Boxes */
.docs-alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid;
    background-color: #f8f9fa;
}

.docs-alert-info {
    border-left-color: var(--docs-primary);
    background-color: rgba(59, 130, 246, 0.1);
}

.docs-alert-success {
    border-left-color: var(--docs-success);
    background-color: rgba(16, 185, 129, 0.1);
}

.docs-alert-warning {
    border-left-color: var(--docs-warning);
    background-color: rgba(245, 158, 11, 0.1);
}

.docs-alert strong {
    font-weight: 600;
}

/* Cards */
.docs-card {
    background: var(--docs-bg);
    border: 1px solid var(--docs-border);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.docs-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.docs-card h3, .docs-card h4, .docs-card h5 {
    margin-top: 0;
}

/* Buttons */
.docs-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background-color: var(--docs-primary);
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.docs-btn:hover {
    background-color: var(--docs-primary-hover);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.docs-btn i {
    margin-right: 0.5rem;
}

.docs-btn-secondary {
    background-color: var(--docs-text-muted);
}

.docs-btn-secondary:hover {
    background-color: var(--docs-text);
}

/* Badge */
.docs-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    color: white;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
    background-color: var(--docs-primary);
}

/* Highlight Box */
.docs-highlight {
    background-color: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 1rem 0;
}

.docs-highlight h4 {
    color: #9a3412;
    margin-bottom: 0.5rem;
}

/* Code Block Syntax Highlighting */
.docs-content .language-bash {
    background-color: #1e293b;
    color: #e2e8f0;
}

.docs-content .language-bash code {
    color: #e2e8f0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .docs-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .docs-sidebar.open {
        transform: translateX(0);
    }

    .docs-main {
        margin-left: 0;
    }

    .docs-content {
        padding: 1rem;
    }

    .docs-content h1 {
        font-size: 2rem;
    }

    .docs-content h2 {
        font-size: 1.5rem;
    }

    .docs-content table {
        font-size: 0.9rem;
    }

    .docs-content th, .docs-content td {
        padding: 0.5rem;
    }
}

/* Footer */
.docs-footer {
    border-top: 1px solid var(--docs-border);
    padding: 2rem 0 1rem 0;
    margin-top: 3rem;
    color: var(--docs-text-muted);
    font-size: 0.9rem;
}

/* Scrollbar Styling */
.docs-sidebar::-webkit-scrollbar {
    width: 6px;
}

.docs-sidebar::-webkit-scrollbar-track {
    background: var(--docs-sidebar-bg);
}

.docs-sidebar::-webkit-scrollbar-thumb {
    background: var(--docs-border);
    border-radius: 3px;
}

.docs-sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--docs-text-muted);
}

/* Print Styles */
@media print {
    .docs-sidebar {
        display: none;
    }
    
    .docs-main {
        margin-left: 0;
    }
    
    .docs-header {
        display: none;
    }
    
    .docs-content {
        padding: 0;
        max-width: none;
    }
}

.docs-nav-link {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Debugging-Klasse */
.debug-navigation .docs-nav-link {
    border: 2px solid red !important;
    background-color: yellow !important;
}