body {
    font-family: 'Inter', system-ui, sans-serif;
    overflow-x: hidden;
}

.code-block {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    white-space: pre;
    tab-size: 4;
    overflow-x: auto;
    max-width: 100%;
    display: block;
}

.code-block::-webkit-scrollbar {
    height: 6px;
}

.code-block::-webkit-scrollbar-thumb {
    background-color: #4b5563;
    border-radius: 3px;
}

.main-wrapper {
    min-width: 0;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .main-wrapper {
        margin-left: 0 !important;
    }
}

.nav-link {
    transition: all 0.3s ease;
}

.nav-active {
    background-color: #1e40af;
    color: white;
    border-radius: 9999px;
}

.tab-btn {
    transition: all 0.3s ease;
}

.tab-btn.tab-active {
    border-bottom: 3px solid #3b82f6;
    color: #3b82f6;
    font-weight: 600;
}

.step-link {
    transition: all 0.3s ease;
}

.step-link:hover {
    background-color: #1e40af;
    color: white;
    transform: translateX(4px);
}

.fw-main-tab {
    transition: all 0.2s ease;
    color: #a1a1aa;
}

.fw-main-active {
    background-color: #3b82f6;
    color: #ffffff;
    font-weight: 600;
}

.sub-tab-btn {
    transition: all 0.2s ease;
    font-size: 0.8125rem;
    color: #a1a1aa;
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    white-space: nowrap;
    border: 1px solid transparent;
}

.sub-tab-btn:hover {
    color: #e4e4e7;
    background-color: #27272a;
}

.sub-tab-btn.sub-tab-active {
    background-color: #065f46;
    color: #6ee7b7;
    border-color: #059669;
    font-weight: 600;
}

.sub-tab-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1rem 0 1.25rem;
    border-bottom: 1px solid #3f3f46;
    margin-bottom: 1.5rem;
}