/* ===== PUMPER DOCUMENTATION STYLES (GitBook Style) ===== */

.docs-body {
    background: #ffffff;
    color: #2d3748;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
}

.docs-container {
    display: flex;
    min-height: calc(100vh - 64px);
    margin-top: 64px;
    padding: 0;
}

/* ===== SIDEBAR ===== */
.docs-sidebar {
    width: 280px;
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    position: fixed;
    height: calc(100vh - 64px);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 32px 0;
    z-index: 100;
}

.sidebar-content {
    padding: 0 24px;
}

.sidebar-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    padding: 0 16px;
}

.docs-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-item {
    display: block;
    padding: 10px 16px;
    color: #475569;
    font-size: 0.9375rem;
    font-weight: 400;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
}

.nav-item:hover {
    background: #f1f5f9;
    color: #1ed760;
}

.nav-item:active,
.nav-item:focus {
    background: #e0f2fe;
    color: #1ed760;
    font-weight: 500;
}

/* ===== MAIN CONTENT ===== */
.docs-content {
    flex: 1;
    margin-left: 280px;
    background: #ffffff;
    padding: 0;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 48px 64px;
}

/* ===== TYPOGRAPHY ===== */
.docs-section {
    margin-bottom: 64px;
}

.docs-h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: #0f172a;
    margin-bottom: 16px;
}

.docs-lead {
    font-size: 1.25rem;
    color: #475569;
    margin-bottom: 48px;
    line-height: 1.6;
}

.docs-h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin-top: 48px;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
}

.docs-h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: #1e293b;
    margin-top: 32px;
    margin-bottom: 16px;
}

.docs-section p {
    margin-bottom: 16px;
    color: #475569;
}

/* ===== LISTS ===== */
.docs-list {
    margin: 16px 0;
    padding-left: 24px;
    color: #475569;
}

.docs-list li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.docs-list ol {
    margin: 16px 0;
    padding-left: 24px;
}

.docs-list ol li {
    margin-bottom: 8px;
}

/* ===== CODE BLOCKS ===== */
.docs-code-block {
    margin: 24px 0;
    background: #0f172a;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.docs-code-block pre {
    margin: 0;
    padding: 20px 24px;
    overflow-x: auto;
}

.docs-code-block code {
    font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.7;
    color: #e2e8f0;
    background: transparent;
    white-space: pre;
}

.docs-inline-code {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.875rem;
    background: #f1f5f9;
    color: #1e293b;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
}

/* ===== TABLES ===== */
.docs-table-wrapper {
    margin: 24px 0;
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.docs-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    font-size: 0.9375rem;
}

.docs-table thead {
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
}

.docs-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: #1e293b;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.docs-table td {
    padding: 12px 16px;
    color: #475569;
    border-bottom: 1px solid #f1f5f9;
}

.docs-table tbody tr:hover {
    background: #f8fafc;
}

.docs-table tbody tr:last-child td {
    border-bottom: none;
}

/* ===== LINKS ===== */
.docs-content a {
    color: #1ed760;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: all 0.2s;
}

.docs-content a:hover {
    color: #16a34a;
    border-bottom-color: #16a34a;
}

/* ===== FOOTER LINKS ===== */
.docs-footer-text {
    margin: 32px 0 16px;
    font-size: 1.125rem;
    color: #1e293b;
}

.docs-links {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.docs-links a {
    color: #1ed760;
    font-weight: 500;
}

.docs-links span {
    color: #cbd5e1;
}

/* ===== SCROLLBAR STYLING ===== */
.docs-sidebar::-webkit-scrollbar {
    width: 6px;
}

.docs-sidebar::-webkit-scrollbar-track {
    background: #f8fafc;
}

.docs-sidebar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.docs-sidebar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .docs-sidebar {
        width: 240px;
    }
    
    .docs-content {
        margin-left: 240px;
    }
    
    .content-wrapper {
        padding: 40px 48px;
    }
}

@media (max-width: 768px) {
    .docs-container {
        flex-direction: column;
    }
    
    .docs-sidebar {
        position: relative;
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        max-height: 300px;
    }
    
    .docs-content {
        margin-left: 0;
    }
    
    .content-wrapper {
        padding: 32px 24px;
    }
    
    .docs-h1 {
        font-size: 2.25rem;
    }
    
    .docs-h2 {
        font-size: 1.75rem;
    }
    
    .docs-h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .content-wrapper {
        padding: 24px 16px;
    }
    
    .docs-h1 {
        font-size: 2rem;
    }
    
    .docs-h2 {
        font-size: 1.5rem;
    }
    
    .docs-table-wrapper {
        font-size: 0.875rem;
    }
    
    .docs-table th,
    .docs-table td {
        padding: 8px 12px;
    }
}

