/* =========================== Accordion Css start ============================= */
.api-custom--accordion .accordion-item {
    border: 1px solid hsl(var(--black)/0.2);
    background-color: transparent !important;
    border-radius: 5px;
    overflow: hidden;
}

.api-custom--accordion .accordion-item:not(:last-child) {
    margin-bottom: 20px;
}

.api-custom--accordion .accordion-header {
    line-height: 1;
    background-color: hsl(var(--background-color));
}

.api-custom--accordion .accordion-header:has(.accordion-button.collapsed) {
    background-color: unset;
    -webkit-box-shadow: 0 0 10px 0 hsl(var(--black)/0.1);
    box-shadow: 0 0 10px 0 hsl(var(--black)/0.1);
}

.api-custom--accordion .accordion-body {
    padding: 20px;
}

@media screen and (max-width: 991px) {
    .api-custom--accordion .accordion-body {
        padding: 15px;
    }
}

@media screen and (max-width: 575px) {
    .api-custom--accordion .accordion-body {
        padding: 5px;
    }
}

.api-custom--accordion .accordion-body .text {
    max-width: 60%;
}

@media screen and (max-width: 575px) {
    .api-custom--accordion .accordion-body .text {
        max-width: 100%;
    }
}

.api-custom--accordion:first-of-type .accordion-button.collapsed {
    border-radius: 5px;
}

.api-custom--accordion:last-of-type .accordion-button.collapsed {
    border-radius: 5px;
}

.api-custom--accordion .accordion-button {
    background-color: hsl(var(--section-bg));
    color: var(--heading-color);
    font-size: 1.125rem;
    padding: 15px;
    padding-left: 40px;
}

.api-custom--accordion .accordion-button::after {
    background-image: none;
}

.api-custom--accordion .accordion-button:focus {
    -webkit-box-shadow: none;
    box-shadow: none;
}

.api-custom--accordion .accordion-button:not(.collapsed) {
    color: hsl(var(--heading-color));
    -webkit-box-shadow: none;
    box-shadow: none;
}

.api-custom--accordion .accordion-button:not(.collapsed)::after {
    background-image: none;
    color: hsl(var(--base));
}

.api-custom--accordion .accordion-button[aria-expanded=true]::after, .api-custom--accordion .accordion-button[aria-expanded=false]::after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f107";
    display: inline-block;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    left: 15px;
    color: hsl(var(--text-color));
    -webkit-transform-origin: center;
    transform-origin: center;
    line-height: 1;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
}

.api-custom--accordion .accordion-button[aria-expanded=false]::after {
    top: 50%;
    -webkit-transform: translateY(-50%) rotate(-90deg);
    transform: translateY(-50%) rotate(-90deg);
}

/* ================================= Accordion Css End =========================== */
/* ================================= Table Css Start =========================== */
/* Table Content Css start */
/* Table Css Start */
.has-table {
    overflow-x: auto;
}

.api-table {
    margin: 0;
    border-collapse: collapse;
    border-collapse: separate;
    border-spacing: 0px 0px;
    width: 100%;
    width: 600px;
    overflow: auto;
}

.api-table thead tr th {
    text-align: left;
    padding: 15px 20px;
    color: hsl(var(--black)/0.7);
    font-family: var(--heading-font);
    font-weight: 600;
    border-bottom: 0;
    width: 170px;
    font-size: 0.875rem;
    border: 1px solid hsl(var(--black)/0.08);
    background-color: hsl(var(--white));
}

.api-table thead tr th:not(:first-child) {
    border-left: 0;
}

.api-table thead tr th:first-child {
    border-radius: 6px 0 0 0;
}

.api-table thead tr th:last-child {
    border-radius: 0 6px 0 0;
}

.api-table tbody {
    border: 0 !important;
    background-color: hsl(var(--white)/0.5);
}

.api-table tbody tr {
    border-bottom: 1px solid hsl(var(--black)/0.08);
}

.api-table tbody tr:last-child {
    border-bottom: 0;
}

.api-table tbody tr td {
    text-align: left !important;
}

.api-table tbody tr:last-child td {
    border-bottom: 1px solid hsl(var(--black)/0.08);
}

.api-table tbody tr:last-child td:first-child {
    border-radius: 0px 0 0 6px;
}

.api-table tbody tr:last-child td:last-child {
    text-align: left;
    border-radius: 0 0px 6px 0;
}

.api-table tbody tr td {
    text-align: left;
    vertical-align: middle;
    padding: 10px 15px;
    border-width: 1px;
    border: 0;
    font-family: var(--heading-font);
    color: hsl(var(--black)/0.7);
    font-weight: 500;
    font-size: 0.8125rem;
    border-bottom: 1px solid hsl(var(--black)/0.08);
    border-right: 1px solid hsl(var(--black)/0.08);
}

.api-table tbody tr td:first-child {
    width: 20%;
    min-width: 150px;
}

.api-table tbody tr td::before {
    content: attr(data-label);
    font-family: var(--heading-font);
    font-size: 0.9375rem;
    color: hsl(var(--black));
    font-weight: 500;
    display: none;
    width: 45% !important;
    text-align: left;
}

.api-table tbody tr td:first-child {
    text-align: left;
    border-left: 1px solid hsl(var(--black)/0.08);
    font-size: 0.875rem;
}

.api-table tbody tr td:last-child {
    border-right: 1px solid hsl(var(--black)/0.08);
}

@media screen and (max-width: 767px) {
    .table--responsive--md thead {
        display: none;
    }

    .table--responsive--md tbody tr {
        display: block;
    }

    .table--responsive--md tbody tr:last-child td {
        border-bottom: 0;
    }

    .table--responsive--md tbody tr td {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        gap: 15px;
        text-align: right;
        padding: 10px 15px;
        border: none;
        border-bottom: 1px solid hsl(var(--black)/0.8);
        max-width: unset;
    }

    .table--responsive--md tbody tr td:last-child {
        border: none;
    }

    .table--responsive--md tbody tr td:first-child {
        text-align: right;
        border-left: 0;
    }

    .table--responsive--md tbody tr td::before {
        display: block;
        font-size: 0.875rem;
        color: hsl(var(--black)/0.7);
    }
}

@media screen and (max-width: 767px) {
    .table--responsive--md tbody tr td {
        border: 0;
    }
}
/* ================================= Table Css End =========================== */
/* ================================= Tab Css Start =========================== */
.api-custom--tab {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-radius: 6px;
}

.api-custom--tab .nav-tabs {
    border-bottom: 0;
}

.api-custom--tab .nav-item {
    border-bottom: 0;
    padding: 5px;
}

.api-custom--tab .nav-item .nav-link {
    color: hsl(var(--black));
    padding: 5px 25px !important;
    background-color: transparent !important;
    border-radius: 5px;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    border: 1px solid hsl(var(--black)/0.08);
}

.api-custom--tab .nav-item .nav-link.active {
    color: hsl(var(--white));
    background-color: hsl(var(--heading-color)) !important;
    border: 1px solid transparent !important;
}

.api-custom--tab .nav-item .nav-link.active:hover {
    color: hsl(var(--white));
}

.api-custom--tab .nav-item .nav-link:hover {
    color: hsl(var(--heading-color));
    border-color: hsl(var(--black));
}

/* ================================= Tab Css End =========================== */
/* ======================  Api Section Start  ======================*/
header.fixed-header ~ .api-content .api-sidebar {
    top: 70px;
}

.api-content {
    padding-inline: 30px;
    margin-bottom: 30px;
}

@media screen and (max-width: 991px) {
    .api-content {
        padding-inline: 10px;
    }
}

.api-content .api-sidebar {
    background-color: hsl(var(--white)/0.5);
    border-radius: 10px;
    border: 1px solid hsl(var(--border-color)/0.5);
    height: min(535px, 80vh);
    position: sticky;
    top: 10px;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}

@media screen and (max-width: 767px) {
    .api-content .api-sidebar {
        height: auto;
        position: unset;
    }
}

.api-content .api-sidebar.link-card {
    padding-inline: 0;
}

.api-content .api-sidebar__header {
    padding: 10px 18px;
    border-bottom: 1px solid hsl(var(--border-color)/0.5);
}

.api-content .api-sidebar__body {
    padding: 10px 18px;
}

.api-content .api-sidebar__list {
    height: min(500px, 80vh);
    overflow: auto;
}

.api-content .api-sidebar__list::-webkit-scrollbar {
    width: 5px;
}

.api-content .api-sidebar__list::-webkit-scrollbar-thumb {
    background-color: hsl(var(--base));
    border-radius: 5px;
}

@media screen and (max-width: 767px) {
    .api-content .api-sidebar__list {
        height: unset;
    }
}

.api-content .api-sidebar__title {
    font-size: clamp(1rem, 0.8862rem + 0.4854vw, 1.25rem);
    margin-bottom: 0;
}

.api-content .api-sidebar__title.blog-post-title {
    padding-left: 18px;
}

.api-content .api-sidebar__item:not(:last-child) {
    margin-bottom: 20px;
}

.api-content .api-sidebar__item:not(:last-child) {
    margin-bottom: 10px;
}

.api-content .api-sidebar__item.has-child {
    margin-left: 20px;
}

.api-content .api-sidebar__item .api-sidebar__list {
    height: auto;
}

.api-content .api-sidebar__link {
    padding: 15px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 10px;
}

.api-content .api-sidebar__link:hover {
    background-color: hsl(var(--base)/0.05);
}

.api-content .api-sidebar__link-thumb {
    display: block;
    overflow: hidden;
    width: 57px;
    height: 57px;
    display: grid;
    place-items: center;
    border-radius: 5px;
}

.api-content .api-sidebar__link-thumb img {
    -o-object-fit: cover;
    object-fit: cover;
}

.api-content .api-sidebar__link-list {
    color: hsl(var(--text-color)/0.8);
    width: calc(100% - 70px);
    font-size: clamp(1rem, 0.9431rem + 0.2427vw, 1.125rem);
    font-weight: 500;
}

.api-content .api-body {
    --api-body-font: rem(13px);
}

.api-content .api-body__card {
    background-color: hsl(var(--white)/0.5);
    border: 1px solid hsl(var(--border-color)/0.5);
    border-radius: 16px;
}

.api-content .api-body__header {
    padding: 10px 18px;
    border-bottom: 1px solid hsl(var(--border-color)/0.5);
}

.api-content .api-body__header-title {
    font-size: clamp(1rem, 0.8862rem + 0.4854vw, 1.25rem);
    margin-bottom: 0;
}

.api-content .api-body__body {
    padding: 10px 18px;
}

.api-content .api-body__body-response {
    background-color: hsl(var(--black));
    border: 1px solid hsl(var(--border-color)/0.5);
    color: hsl(var(--white));
    padding: 2px 7px;
    border-radius: 5px;
    font-size: 10px;
    margin-right: 10px;
}

.api-content .api-body__body-content {
    padding-block: 20px;
}

.api-content .api-body__body-desc {
    font-size: var(--api-body-font);
    margin-bottom: 10px;
    color: hsl(var(--text-color));
}

.api-content .api-body__body-desc:last-child:not(:first-child) {
    margin-bottom: 0;
}

.api-content .api-body__body-list {
    list-style: number;
    padding-left: 15px;
    font-size: var(--api-body-font);
}

.api-content .api-body__body-list .api-body__body-list {
    list-style: lower-alpha;
    margin-left: 15px;
    margin-top: 3px;
}

/* ======================  Api Section End  ======================*/
.api-list {
    border-top: 1px solid hsl(var(--black));
}

.api-list__header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid hsl(var(--black));
}

.api-list__header-item {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    font-weight: 600;
}

.api-list__header-item:first-child {
    -ms-flex-preferred-size: 60px;
    flex-basis: 60px;
    -webkit-box-flex: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    min-width: -webkit-fit-content;
    min-width: -moz-fit-content;
    min-width: fit-content;
}

.api-list__body-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.show-output__code {
    position: relative;
}

.show-output__code .copy-code {
    position: absolute;
    right: 10px;
    top: 30px;
    color: hsl(var(--white));
    z-index: 99;
    cursor: pointer;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid transparent;
    font-size: 12px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.show-output__code .copy-code:hover {
    border: 1px solid hsl(var(--white));
}

.show-output__code .copy-code .success-icon {
    display: none;
}

.show-output__code .copy-code.copied {
    pointer-events: none;
    border: 1px solid hsl(var(--white));
}

.show-output__code .copy-code.copied .copy-icon {
    display: none;
}

.show-output__code .copy-code.copied .success-icon {
    display: block;
}

.show-output__code .code-badge {
    position: absolute;
    left: 4px;
    top: 25px;
    background-color: hsl(var(--white)/0.15) !important;
    color: hsl(var(--white)) !important;
}

.show-output__code pre {
    line-height: unset;
    margin-bottom: 0;
    border-radius: 10px;
    overflow: auto;
}

.show-output__code code {
    line-height: 1.6;
    max-height: 600px;
    border-radius: 10px;
}

.show-output__code code::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

.show-output__code code::-webkit-scrollbar-thumb {
    background-color: hsl(var(--base));
    border-radius: 5px;
}

.accordion-header:has(.collapsed) .status-dropdown {
    pointer-events: none;
}

.status-dropdown {
    margin-right: 10px;
    pointer-events: all;
}

.status-dropdown__list {
    -webkit-transition: 0ms;
    transition: 0ms;
    background-color: hsl(var(--background-color)/0.8);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    -webkit-box-shadow: 0 0 15px 10px hsl(var(--white)/0.17);
    box-shadow: 0 0 15px 10px hsl(var(--white)/0.17);
}

.status-dropdown__list.show {
    visibility: visible;
    opacity: 1;
    -webkit-transition: 0ms;
    transition: 0ms;
}

.status-dropdown__item {
    border-radius: 5px;
}

.status-dropdown__item:active, .status-dropdown__item.active {
    background-color: hsl(var(--white)/0.5);
    color: hsl(var(--black));
}

.status-dropdown__btn {
    position: relative;
    padding-right: 30px;
}

.status-dropdown__btn.show::after {
    -webkit-transform: rotate(-180deg);
    transform: rotate(-180deg);
}

.status-dropdown__btn::after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f107";
    display: inline-block;
    position: absolute;
    right: 10px;
    color: hsl(var(--text-color));
    -webkit-transform-origin: center;
    transform-origin: center;
    line-height: 1;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    -webkit-transition: all 0.1s;
    transition: all 0.1s;
}

.status-dropdown__btn:hover::after {
    color: hsl(var(--white));
}

@-webkit-keyframes FadeIn {
    0% {
        display: none;
        opacity: 0;
    }

    1% {
        display: block;
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes FadeIn {
    0% {
        display: none;
        opacity: 0;
    }

    1% {
        display: block;
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes FadeOut {
    0% {
        display: block;
        opacity: 1;
    }

    99% {
        display: block;
        opacity: 0;
    }

    100% {
        display: none;
        opacity: 0;
    }
}

@keyframes FadeOut {
    0% {
        display: block;
        opacity: 1;
    }

    99% {
        display: block;
        opacity: 0;
    }

    100% {
        display: none;
        opacity: 0;
    }
}

.page-section:has(+ .page-section:not([hidden])) {
    border-bottom: 1px solid hsl(var(--base)/0.2);
    padding-bottom: 45px;
    margin-bottom: 40px;
}

pre code.hljs {
    display: block;
    overflow-x: auto;
    padding: 1em;
}

code.hljs {
    padding: 3px 5px;
}

.hljs {
    color: #abb2bf;
    background: #282c34;
}

.hljs-comment, .hljs-quote {
    color: #5c6370;
    font-style: italic;
}

.hljs-doctag, .hljs-formula, .hljs-keyword {
    color: #c678dd;
}

.hljs-deletion, .hljs-name, .hljs-section, .hljs-selector-tag, .hljs-subst {
    color: #e06c75;
}

.hljs-literal {
    color: #56b6c2;
}

.hljs-addition, .hljs-attribute, .hljs-meta .hljs-string, .hljs-regexp, .hljs-string {
    color: #98c379;
}

.hljs-attr, .hljs-number, .hljs-selector-attr, .hljs-selector-class, .hljs-selector-pseudo, .hljs-template-variable, .hljs-type, .hljs-variable {
    color: #d19a66;
}

.hljs-bullet, .hljs-link, .hljs-meta, .hljs-selector-id, .hljs-symbol, .hljs-title {
    color: #61aeee;
}

.hljs-built_in, .hljs-class .hljs-title, .hljs-title.class_ {
    color: #e6c07b;
}

.hljs-emphasis {
    font-style: italic;
}

.hljs-strong {
    font-weight: 700;
}

.hljs-link {
    text-decoration: underline;
}