/* Documentation Styles - Dark Theme */

/* Sidebar Styles */
.docs-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: #161b22;
    border-right: 1px solid #30363d;
    z-index: 1000;
    overflow-y: auto;
    color: #c9d1d9;
}

.docs-sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid #30363d;
    background: #0d1117;
}

.docs-sidebar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #f0f6fc;
    font-weight: 600;
    font-size: 1.25rem;
}

.docs-sidebar-logo img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.docs-sidebar-nav {
    padding: 1rem 0;
}

.docs-nav-section {
    margin-bottom: 1.5rem;
}

.docs-nav-section-title {
    padding: 0.5rem 1.5rem;
    color: #7d8590;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.docs-nav-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #c9d1d9;
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.docs-nav-item:hover {
    background: #21262d;
    color: #58a6ff;
    border-left-color: #58a6ff;
}

.docs-nav-item.active {
    background: #1f2328;
    color: #58a6ff;
    border-left-color: #58a6ff;
    font-weight: 500;
}

.docs-nav-item i {
    margin-right: 0.75rem;
    width: 16px;
    text-align: center;
}

.docs-nav-status {
    float: right;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-weight: 500;
}

.status-complete {
    background: #238636;
    color: white;
}

.status-wip {
    background: #bf8700;
    color: white;
}

.status-planned {
    background: #8b949e;
    color: white;
}

/* Main Content */
.docs-main-content {
    margin-left: 280px;
    min-height: 100vh;
    background: #0d1117;
}

/* Documentation Content Styles */
.docs-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    line-height: 1.6;
}

.docs-content h1 {
    color: #f0f6fc;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #30363d;
    padding-bottom: 0.5rem;
}

.docs-content h2 {
    color: #f0f6fc;
    font-size: 1.875rem;
    margin: 2rem 0 1rem 0;
    border-bottom: 1px solid #30363d;
    padding-bottom: 0.5rem;
}

.docs-content h3 {
    color: #f0f6fc;
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem 0;
}

.docs-content h4 {
    color: #f0f6fc;
    font-size: 1.25rem;
    margin: 1rem 0 0.5rem 0;
}

.docs-content p {
    color: #c9d1d9;
    margin-bottom: 1rem;
}

.docs-content ul, .docs-content ol {
    color: #c9d1d9;
    margin-bottom: 1rem;
    padding-left: 2rem;
}

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

.docs-content blockquote {
    background: #161b22;
    border-left: 4px solid #58a6ff;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 0 6px 6px 0;
}

.docs-content blockquote p {
    margin: 0;
    color: #c9d1d9;
}

.docs-content code {
    background: #161b22;
    color: #e6edf3;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.9em;
}

.docs-content pre {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 1rem;
    overflow-x: auto;
    margin: 1rem 0;
}

.docs-content pre code {
    background: none;
    padding: 0;
}

.docs-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 6px;
    overflow: hidden;
}

.docs-content th,
.docs-content td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #30363d;
}

.docs-content th {
    background: #21262d;
    color: #f0f6fc;
    font-weight: 600;
}

.docs-content td {
    color: #c9d1d9;
}

.docs-content a {
    color: #58a6ff;
    text-decoration: none;
}

.docs-content a:hover {
    text-decoration: underline;
}

/* Alert Boxes */
.docs-alert {
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 6px;
    border-left: 4px solid;
}

.docs-alert-info {
    background: #0d1117;
    border-left-color: #58a6ff;
    border: 1px solid #1f6feb;
}

.docs-alert-warning {
    background: #1a1a1a;
    border-left-color: #f85149;
    border: 1px solid #da3633;
}

.docs-alert-success {
    background: #0f1a0f;
    border-left-color: #238636;
    border: 1px solid #2ea043;
}

.docs-alert-tip {
    background: #1a1a1a;
    border-left-color: #bf8700;
    border: 1px solid #bf8700;
}

/* Navigation Buttons */
.docs-nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #30363d;
}

.docs-nav-button {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 6px;
    color: #c9d1d9;
    text-decoration: none;
    transition: all 0.2s ease;
    max-width: 200px;
}

.docs-nav-button:hover {
    background: #21262d;
    border-color: #58a6ff;
    color: #58a6ff;
}

.docs-nav-button-prev {
    text-align: left;
}

.docs-nav-button-next {
    text-align: right;
    margin-left: auto;
}

.docs-nav-button-label {
    font-size: 0.8rem;
    color: #7d8590;
    margin-bottom: 0.25rem;
}

.docs-nav-button-title {
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .docs-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .docs-sidebar.open {
        transform: translateX(0);
    }
    
    .docs-main-content {
        margin-left: 0;
    }
    
    .docs-content {
        padding: 1rem;
    }
    
    .docs-nav-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .docs-nav-button {
        max-width: none;
    }
    
    .docs-nav-button-next {
        margin-left: 0;
    }
}

/* Scrollbar Styling */
.docs-sidebar::-webkit-scrollbar {
    width: 6px;
}

.docs-sidebar::-webkit-scrollbar-track {
    background: #161b22;
}

.docs-sidebar::-webkit-scrollbar-thumb {
    background: #30363d;
    border-radius: 3px;
}

.docs-sidebar::-webkit-scrollbar-thumb:hover {
    background: #484f58;
}
