.answers-header {
    background: #eee;
}
.dark-mode .answers-header {
    background: #666666;
}
.type-badge {
    background: #b5dac7;
    border-radius: 8px;
    font-weight: 600;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    margin-right: 0.5rem;
}

.type-badge.badge-post {
    background: #ece3ae;
}

.dark-mode .type-badge.badge-post,
.dark-mode .answer-badge,
.dark-mode .type-badge{
    background:#333
}

.text-post{
    color: #bbae68
}

.answer-badge {
    background: rgba(0, 57, 84, 0.144);
    border-radius: 8px;
    font-weight: 600;
    padding: 0.5rem;
    font-size: 0.875rem;
    margin-right: 0.5rem;
}

.api-docs {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    margin: 20px 0;
    background-color: #f8f9fc;
}

.dark-mode .api-docs {
    border: 1px solid #4e4e4e;
    background-color: #0c0c0c;

}

.code-header {
    
    display: flex;
    padding: 10px 20px;
    border-bottom: 1px solid #ddd;
    font-weight: bold;
}

.dark-mode .text-post,
.dark-mode .text-primary {
    color: white!important;
}

.dark-mode code {
    color:white!important;
    background: #5c5b5b
}

.code-label {
    width: 100px;
}

.description-label {
    flex-grow: 1;
}

.code-row {
    display: flex;
    border-bottom: 1px solid #ddd;
}

.code-number {
    width: 100px;
    padding: 12px 20px;
    font-weight: 500;
}

.code-description {
    flex-grow: 1;
    padding: 12px 20px;
    font-style: italic;
}

.dark {
    background-color: #333;
    color: white;
}

.code-example {
    border-bottom: 1px solid #ddd;
}

.example-header {
    padding: 10px 20px;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
}

.example-header span {
    margin-right: 15px;
    cursor: pointer;
    color: #666;
}

.example-header span.active {
    color: #000;
    font-weight: 500;
}

code {
    font-size: 14px;
    white-space: pre;
}
.json-pre {
    margin: 0;
    overflow-x: auto;
    max-width: 100%;
    background: transparent;
    padding: 0;
}

.json-pre code {
    display: block;
    min-width: 100%;
}