#docs_index {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0.75rem 1rem;
    width: 100%;
}

#docs_index .docs-hero {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.07), rgba(13, 110, 253, 0.01));
}

#docs_index .docs-stats .card {
    border: 1px solid rgba(0, 0, 0, 0.06);
}

#docs_index .docs-table thead th {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #6c757d;
    background: #f8f9fa;
}

#docs_index .docs-link {
    font-weight: 600;
    text-decoration: none;
}

#docs_index .docs-link:hover {
    text-decoration: underline;
}

#docs_index .docs-url {
    color: #6c757d;
    font-size: 0.85rem;
    background: transparent;
    padding: 0;
}

#docs_view .docs-view-header {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.08), rgba(13, 110, 253, 0.015));
}

#docs_view .docs-title {
    font-size: clamp(1.4rem, 2vw, 2rem);
    font-weight: 700;
    line-height: 1.25;
}

#docs_view {
    flex: 1 1 auto;
    min-width: 0;
}

#docs_view .docs-meta .badge {
    font-weight: 600;
}

#docs_view .docs-article {
    border: 1px solid rgba(0, 0, 0, 0.08);
}

#docs_view .docs-content {
    font-size: 1.02rem;
    line-height: 1.72;
    color: #212529;
}

#docs_view .docs-content h1,
#docs_view .docs-content h2,
#docs_view .docs-content h3,
#docs_view .docs-content h4,
#docs_view .docs-content h5,
#docs_view .docs-content h6,
#docs_view .docs-content p,
#docs_view .docs-content li,
#docs_view .docs-content strong,
#docs_view .docs-content em,
#docs_view .docs-content span {
    color: #212529;
}

#docs_view .docs-content h1,
#docs_view .docs-content h2,
#docs_view .docs-content h3,
#docs_view .docs-content h4,
#docs_view .docs-content h5,
#docs_view .docs-content h6 {
    margin-top: 1.35rem;
    margin-bottom: 0.65rem;
    font-weight: 700;
    line-height: 1.3;
}

#docs_view .docs-content h1 {
    font-size: 1.7rem;
}

#docs_view .docs-content h2 {
    font-size: 1.45rem;
}

#docs_view .docs-content h3 {
    font-size: 1.24rem;
}

#docs_view .docs-content p {
    margin-bottom: 0.95rem;
}

#docs_view .docs-content ul,
#docs_view .docs-content ol {
    margin-bottom: 1rem;
    padding-left: 1.4rem;
}

#docs_view .docs-content li {
    margin-bottom: 0.3rem;
}

#docs_view .docs-content blockquote {
    border-left: 4px solid #0d6efd;
    padding: 0.25rem 0 0.25rem 1rem;
    color: #495057;
    margin: 1rem 0;
    background: rgba(13, 110, 253, 0.04);
    border-radius: 0.2rem;
}

#docs_view .docs-content pre {
    background: #0f172a;
    color: #e2e8f0;
    border-radius: 0.45rem;
    padding: 0.95rem;
    overflow-x: auto;
    margin: 1rem 0;
}

#docs_view .docs-content code {
    background: rgba(108, 117, 125, 0.13);
    color: #6f42c1;
    border-radius: 0.25rem;
    padding: 0.1rem 0.33rem;
    font-size: 0.92em;
}

#docs_view .docs-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

#docs_view .docs-content a {
    font-weight: 500;
    color: #0d6efd;
    text-decoration: none;
}

#docs_view .docs-content a:hover {
    text-decoration: underline;
}

#docs_view .docs-bottom-actions {
    margin-bottom: 0.5rem;
}

#docs_edit {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    flex: 1 1 auto;
}

#docs_edit .docs-edit-header {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.08), rgba(13, 110, 253, 0.015));
}

#docs_edit .docs-slug-preview {
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #f8f9fa;
}

#docs_edit .docs-slug-preview code {
    color: #495057;
    background: transparent;
    padding: 0;
}

#docs_edit .docs-publish-bar {
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(248, 249, 250, 0.5);
}

#docs_edit .docs-publish-bar .card-body {
    padding: 0.45rem 0.85rem;
}

#docs_edit .docs-bottom-bar {
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(248, 249, 250, 0.5);
    position: sticky;
    bottom: 0;
    z-index: 10;
}

#docs_edit .docs-bottom-bar .card-body {
    padding: 0.5rem 0.85rem;
}

#docs_edit .docs-meta-item {
    white-space: nowrap;
}

#docs_edit .docs-content-editor {
    min-height: 520px;
}

#docs_edit .forum-rich-editor__textarea {
    min-height: 520px;
    font-size: 0.94rem;
    line-height: 1.5;
}

#docs_edit .docs-delete-button,
body.vp-classic #docs_edit .docs-delete-button {
    border-color: #b55252 !important;
    background: linear-gradient(180deg, #ffe3e3 0%, #d96a6a 100%) !important;
    color: #ffffff !important;
}

#docs_edit .docs-delete-button:hover,
body.vp-classic #docs_edit .docs-delete-button:hover {
    border-color: #9e4343 !important;
    background: linear-gradient(180deg, #ffd2d2 0%, #c95555 100%) !important;
    color: #ffffff !important;
}

@media (min-width: 1200px) {
    #docs_edit .forum-rich-editor__textarea,
    #docs_edit .docs-content-editor {
        min-height: 660px;
    }

    #docs_edit .docs-content-card .card-body {
        padding: 1.25rem 1.5rem;
    }

    #docs_edit .docs-edit-header .card-body {
        padding: 1rem 1.5rem;
    }
}

@media (max-width: 991.98px) {
    #docs_edit .forum-rich-editor__textarea,
    #docs_edit .docs-content-editor {
        min-height: 360px;
    }
}

@media (max-width: 767.98px) {
    #docs_view .docs-content {
        font-size: 0.98rem;
        line-height: 1.65;
    }
}
