/* Docs Page Layout */
.doc-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: start;
}

.doc-main-content .card {
    padding: 0;
}

.doc-main-content .card-content {
    padding: 32px;
}

/* Code Tabs */
.code-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    padding: 0 32px;
}

.tab-link {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 15px 20px;
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.3s, border-bottom 0.3s;
    border-bottom: 2px solid transparent;
}

.tab-link:hover {
    color: var(--text-color);
}

.tab-link.active {
    color: var(--primary-glow);
    border-bottom: 2px solid var(--primary-glow);
}

.tab-content {
    display: none;
}

/* Code Block */
.code-block {
    background: #0d1117;
    border-radius: 8px;
    margin: 20px 0;
    overflow: hidden;
}

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

.code-block code {
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    color: #e6edf3;
}

/* Parameters List */
.params-title {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--primary-glow);
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.params-list {
    list-style: none;
    padding: 0;
}

.params-list li {
    margin-bottom: 15px;
    line-height: 1.6;
}

.params-list li strong {
    color: var(--text-color);
}

/* Endpoints List */
.endpoints-list {
    list-style: none;
    padding: 0;
}

.endpoints-list li {
    margin-bottom: 20px;
}

.endpoints-list .method {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.8rem;
    margin-right: 10px;
}

.endpoints-list .method.post {
    background: #49cc90;
    color: #0d1117;
}

.endpoints-list .path {
    font-family: 'Courier New', monospace;
    color: var(--text-color);
}

.endpoints-list p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 5px;
    padding-left: 60px;
}
