       .container-fluid-main.api-documentation {
    margin-top: 175px;
}

.api-docs-grid {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 16px;
    width: 100%;
    min-width: 0;
}

.api-docs-grid > * {
    min-width: 0;
}

.api-docs__content {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.api-docs__sidebar {
    position: sticky;
    top: 15%;
    align-self: start;
}

.api-docs__nav::-webkit-scrollbar {
width: 4px;
height: 16px;
position: absolute;
}

.api-docs__nav::-webkit-scrollbar-thumb {
    background-color: var(--color--pink);
}

.api-docs__nav {
    display: flex;
    flex-direction: column;
    max-height: 75vh;
    overflow: auto;
    width: 80%;
}

.api-docs__nav-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
}

.api-docs__sidebar-title {
    color: #222 !important;
    font-weight: 700;
    font-size: 18px;
}

.api-docs-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.api-docs-breadcrumbs a {
    color: #666;
    text-decoration: none;
}

.api-docs-breadcrumbs a:hover {
    color: #0066ff;
}

.api-docs-breadcrumbs__separator {
    color: #aaa;
}

.api-docs-breadcrumbs [aria-current="page"] {
    color: #222;
    font-weight: 500;
}

.api-docs-page-title {
    margin: 0 0 30px;
    font-size: 36px;
    line-height: 1.2;
    font-weight: 700;
}

.api-docs__content pre {
    position: relative;
    margin: 20px 0;
    padding: 20px 24px;
    background: #f6f8fa;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow-x: auto;
    max-width: 100%;
    font-size: 13px;
    line-height: 1.7;
    tab-size: 4;
    -webkit-overflow-scrolling: touch;
}

.api-docs__content pre code {
    display: block;
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    color: #24292f;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: inherit;
    line-height: inherit;
    white-space: pre;
    overflow-wrap: normal;
    word-break: normal;
}

.api-docs__content :not(pre) > code {
    padding: 3px 6px;
    background: #f1f3f5;
    color: #d63384;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: 0.875em;
    overflow-wrap: anywhere;
}

.api-docs__content pre::-webkit-scrollbar {
    height: 7px;
}

.api-docs__content pre::-webkit-scrollbar-track {
    background: transparent;
}

.api-docs__content pre::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.api-docs__content table {
    display: table !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    table-layout: fixed !important;
    margin: 24px 0;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.6;
    background: #fff;
}

.api-docs__content table thead {
    display: table-header-group !important;
}

.api-docs__content table tbody {
    display: table-row-group !important;
}

.api-docs__content table tr {
    display: table-row !important;
}

.api-docs__content table th,
.api-docs__content table td {
    display: table-cell !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 12px 16px;
    text-align: left;
    vertical-align: top;
    box-sizing: border-box;
    border-bottom: 1px solid #e5e7eb;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: none;
}

.api-docs__content table th {
    background: #f8fafc;
    color: #111827;
    font-weight: 600;
}

.api-docs__content table td {
    color: #374151;
}

.api-docs__content table tr:last-child td {
    border-bottom: none;
}

.api-docs__content table tbody tr:hover {
    background: #f9fafb;
}

.api-docs__content table th:first-child {
    border-top-left-radius: 9px;
}

.api-docs__content table th:last-child {
    border-top-right-radius: 9px;
}

.api-docs__content table code {
    font-size: 12px;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
}

.api-documentation pre {
    position: relative;
}

.api-documentation .code-copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 6px;
    background: rgba(128, 128, 128, 0.12);
    color: #888;
    cursor: pointer;
    z-index: 10;
    transition: background 0.25s ease, color 0.25s ease;
}

.api-documentation .code-copy-btn:hover {
    background: rgba(128, 128, 128, 0.22);
    color: #24292f;
}

.api-documentation .code-copy-btn .icon-copy,
.api-documentation .code-copy-btn .icon-check {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.api-documentation .code-copy-btn .icon-copy {
    opacity: 1;
    transform: scale(1);
}

.api-documentation .code-copy-btn .icon-check {
    opacity: 0;
    transform: scale(0.5);
}

.api-documentation .code-copy-btn.copied {
    color: #22c55e;
}

.api-documentation .code-copy-btn.copied .icon-copy {
    opacity: 0;
    transform: scale(0.5);
}

.api-documentation .code-copy-btn.copied .icon-check {
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 1000px) {
    .api-docs-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .api-docs__sidebar {
        position: static;
    }
}

@media (max-width: 767px) {
    .api-docs__content {
        min-width: 0;
        max-width: 100%;
    }

    .api-docs-page-title {
        font-size: 28px;
    }

    .api-docs__content pre {
        padding: 16px;
        font-size: 12px;
        border-radius: 8px;
    }

    .api-docs__content table {
        display: table !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        table-layout: fixed !important;
        font-size: 12px;
    }

    .api-docs__content table th,
    .api-docs__content table td {
        padding: 10px 8px;
        font-size: 12px;
        white-space: normal !important;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .api-documentation .code-copy-btn {
        width: 30px;
        height: 30px;
        top: 8px;
        right: 8px;
    }
}
