.code-section {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid #42b983;
}
.note-box {
    background-color: #e7f3ff;
    border-left: 4px solid #2196F3;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
}
.warning-box {
    background-color: #fff3e0;
    border-left: 4px solid #ff9800;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
}
.tip-box {
    background-color: #e8f5e9;
    border-left: 4px solid #4caf50;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
}
.nested-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.nested-table th {
    background-color: #35495e;
    color: white;
    padding: 12px;
    text-align: left;
}
.nested-table td {
    border: 1px solid #ddd;
    padding: 10px;
}
.nested-table tr:nth-child(even) {
    background-color: #f9f9f9;
}
.api-badge {
    background-color: #42b983;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.85em;
    margin-right: 5px;
}
.nested-demo {
    border: 2px solid #42b983;
    border-radius: 8px;
    padding: 20px;
    margin: 25px 0;
    background-color: #f8fff9;
}
.demo-layout {
    display: flex;
    min-height: 400px;
    margin: 20px 0;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
}
.demo-sidebar {
    width: 200px;
    background-color: #f8f9fa;
    border-right: 1px solid #e0e0e0;
    padding: 20px;
}
.demo-content {
    flex: 1;
    padding: 20px;
    background-color: white;
}
.route-tree {
    background-color: #1e1e1e;
    color: #d4d4d4;
    padding: 20px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    margin: 20px 0;
    line-height: 1.8;
}
.tree-node {
    margin-left: 20px;
}
.tree-node:before {
    content: "├── ";
    color: #888;
}
.tree-node:last-child:before {
    content: "└── ";
}
.tree-root {
    font-weight: bold;
    color: #4ec9b0;
}
.tree-route {
    color: #569cd6;
}
.tree-component {
    color: #ce9178;
}
.layout-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 25px 0;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
}
.layout-box {
    border: 2px solid #2196F3;
    margin: 10px;
    padding: 15px;
    position: relative;
    text-align: center;
}
.layout-main {
    width: 90%;
    height: 200px;
}
.layout-sidebar {
    width: 25%;
    height: 150px;
    align-self: flex-start;
}
.layout-nested {
    width: 80%;
    height: 100px;
    border-color: #4caf50;
}
.layout-label {
    position: absolute;
    top: -10px;
    left: 10px;
    background-color: white;
    padding: 0 5px;
    font-size: 0.85em;
    color: #666;
}
.nav-tabs-custom {
    border-bottom: 2px solid #42b983;
}
.nav-tabs-custom .nav-link {
    border: none;
    color: #666;
}
.nav-tabs-custom .nav-link.active {
    background-color: #42b983;
    color: white;
    border-radius: 6px 6px 0 0;
}
.method-list {
    list-style-type: none;
    padding-left: 0;
}
.method-list li {
    margin-bottom: 10px;
    padding-left: 24px;
    position: relative;
}
.method-list li:before {
    content: "→";
    color: #42b983;
    position: absolute;
    left: 0;
    font-weight: bold;
}
