body {
  font-family: 'Sofia Sans', sans-serif;
}

.scripttv-document {
    background-color: #0d0d0d;
    color: #fff;
    margin: 8px;
    font-size: 20px;
}

.scripttv-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-style: none none solid none;
    border-color: #2b2a2a;
    border-width: 1px;
}

.header-logo {
    color: white; 
    background-color: #000; 
    height: 56px; 
    display: flex; 
    justify-content: flex-start; 
    align-items: center; 
    gap: 10px; 
    padding: 0; 
    padding-left: 1rem; 
    margin: 0;
}

.header-search {
    display: flex;
    flex-direction: row;
    padding: 0px 10px;
    gap: 10px;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    background-color: #1e1e1e;
    border: 1px solid #444343;
    margin-right: 20px;
    position: relative;
}

.search-input {
    width: 250px;
    height: 40px;
    background-color: transparent;
    outline: none;
    border: none;
    color: #fff;
}

#matchCount {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    color: #fff;
    display: none;
    font-size: 12px;
}

.scripttv-title {
    margin: 0; padding: 0; box-sizing: border-box; font-size: 24px; font-weight: bold;
}

.scripttv-logo {
    height: 30px;
}

.subsystem-chapter {
    margin-left: 300px;
}

.subsystem-chapter * {   
    box-sizing: border-box;
    text-wrap: wrap;
}

.subsystem-chapter .doc-section {
    width: 70%;
    margin: auto;
    margin-top: 50px;    
}

.subsystem-chapter .header {
    display: flex;
    align-items: center;
}

.scrdoc-page {
    height: calc(100vh - 60px); 
    overflow: auto;
}

.scrdoc-contents {
    float: right;
    width: 100%;
}

.scrdoc-left-panel {
    width: 300px;
    position: fixed;
    top: 60px;
    left: 0;
    height: calc(100vh - 60px);
    overflow: auto;
}

.tree {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

.tree-item {
    margin-left: 1rem; /* Indent for each level */
    padding: 0.5rem 0;
    cursor: pointer;
}

.tree-item a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
}

.tree-item a:hover,
.tree-item a.active {
    color: rgba(211, 241, 113, 1);
}

.tree-level {
    margin-left: 1rem; /* Indent for each level */
}

.highlight {
    background-color: #595929;
}

.current {
    background-color: orange;
}

.shell-block {
    background-color: yellow;
    padding: 10px;
    border-radius: 4px;
    font-family: monospace;
}

/* width */
::-webkit-scrollbar {
  width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px #444343; 
  border-radius: 6px;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #413f3f; 
  border-radius: 6px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #1e1e1e; 
}

a:link {
  color: yellow;
}

/* visited link */
a:visited {
  color: yellow;
}

/* mouse over link */
a:hover {
  text-decoration: underline;
}

/* selected link */
a:active {
  color: yellow;
}

