/* ═══════════════════════════════════════════════════════════════
   DOCUMENTATION PAGE STYLES
   Technical & Clean Layout
═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════════════════════════ */
.docs-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: calc(100vh - 80px);
    /* Adjust based on header height */
    background: #020b18;
}

.docs-sidebar {
    position: sticky;
    top: 80px;
    /* Adjust based on header height */
    height: calc(100vh - 80px);
    overflow-y: auto;
    background: #05142a;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    padding: 32px 24px;
}

.docs-content {
    padding: 60px 80px;
    max-width: 1000px;
}

/* ═══════════════════════════════════════════════════════════════
   SIDEBAR NAVIGATION
═══════════════════════════════════════════════════════════════ */
.docs-nav-group {
    margin-bottom: 32px;
}

.docs-nav-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 16px;
    padding-left: 12px;
}

.docs-nav-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.docs-nav-link {
    display: block;
    padding: 10px 12px;
    color: var(--text-white);
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    opacity: 0.8;
}

.docs-nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
    opacity: 1;
}

.docs-nav-link.active {
    background: rgba(9, 118, 212, 0.1);
    color: var(--accent-color);
    font-weight: 600;
    opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════
   CONTENT STYLES
═══════════════════════════════════════════════════════════════ */
.docs-header {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.docs-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.docs-breadcrumb span {
    color: var(--accent-color);
}

.docs-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.2;
    margin-bottom: 16px;
}

.docs-intro {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Typography & Elements */
.docs-body h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-white);
    margin: 48px 0 24px;
}

.docs-body h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-white);
    margin: 32px 0 16px;
}

.docs-body p {
    font-size: 1.05rem;
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 24px;
}

.docs-body ul,
.docs-body ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.docs-body li {
    font-size: 1.05rem;
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 12px;
}

/* Code Blocks */
.code-block {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
    overflow-x: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
}

.code-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.code-content {
    color: #e2e8f0;
    line-height: 1.6;
}

.token.keyword {
    color: #f472b6;
}

.token.string {
    color: #a7f3d0;
}

.token.function {
    color: #60a5fa;
}

.token.comment {
    color: #64748b;
}

/* Callout Boxes */
.doc-callout {
    padding: 24px;
    border-radius: 12px;
    margin: 32px 0;
    border-left: 4px solid;
    background: rgba(255, 255, 255, 0.02);
}

.doc-callout.info {
    border-color: var(--accent-color);
    background: rgba(9, 118, 212, 0.05);
}

.doc-callout.warning {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.05);
}

.doc-callout-title {
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */
@media (max-width: 992px) {
    .docs-layout {
        grid-template-columns: 1fr;
    }

    .docs-sidebar {
        display: none;
        /* Mobile navigation would be added separately */
    }

    .docs-content {
        padding: 40px 24px;
    }

    .docs-title {
        font-size: 2.25rem;
    }
}