:root {
    --primary-color: #2d333b;
    --secondary-color: #444c56;
    --text-color: #adbac7;
    --code-bg: #1c2128;
    --border-color: #373e47;
    --link-color: #539bf5;
    --hover-color: #768390;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--primary-color);
}

.container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
    width: 300px;
    background-color: var(--secondary-color);
    border-right: 1px solid var(--border-color);
    padding: 1.5rem;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-header {
    margin-bottom: 1.5rem;
}

.sidebar-header h1 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.version {
    color: var(--hover-color);
    font-size: 0.9rem;
}

.search-box {
    margin-bottom: 1.5rem;
}

.search-box input {
    width: 100%;
    padding: 0.5rem;
    background-color: var(--primary-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-color);
}

.nav-menu {
    list-style: none;
}

.nav-item {
    margin-bottom: 0.5rem;
}

.nav-link {
    display: block;
    padding: 0.5rem;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.nav-link:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Content Styles */
.content {
    flex: 1;
    margin-left: 300px;
    padding: 2rem;
    max-width: 800px;
}

.doc-section {
    margin-bottom: 3rem;
}

.doc-section h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.doc-section h3 {
    color: #fff;
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
}

.doc-section p {
    margin-bottom: 1rem;
}

.code-block {
    background-color: var(--code-bg);
    border-radius: 6px;
    padding: 1rem;
    margin: 1rem 0;
    overflow-x: auto;
}

.code-block pre {
    margin: 0;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

.code-block code {
    color: #adbac7;
}

/* Popup Styles */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background-color: var(--primary-color);
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    border: 1px solid var(--border-color);
}

.popup-content p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.popup-close {
    background-color: var(--secondary-color);
    color: var(--text-color);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.popup-close:hover {
    background-color: var(--hover-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

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