/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
    line-height: 1.6;
    color: rgb(80, 80, 80);
    background-color: rgb(229, 229, 229);
}

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

/* Sidebar */
.sidebar {
    width: 300px;
    background: rgb(20, 149, 113);
    color: white;
    padding: 1.5rem;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    border-radius: 0 9px 9px 0;
}

.sidebar-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.logo {
    height: 60px;
    width: auto;
    margin-bottom: 0.5rem;
}

.sidebar h1 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

/* Navigation */
.nav-menu {
    list-style: none;
}

.nav-menu li {
    margin-bottom: 0.25rem;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-radius: 9px;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 500;
}

.nav-icon {
    width: 20px;
    height: 20px;
    margin-right: 0.75rem;
    border-radius: 9px;
}

.section-header {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.nav-subsection {
    margin-left: 1rem;
    margin-top: 0.5rem;
    border-left: 2px solid rgba(255, 255, 255, 0.2);
    padding-left: 0.5rem;
}

.nav-subsection .nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
}

/* Main content */
.content {
    flex: 1;
    margin-left: 300px;
    padding: 2rem;
    max-width: calc(100vw - 300px);
}

.section {
    display: none;
    max-width: 1024px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 9px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid rgb(211, 211, 211);
}

.section.active {
    display: block;
}

/* Typography */
.section h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: rgb(27, 198, 150);
}

.section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem 0;
    color: rgb(14, 165, 233);
}

.section p {
    font-size: 0.875rem;
    margin-bottom: 1rem;
    color: rgb(80, 80, 80);
    line-height: 1.7;
}

.section ol, .section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.section li {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    color: rgb(80, 80, 80);
    line-height: 1.6;
}

.section li ol, .section li ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Images */
.img-ss {
    max-width: 100%;
    height: auto;
    border-radius: 9px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 1rem 0;
    border: 1px solid rgb(211, 211, 211);
}

.img-ss-lg {
    max-width: 100%;
    height: auto;
    border-radius: 9px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin: 1.5rem 0;
    border: 1px solid rgb(211, 211, 211);
}

/* Code blocks */
.code-block {
    background: rgb(48, 48, 48);
    color: rgb(220, 220, 220);
    padding: 1rem;
    border-radius: 9px;
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 1rem 0;
    overflow-x: auto;
    border: 1px solid rgb(60, 60, 60);
}

.code-block pre {
    margin: 0;
    white-space: pre-wrap;
}

/* Blockquotes */
blockquote {
    border-left: 4px solid rgb(27, 198, 150);
    padding-left: 1rem;
    margin: 1rem 0;
    background: rgb(221, 246, 239);
    padding: 1rem;
    border-radius: 0 9px 9px 0;
    font-style: italic;
    color: rgb(80, 80, 80);
}

/* Links */
a {
    color: rgb(14, 165, 233);
    text-decoration: none;
}

a:hover {
    color: rgb(27, 198, 150);
    text-decoration: underline;
}

/* Responsive design */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    
    .content {
        margin-left: 0;
        max-width: 100%;
        padding: 1rem;
    }
    
    .section {
        padding: 1rem;
    }
    
    .section h2 {
        font-size: 1.5rem;
    }
}

/* Utility classes */
.text-center {
    text-align: center;
}

.font-bold {
    font-weight: 700;
}

.mb-100 {
    margin-bottom: 6rem;
}

.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    color: rgb(133, 133, 133);
}