* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); min-height: 100vh; }
.container { max-width: 1400px; margin: 0 auto; padding: 20px; display: grid; grid-template-columns: 300px 1fr; gap: 20px; min-height: 100vh; }
header { grid-column: 1 / -1; background: white; padding: 20px 30px; border-radius: 12px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); }
header h1 { color: #1a202c; font-size: 1.5rem; }
.doc-nav { background: white; padding: 20px; border-radius: 12px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); height: calc(100vh - 140px); overflow-y: auto; }
#searchDocs { width: 100%; padding: 12px 16px; border: 2px solid #e2e8f0; border-radius: 8px; font-size: 1rem; margin-bottom: 15px; transition: border-color 0.3s; }
#searchDocs:focus { outline: none; border-color: #667eea; }
.doc-list { display: flex; flex-direction: column; gap: 8px; }
.doc-item { display: flex; align-items: center; padding: 12px 15px; background: #f7fafc; border-radius: 8px; cursor: pointer; transition: all 0.3s; }
.doc-item:hover { background: #edf2f7; transform: translateX(5px); }
.doc-icon { margin-right: 10px; }
.content { background: white; border-radius: 12px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); padding: 30px; overflow-y: auto; max-height: calc(100vh - 140px); }
.markdown-body { max-width: 800px; margin: 0 auto; }
.markdown-body h1 { font-size: 2rem; margin-bottom: 20px; color: #1a202c; }
.markdown-body h2 { font-size: 1.5rem; margin: 30px 0 15px; color: #2d3748; border-bottom: 2px solid #e2e8f0; padding-bottom: 10px; }
.markdown-body p { margin: 15px 0; line-height: 1.8; color: #4a5568; }
.markdown-body code { background: #edf2f7; padding: 2px 8px; border-radius: 4px; font-family: 'Fira Code', monospace; }
.markdown-body pre { background: #2d3748; color: #e2e8f0; padding: 20px; border-radius: 8px; overflow-x: auto; margin: 20px 0; }
.markdown-body pre code { background: none; padding: 0; }
.welcome { text-align: center; padding: 50px 20px; }
.welcome h2 { font-size: 2rem; color: #1a202c; margin-bottom: 20px; }
.welcome p { font-size: 1.2rem; color: #718096; }
.stats { margin-top: 30px; color: #4a5568; }
@media (max-width: 768px) {
    .container { grid-template-columns: 1fr; }
    .doc-nav { height: auto; max-height: 300px; }
    .content { max-height: none; }
}
