.gap-0 {
    gap: 0 !important;
}

.gap-1 {
    gap: .25rem !important
}

.gap-2 {
    gap: .5rem !important
}

.gap-3 {
    gap: 1rem !important
}

.gap-4 {
    gap: 1.5rem !important
}

.gap-5 {
    gap: 3rem !important
}

.doc-wrap {
    --color-border: #ccc;
    --border: 1px solid #ccc;
    --primary-color: #0842a0;
    --primary-fill: rgba(8, 66, 160, 0.1);
    --primary-text: #0b57d0;
    --body-max-width: 800px;
    --font-size-large: 24px;
    --font-size-larger: 18px;
    --font-size-medium: 16px;
    --font-size: 14px;
    --color-text-muted: #444746;
    --padding-sm: 8px;
    --padding: 12px;
    --padding-lg: 16px;
    --padding-section: 40px;
    --color-text: #1A2F36;
    --font-weight-semibold: 500;
    --font-weight-bold: 700;
    --color-text-secondary: #768286;
    --font-size-sm: 0.85em;
    --font-size-xs: 0.8em;

    height: 100%;
    overflow: auto;
    font-size: 14px;
    font-family: Roboto;
}

.doc-wrap a {
    text-decoration: none !important;
}

.text-primary {
    color: var(--primary-color);
}

.doc-header {
    background-image: url(../png/bg.png);
    background-position: center;
    background-size: contain;
    background-size: 55%;
    background-position: center bottom;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding: 60px var(--padding) 110px var(--padding);
}

.doc-module-section {
    max-width: 44.5rem;
    margin: auto;
    margin-bottom: 40px;
    border-radius: 12px;
    padding: 12px;
}

.doc-module-section.focused {
    background-color: rgb(0, 180, 237, .08);
}

.doc-module-title {
    max-width: var(--body-max-width);
    margin: auto;
    padding: var(--padding);
    margin-bottom: var(--padding-sm);
    font-size: 2em;
    text-transform: uppercase;
    padding-left: 0;
}

.doc-module-items {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    max-width: var(--body-max-width);
    margin: auto;
    gap: var(--padding-sm);
}

.doc-module-item {
    display: flex;
    flex-direction: column;
    gap: var(--padding-lg);
    align-items: center;
    padding: var(--padding-lg) 0;
    border-radius: 8px;
    transition: .4s;
    cursor: pointer;
    color: var(--color-text);
    background: #FAFAFA;
    text-decoration: none !important;
    font-size: 18px;
    border: 1px solid transparent;
}
.doc-module-item.doc-module-purple:hover {
    border-color: #6E62FF;
}
.doc-module-item.doc-module-danger:hover {
    border-color: #F24141;
}
.doc-module-item.doc-module-success:hover {
    border-color: #15C872;
}
.doc-module-item.doc-module-info:hover {
    border-color: #20AFFF;
}
.doc-module-item.doc-module-warning:hover {
    border-color: #FBAF1A;
}
.doc-module-item.doc-module-danger:hover {
    border-color: #F24141;
}

/* .doc-module-item:hover {
    box-shadow: 0 1px 3px 0 rgba(48, 48, 48, .3), 0 4px 8px 3px rgba(48, 48, 48, .15)
} */

.doc-module-item-thumb {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    transition: .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doc-module-item-thumb .icon {
    font-size: 2em;
}

.doc-body {
    margin: var(--padding-section) var(--padding-lg);
}

/* .doc-module-purple {
    color: #6E62FF;
    background-color: rgba(110, 98, 255, 0.15);
}

.doc-module-danger {
    color: #F24141;
    background-color: rgba(242, 65, 65, 0.15);
}

.doc-module-success {
    color: #15C872;
    background-color: rgba(21, 200, 114, 0.15);
}

.doc-module-info {
    color: #20AFFF;
    background-color: rgba(32, 175, 255, 0.15);
}

.doc-module-warning {
    color: #FBAF1A;
    background-color: rgba(251, 175, 26, 0.15);
} */

.doc-nav-title {
    font-size: var(--font-size-larger);
    padding-left: var(--padding-lg);
    color: var(--color-text-muted);
}

.doc-nav-menu {
    font-weight: 700;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: .2s;
    font-size: 1.2em;
    color: var(--color-text-muted);
}

.doc-nav-menu:hover {
    background-color: rgba(0, 0, 0, .1);
}

.doc-search {
    position: relative;
}

.doc-search>.icon-search {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 35px;
    font-size: 1.5em;
}

.doc-search>input {
    flex-shrink: 0;
    background-color: #fff;
    border: none;
    border-radius: 8px;
    box-shadow: 0 1px 2px 0 rgba(48, 48, 48, .3), 0 1px 3px 1px rgba(48, 48, 48, .15);
    box-sizing: border-box;
    color: #1f1f1f;
    display: block;
    font-size: 1rem;
    height: 3rem;
    padding: 0 4rem 0 4.5rem;
    width: 100%;
    width: 520px;
    max-width: 100%;
    transition: .2s;
}

.doc-search>input:focus {
    box-shadow: 0 1px 2px 0 rgba(48, 48, 48, .3), 0 2px 6px 2px rgba(48, 48, 48, .15);
    outline: none;
}

.doc-header-title {
    font-size: 2rem;
    line-height: 2.5rem;
    color: var(--primary-color);
}

.doc-header-logo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px 0 rgba(48, 48, 48, .3), 0 1px 3px 1px rgba(48, 48, 48, .15);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--padding-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.doc-search-results {
    display: none;
    width: 100%;
    position: absolute;
    background: #fff;
    padding: var(--padding-sm);
    box-shadow: 0 1px 2px 0 rgba(48, 48, 48, .3), 0 1px 3px 1px rgba(48, 48, 48, .15);
    border-radius: 0 0 8px 8px;
    top: 100%;
    flex-direction: column;
    gap: var(--padding);
    max-height: 400px;
    overflow: auto;
}

.suggest .doc-search-results {
    display: block;
    z-index: 2;
}

.suggest>input {
    border-radius: 8px 8px 0 0;
}

.doc-search-result {
    display: flex;
    gap: var(--padding-sm);
    align-items: center;
    padding: var(--padding-sm) var(--padding-lg);
    border-radius: 8px;
    cursor: pointer;
    color: var(--color-text);
    text-decoration: none !important;
}

.doc-search-result.selected {
    background-color: rgba(0, 0, 0, .08);
}

.doc-search-result-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-self: center;
    background: transparent !important;
}

.doc-drawer {
    position: fixed;
    top: 0;
    left: 0;
    background: #fff;
    transition: transform .25s cubic-bezier(.4, 0, .2, 1), visibility 0s linear 0s;
    box-shadow: 0 2px 3px 0 rgba(48, 48, 48, .3), 0 6px 10px 4px rgba(48, 48, 48, .15);
    z-index: 1001;
    width: 320px;
    height: 100%;
    transform: translateX(-100%);
    overflow: auto;
}

.doc-collapse .doc-drawer {
    transform: translateX(0);
}

.doc-drawer-top {
    display: flex;
    gap: var(--padding);
    padding: 28px 28px 15px 28px;
    font-size: var(--font-size-large);
}

.doc-drawer-title {
    flex-grow: 1;
    color: var(--color-text);
    text-decoration: none !important;
}

.doc-drawer-item {
    padding: 20px 0 20px 65px;
    display: block;
    color: var(--primary-color);
    cursor: pointer;
    font-size: var(--font-size-medium);
    text-decoration: none !important;
}

.doc-drawer-items .doc-drawer-item {
    padding-left: 90px;
}

.doc-drawer-item[href]:hover {
    background: rgba(0, 0, 0, .1);
}

.doc-nav {
    height: 64px;
    padding: var(--padding-sm);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
    transition: .4s;
}

.doc-nav.shadow {
    box-shadow: 0 4px 5px 0 rgba(0, 0, 0, .14), 0 1px 10px 0 rgba(0, 0, 0, .12), 0 2px 4px -1px rgba(0, 0, 0, .2);
}

.doc-nav-search {
    display: flex;
    gap: 4px;
    height: 46px;
    margin-left: 8%;
    width: 46%;
    background: #f1f3f4;
    align-items: center;
    border-radius: 8px;
    padding: 0 var(--padding-sm);
    transition: .2s;
    margin-bottom: 0;
}

.doc-nav-search>i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
}

.doc-nav-search>input {
    flex-grow: 1;
    height: 100%;
    border: 0;
    outline: 0 !important;
    background: 0 0;
    background: 0 0 !important;
    border: 0 !important;
    padding: 0 !important;
}

.doc-nav-nav {
    display: flex;
    gap: var(--padding-sm);
    border-bottom: 1px solid #ccc;
    align-items: center;
    padding: var(--padding-sm) var(--padding-lg) 0;
}

.doc-nav-nav.nav-bottom {
    padding-top: 0;
    background: #f2f2f2;
    border-bottom: 0;
}

.doc-nav-item {
    padding: 0 var(--padding);
    border: 3px solid transparent;
    height: 48px;
    display: flex;
    align-items: center;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    color: var(--color-text-muted);
    text-decoration: none !important;
}

.doc-nav-item.active {
    border-bottom-color: var(--primary-text) !important;
    color: var(--primary-text);
}

.doc-nav-nav.nav-bottom .doc-nav-item {
    padding: 0 2px;
    border: 0;
    border-bottom: 2px solid transparent;
    margin: 0 calc(var(--padding) - 2px);
}

.doc-nav-nav .dropdown-menu {
    width: 220px;
    max-height: 70vh;
    overflow: auto;
}

.doc-nav-nav .dropdown-menu .doc-nav-item {
    display: none;
}

.doc-detail {
    display: flex;
    gap: 50px;
    justify-content: center;
}

.doc-detail-left {
    width: 1000px;
    max-width: 100%;
    border-radius: 12px;
    border: var(--border);
    padding-top: 64px;
}

.doc-detail-left-top {
    padding: 0 64px;
}

.doc-detail-title {
    font-weight: 400;
    margin-bottom: var(--padding-section);
    margin-top: 0;
}

.doc-detail-btns {
    display: flex;
    gap: var(--padding-sm);
    margin-bottom: var(--padding-lg);
}

.doc-detail-btn {
    align-items: center;
    display: flex;
    gap: 4px;
    background: #0b57d0;
    padding: 6px 16px;
    color: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 2px 0 rgba(48,48,48,.3), 0 1px 3px 1px rgba(48,48,48,.15);
    transition: .2s;
    white-space: nowrap;
    max-width: 300px;
    cursor: pointer;
    text-decoration: none !important;
}

.doc-detail-btn:hover {
    opacity: 0.8;
}

.doc-detail-btn.disabled {
    pointer-events: none;
    opacity: .2;
}

.doc-detail-btn > div {
    display: block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    color: white;
    height: 25px;
    text-decoration: none !important;
}

.doc-detail-btn > i {
    color: white !important;
    text-decoration: none !important;
}

.doc-detail-content {
    font-size: 16px;
    min-height: 300px;
}

.doc-detail-go-top {
    display: flex;
    justify-content: flex-end;
    color: var(--primary-color);
    margin-top: 24px;
}

.doc-detail-go-top > div {
    padding: 8px 20px;
    border-radius: 5px;
    transition: .2s;
    display: flex;
    gap: 4px;
    cursor: pointer;
    align-items: center;
}

.doc-detail-go-top > div:hover {
    background: var(--primary-fill);
}

.doc-detail-intro {
    font-style: italic;
    font-size: var(--font-size-sm);
    margin: 16px 0 24px 0;
}

.doc-detail-feedback {
    margin: 24px 0;
    display: flex;
    gap: 8px;
    align-items: center;
}

.doc-detail-bottom {
    padding: 40px 64px;
    border-top: var(--border);
    display: flex;
    margin-top: 30px;
    align-items: center;
    gap: var(--padding-sm);
}

.doc-helpful {
    margin-right: var(--padding);
    font-size: 1.2em;
    line-height: 44px;
}

.doc-helpful-btn {
    height: 44px;
    width: 86px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #a9acad;
    color: var(--primary-color);
    transition: .2s;
}

.doc-helpful-btn {
    cursor: pointer;
    background: var(--primary-fill);
}

.doc-detail-right {
    width: 300px;
    flex-shrink: 0;
}

.doc-detail-right-title {
    margin-bottom: 20px;
    font-size: 1.2em;
    font-weight: 500;
}

.doc-suggest-item {
    display: flex;
    align-items: center;
    gap: var(--padding);
    margin-bottom: var(--padding-sm);
    color: var(--color-text);
    cursor: pointer;
}

.doc-suggest-item:hover {
    color: var(--primary-text);
}

.doc-suggest-item.active {
    color: var(--primary-text);
    pointer-events: none;
}

svg.article {
    width: 18px;
    height: 18px;
    fill: var(--primary-text);
    flex-shrink: 0;
}

/* Start content */
.doc-detail-content {
    font-size: 16px;
}
.doc-detail-content p {
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}
.doc-detail-content a {
    color: var(--primary-color) !important;
    text-decoration: unset;
}
.doc-detail-content a * {
    color: var(--primary-color) !important;
    text-decoration: unset;
}
.doc-detail-content .color-box {
    font-size: 14px;
}
.doc-detail-content .color-box * {
    font-size: 14px;
    line-height: unset;
}
.doc-detail-content img {
    max-width: 100%;
    height: auto;
}
.doc-detail-content table th, .doc-detail-content table td {
    padding: 10px;
    min-width: 60px;
    border-color: var(--color-border);
    font-size: 14px;
}
.doc-detail-content table th *, .doc-detail-content table td * {
    font-size: 14px;
}
.doc-detail-content table th, .doc-detail-content table tr:first-child td {
    background: #e3e3e3;
}
/* End content */


.doc-search-list {
    max-width: var(--body-max-width);
    margin: auto;
}

.doc-search-item {
    display: flex;
    gap: var(--padding-lg);
    margin-bottom: var(--padding-lg);
}

.doc-search-item-icon {
    color: var(--primary-color);
    font-size: 1.5em;
    margin-top: 4px;
}

.doc-search-item-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    padding-bottom: var(--padding-lg);
    border-bottom: var(--border);
}

.doc-search-item-title {
    color: var(--color-text);
    font-weight: var(--font-weight-semibold);
}

.doc-search-item-object {
    font-size: var(--font-size-xs);
    color: var(--color-text-secondary);
    line-height: 1;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.doc-search-item-object {
    font-size: var(--font-size-xs);
    color: var(--color-text-secondary);
    line-height: 1;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.doc-faq-badge {
    border: 1px solid #7484ff;
    padding: 0 6px;
    border-radius: 4px;
    color: var(--primary-text);
    transform: scale(0.8) translate(-6px, -1px);
    display: inline-flex;
    margin-right: -6px;
}

.doc-detail-faq {
    padding: var(--padding-lg);
    background: whitesmoke;
    border-radius: 12px;
    margin-top: var(--padding-lg);
}

.doc-detail-faq ul li a {
    color: var(--color-text);
}

.doc-detail-faq ul li a:hover {
    color: var(--primary-text);
}