* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; line-height: 1.6; color: #333; background: #f8f9fa; }

/* Search */
.search-container { margin-bottom: 2rem; }
.search-box { width: 100%; padding: 1rem; border: 2px solid #e0e0e0; border-radius: 8px; font-size: 1rem; }
.search-box:focus { outline: none; border-color: #00d4ff; }
.search-results { background: white; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); margin-top: 1rem; padding: 1rem; display: none; }
.search-results.active { display: block; }
.search-result-item { padding: 0.75rem; border-bottom: 1px solid #eee; cursor: pointer; }
.search-result-item:hover { background: #f8f9fa; }
.search-result-item:last-child { border-bottom: none; }
.search-result-title { font-weight: 600; color: #1a1f3a; }
.search-result-snippet { color: #666; font-size: 0.9rem; margin-top: 0.25rem; }

/* Breadcrumbs */
.breadcrumbs { margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid #e0e0e0; }
.breadcrumbs a { color: #00d4ff; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span { color: #666; margin: 0 0.5rem; }

/* Copy to clipboard */
.code-block-wrapper { position: relative; }
.copy-button { position: absolute; top: 1rem; right: 1rem; background: #00d4ff; color: white; border: none; padding: 0.5rem 1rem; border-radius: 4px; cursor: pointer; font-size: 0.85rem; opacity: 0.8; transition: opacity 0.3s; }
.copy-button:hover { opacity: 1; }
.copy-button.copied { background: #28a745; }

/* Version selector */
.version-selector { background: white; padding: 1rem; border-radius: 8px; margin-bottom: 2rem; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.version-selector label { font-weight: 600; color: #1a1f3a; margin-right: 1rem; }
.version-selector select { padding: 0.5rem 1rem; border: 2px solid #e0e0e0; border-radius: 4px; font-size: 1rem; }

/* Feedback link */
.feedback-link { background: #e3f2fd; border-left: 4px solid #00d4ff; padding: 1rem; margin-top: 3rem; border-radius: 4px; }
.feedback-link a { color: #00d4ff; font-weight: 600; text-decoration: none; }
.feedback-link a:hover { text-decoration: underline; }

.header { background: #1a1f3a; color: white; padding: 1rem 2rem; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.header-content { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: bold; color: #00d4ff; }
.nav { display: flex; gap: 2rem; }
.nav a { color: white; text-decoration: none; }
.nav a:hover { color: #00d4ff; }

.main-content { max-width: 1400px; margin: 0 auto; padding: 3rem 2rem; display: grid; grid-template-columns: 250px 1fr; gap: 3rem; }

.sidebar { background: white; padding: 2rem; border-radius: 12px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); height: fit-content; position: sticky; top: 100px; }
.sidebar h3 { color: #1a1f3a; margin-bottom: 1rem; font-size: 1.1rem; }
.sidebar ul { list-style: none; }
.sidebar ul li { margin-bottom: 0.5rem; }
.sidebar a { color: #666; text-decoration: none; display: block; padding: 0.5rem 0; transition: color 0.3s; }
.sidebar a:hover { color: #00d4ff; }
.sidebar a.active { color: #00d4ff; font-weight: 600; }

.content { background: white; padding: 3rem; border-radius: 12px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.content h1 { font-size: 2.5rem; color: #1a1f3a; margin-bottom: 1rem; }
.content h2 { font-size: 2rem; color: #1a1f3a; margin-top: 3rem; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid #00d4ff; }
.content h3 { font-size: 1.5rem; color: #1a1f3a; margin-top: 2rem; margin-bottom: 1rem; }
.content p { margin-bottom: 1.5rem; color: #666; line-height: 1.8; }
.content ul, .content ol { margin-left: 2rem; margin-bottom: 1.5rem; }
.content li { margin-bottom: 0.5rem; color: #666; }
.content code { background: #f0f0f0; padding: 0.2rem 0.5rem; border-radius: 4px; font-family: 'Monaco', 'Menlo', monospace; font-size: 0.9rem; }
.content pre { background: #1a1f3a; color: #e6e6e6; padding: 1.5rem; border-radius: 8px; overflow-x: auto; margin-bottom: 1.5rem; }
.content pre code { background: transparent; padding: 0; color: inherit; }
.content .note { background: #e3f2fd; border-left: 4px solid #00d4ff; padding: 1rem; margin: 1.5rem 0; border-radius: 4px; }
.content .warning { background: #fff3cd; border-left: 4px solid #ffc107; padding: 1rem; margin: 1.5rem 0; border-radius: 4px; }
.content .success { background: #d4edda; border-left: 4px solid #28a745; padding: 1rem; margin: 1.5rem 0; border-radius: 4px; }

.footer { background: #1a1f3a; color: white; padding: 3rem 2rem; text-align: center; margin-top: 4rem; }

@media (max-width: 968px) {
    .main-content { grid-template-columns: 1fr; }
    .sidebar { position: static; }
}

