* {
    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-color: #fafafa;
}

/* Header */
.header {
    background: #fff;
    border-bottom: 1px solid #e1e5e9;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 60px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 100%;
    max-width: 1400px;
    /*margin: 0 auto;*/
}

.logo {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: #2563eb;
}

    .logo i {
        margin-right: 8px;
        font-size: 20px;
    }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #666;
}

/* Main Layout */
.main-container {
    display: flex;    
    min-height: calc(100vh - 60px);
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 60px !important;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: #fff;
    border-right: 1px solid #e1e5e9;
    border-left: 1px solid #e1e5e9;
    position: fixed;
    height: calc(100vh - 60px);
    overflow-y: auto;
    z-index: 100;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

    .sidebar.hidden {
        transform: translateX(-100%);
    }

.sidebar-content {
    padding: 30px 0;
}

.nav-section {
    margin-bottom: 30px;
}

.nav-title {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: #6b7280;
    letter-spacing: 0.05em;
    padding: 0 20px;
    margin-bottom: 12px;
}

.nav-list {
    list-style: none;
}

.nav-item {
    margin-bottom: 2px;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 8px 20px;
    color: #4b5563;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    border-right: 3px solid transparent;
}

    .nav-link:hover {
        background-color: #f9fafb;
        color: #2563eb;
    }

    .nav-link.active {
        background-color: #eff6ff;
        color: #2563eb;
        border-right-color: #2563eb;
        font-weight: 500;
    }

    .nav-link i {
        margin-right: 10px;
        width: 16px;
        text-align: center;
        font-size: 14px;
    }

/* Content Area */
.content-area {
    flex: 1;
    margin-left: 280px;
    padding: 40px;
    transition: margin-left 0.3s ease;
    background-color: #fff;
    border-right: 1px solid #e1e5e9;
}

    .content-area.expanded {
        margin-left: 0;
    }

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    font-size: 14px;
    color: #6b7280;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

    .breadcrumb-item:not(:last-child)::after {
        content: '/';
        margin: 0 8px;
        color: #d1d5db;
    }

.breadcrumb-link {
    color: #2563eb;
    text-decoration: none;
}

    .breadcrumb-link:hover {
        text-decoration: underline;
    }

/* Content Sections */
.content-section {
    display: none;
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

    .content-section.active {
        display: block;
        animation: fadeIn 0.3s ease-in;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 40px;
    line-height: 1.5;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    color: #111827;
    margin: 40px 0 20px 0;
    line-height: 1.3;
}

    .section-title:first-of-type {
        margin-top: 0;
    }

.content-text {
    font-size: 16px;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 20px;
}

/* Code blocks */
.code-block {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 14px;
    color: #1e293b;
    overflow-x: auto;
}

/* Info boxes */
.info-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 16px;
    margin: 20px 0;
    display: flex;
    align-items: flex-start;
}

    .info-box i {
        color: #2563eb;
        margin-right: 12px;
        margin-top: 2px;
    }

.warning-box {
    background: #fef3c7;
    border: 1px solid #fbbf24;
}

    .warning-box i {
        color: #d97706;
    }

/* Step lists */
.step-list {
    counter-reset: step-counter;
    list-style: none;
    margin: 20px 0;
}

.step-item {
    counter-increment: step-counter;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

    .step-item::before {
        content: counter(step-counter);
        background: #2563eb;
        color: white;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        font-weight: 600;
        margin-right: 16px;
        flex-shrink: 0;
        margin-top: 2px;
    }

/* Feature grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 30px 0;
}

.feature-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.2s ease;
}

    .feature-card:hover {
        border-color: #2563eb;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
    }

.feature-icon {
    width: 48px;
    height: 48px;
    background: #2563eb;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

    .feature-icon i {
        color: white;
        font-size: 20px;
    }

.feature-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.feature-desc {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
}

/* Navigation buttons */
.nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #e5e7eb;
}

.nav-button {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

    .nav-button:hover {
        background: #2563eb;
        color: white;
        border-color: #2563eb;
    }

    .nav-button i {
        margin: 0 8px;
    }

    .nav-button.disabled {
        opacity: 0.5;
        pointer-events: none;
    }

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .sidebar {
        transform: translateX(-100%);
    }

        .sidebar.visible {
            transform: translateX(0);
        }

    .content-area {
        margin-left: 0;
        padding: 20px;
    }

    .content-section {
        padding: 24px;
    }

    .page-title {
        font-size: 28px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .nav-buttons {
        flex-direction: column;
        gap: 12px;
    }
}

/* Search */
.search-container {
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.search-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    background: #f9fafb;
}

    .search-input:focus {
        outline: none;
        border-color: #2563eb;
        background: white;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    }


    p{
        margin-bottom: 20px;
    }

h1 {
    font-size: 28px;
    margin: 0 0 12px
}

.muted {
    color: var(--muted);
    font-size: 14px
}

.toc {
    background: #fbfdff;
    border: 1px solid #eef2f7;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 18px
}

ul {
    padding-left: 1.2rem
}

.step {
    margin: 16px 0
}

li ::marker{
    margin-left: 20px;
}

    .step img {
        display: block;
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        margin-top: 8px
    }

.note {
    background: #f1f5f9;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #e6eef6
}

a {
    color: var(--accent);
    text-decoration: none
}

pre {
    background: #0f172a;
    color: #fff;
    padding: 12px;
    border-radius: 6px;
    overflow: auto
}

.help-doc ul > li {
    padding-inline-start: .375em;
    position: relative;
}

.help-doc li {
    margin-top: .5em;
    margin-bottom: 5px;
    margin-left: 15px;
}

.step-img {
    width: 500px;
    border: 2px solid #f5f5f5;
    margin-bottom: 20px;
}