.aktechvn-toc {
    margin-top: 15px !important;
    margin-bottom: 15px !important;
    padding: 10px !important;
    font-size: 16px;
    border: 2px solid;
}

.aktechvn-toc-title {
    font-weight: 700;
    margin-bottom: 10px;
}

.aktechvn-toc ul {
    list-style: none;
    padding-left: 0;
}

.aktechvn-toc .toc-sub {
    margin: 10px 0px 10px 0px;
}

.toc-h3{
    padding-left: 15px;
}
.aktechvn-toc a {
    text-decoration: none;
}

.toc-h2{
    margin-left: 0 !important;
}

.aktechvn-toc-list li{
    margin-left: 0 !important;
}

.aktechvn-toc a.is-active {
    font-weight: 600;
    text-decoration: underline;
}

.aktechvn-toc .toc-h3 a.is-active {
    opacity: 1;
}


/* =========================
 * TOC BUTTON
 * ========================= */
#aktechvn-button-toc {
    position: fixed;
    width: 57px;
    height: 57px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    z-index: 9999;
}

#aktechvn-button-toc[data-side="right"] {
    right: 20px;
}

#aktechvn-button-toc[data-side="left"] {
    left: 20px;
}

/* =========================
 * TOC POPUP
 * ========================= */
#aktechvn-toc-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 9998;
    display: none;
}

#aktechvn-toc-popup.active {
    display: block;
}

.aktechvn-toc-popup-inner {
    position: absolute;
    right: 20px;
    bottom: 100px;
    width: 90%;
    max-width: 360px;
    max-height: 70vh;
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    overflow-y: auto;
}

/* popup bên trái */
#aktechvn-button-toc[data-side="left"] + #aktechvn-toc-popup .aktechvn-toc-popup-inner {
    left: 20px;
    right: auto;
}
