:root{
    --font-base: Inter, "Segoe UI", sans-serif;

    --color-bg: #ffffff;
    --color-bg-soft: #f8fbfd;
    --color-surface: rgba(255,255,255,0.86);
    --color-surface-strong: rgba(255,255,255,0.96);
    --color-surface-soft: rgba(248,250,252,0.90);
    --color-surface-muted: #f1f5f9;

    --color-text: #0f172a;
    --color-text-muted: #64748b;
    --color-text-soft: #94a3b8;

    --color-sidebar: #0f172a;
    --color-sidebar-2: #111827;

    --color-border: rgba(148,163,184,0.16);
    --color-border-strong: rgba(148,163,184,0.24);
    --color-gloss-line: rgba(255,255,255,0.68);

    --color-primary: #00a961;
    --color-primary-dark: #008c51;
    --color-primary-soft: rgba(0,169,97,0.10);
    --color-primary-glow: rgba(0,169,97,0.16);

    --color-info-bg: rgba(234,246,255,0.90);
    --color-info-border: #2196f3;

    --color-warning-bg: rgba(255,248,231,0.94);
    --color-warning-border: #f59e0b;

    --shadow-xs: 0 2px 8px rgba(15,23,42,0.04);
    --shadow-sm: 0 12px 28px rgba(15,23,42,0.06);
    --shadow-md: 0 20px 45px rgba(15,23,42,0.08);
    --shadow-lg: 0 28px 70px rgba(15,23,42,0.12);
    --shadow-gloss:
        0 1px 0 rgba(255,255,255,0.72) inset,
        0 -1px 0 rgba(255,255,255,0.18) inset,
        0 18px 40px rgba(15,23,42,0.08);

    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --radius-xl: 28px;

    --blur-md: blur(12px);
    --transition: all 0.28s ease;
}

/* Base */
*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    font-family:var(--font-base);
    background:#ffffff;
    color:var(--color-text);
    line-height:1.65;
    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
}

img{
    display:block;
    max-width:100%;
    height:auto;
}

a{
    color:inherit;
}

::selection{
    background:rgba(0,169,97,0.14);
    color:var(--color-text);
}

/* Layout */
.docs-layout{
    display:flex;
    min-height:100vh;
    position:relative;
}

/* Sidebar */
.sidebar{
    width:300px;
    background:
        linear-gradient(180deg, rgba(15,23,42,0.98) 0%, rgba(17,24,39,0.98) 100%);
    color:#fff;
    padding:32px 22px;
    position:sticky;
    top:0;
    height:100vh;
    overflow-y:auto;
    border-right:1px solid rgba(255,255,255,0.06);
    box-shadow:
        inset -1px 0 0 rgba(255,255,255,0.04),
        18px 0 40px rgba(2,6,23,0.06);
}

.sidebar::before{
    content:"";
    position:absolute;
    inset:0;
    background:
        radial-gradient(circle at top left, rgba(0,169,97,0.12), transparent 28%),
        radial-gradient(circle at bottom right, rgba(255,255,255,0.04), transparent 28%);
    pointer-events:none;
}

.logo,
.subtitle,
.menu-title,
.nav{
    position:relative;
    z-index:1;
}

.logo{
    font-size:31px;
    font-weight:800;
    letter-spacing:-0.8px;
    margin-bottom:6px;
}

.logo span{
    color:var(--color-primary);
    text-shadow:0 0 14px rgba(0,169,97,0.22);
}

.subtitle{
    font-size:13px;
    color:rgba(255,255,255,0.70);
    margin-bottom:28px;
}

.menu-title{
    font-size:11px;
    letter-spacing:1.25px;
    text-transform:uppercase;
    color:rgba(255,255,255,0.46);
    margin:26px 0 12px;
    font-weight:700;
}

.nav a{
    display:flex;
    align-items:center;
    gap:10px;
    padding:13px 14px;
    margin-bottom:9px;
    border-radius:14px;
    color:rgba(255,255,255,0.92);
    text-decoration:none;
    transition:var(--transition);
    border:1px solid transparent;
    background:rgba(255,255,255,0.02);
    position:relative;
    overflow:hidden;
}

.nav a::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:50%;
    background:linear-gradient(180deg, rgba(255,255,255,0.08), transparent);
    pointer-events:none;
}

.nav a:hover{
    background:rgba(255,255,255,0.08);
    border-color:rgba(255,255,255,0.07);
    transform:translateX(4px);
    box-shadow:0 10px 24px rgba(0,0,0,0.10);
}

.nav a.active{
    background:linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color:#fff;
    font-weight:600;
    border-color:rgba(255,255,255,0.10);
    box-shadow:
        0 14px 28px rgba(0,169,97,0.22),
        0 0 0 1px rgba(255,255,255,0.06) inset;
}

/* Content */
.content{
    flex:1;
    max-width:1240px;
    padding:52px 52px 60px;
    position:relative;
}

/* Search */
.docs-search{
    margin-bottom:42px;
}

#docSearch{
    width:100%;
    padding:17px 20px;
    font-size:16px;
    border:1px solid var(--color-border);
    border-radius:18px;
    outline:none;
    background:var(--color-surface-strong);
    color:var(--color-text);
    box-shadow:var(--shadow-xs);
    backdrop-filter:var(--blur-md);
    -webkit-backdrop-filter:var(--blur-md);
    transition:var(--transition);
}

#docSearch::placeholder{
    color:var(--color-text-soft);
}

#docSearch:focus{
    border-color:rgba(0,169,97,0.30);
    box-shadow:
        0 0 0 5px var(--color-primary-soft),
        0 10px 24px rgba(0,169,97,0.08);
    transform:translateY(-1px);
}

/* Sections */
.section{
    margin-bottom:78px;
    position:relative;
}

.section h2{
    display:flex;
    align-items:center;
    gap:14px;
    font-size:36px;
    line-height:1.15;
    margin:0 0 12px;
    letter-spacing:-1px;
}

.section-number{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:46px;
    height:46px;
    background:linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color:#fff;
    border-radius:14px;
    font-weight:700;
    box-shadow:
        0 10px 20px rgba(0,169,97,0.20),
        0 0 0 1px rgba(255,255,255,0.45) inset;
    flex-shrink:0;
}

.section-desc{
    color:var(--color-text-muted);
    margin-bottom:26px;
    font-size:16px;
}

/* Shared premium cards */
.info-box,
.warning-box,
.screenshot,
table,
.faq-item,
.doc-navigation > a{
    background:linear-gradient(
        180deg,
        rgba(255,255,255,0.97) 0%,
        rgba(255,255,255,0.88) 100%
    );
    backdrop-filter:var(--blur-md);
    -webkit-backdrop-filter:var(--blur-md);
    border:1px solid var(--color-border);
    box-shadow:var(--shadow-gloss);
}

/* glossy overlay */
.info-box,
.warning-box,
.screenshot,
.faq-item,
.doc-navigation > a{
    position:relative;
    overflow:hidden;
}

.info-box::before,
.warning-box::before,
.screenshot::before,
.faq-item::before,
.doc-navigation > a::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:48%;
    background:linear-gradient(
        180deg,
        rgba(255,255,255,0.48) 0%,
        rgba(255,255,255,0.16) 40%,
        rgba(255,255,255,0) 100%
    );
    pointer-events:none;
}

.info-box::after,
.warning-box::after,
.screenshot::after,
.doc-navigation > a::after{
    content:"";
    position:absolute;
    top:0;
    left:14px;
    right:14px;
    height:1px;
    background:linear-gradient(
        90deg,
        transparent,
        var(--color-gloss-line),
        transparent
    );
    pointer-events:none;
}

/* Info / Warning */
.info-box,
.warning-box{
    padding:22px 24px;
    border-radius:20px;
    margin-bottom:30px;
}

.info-box{
    background:
        linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(234,246,255,0.98) 100%);
    border-left:5px solid var(--color-info-border);
}

.warning-box{
    background:
        linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(255,248,231,0.99) 100%);
    border-left:5px solid var(--color-warning-border);
}

/* Screenshot */
.screenshot{
    padding:18px;
    border-radius:24px;
    margin-bottom:28px;
}

.screenshot img{
    width:100%;
    border-radius:16px;
    border:1px solid rgba(148,163,184,0.18);
    box-shadow:
        0 0 0 3px rgba(255,255,255,0.72),
        0 8px 24px rgba(15,23,42,0.07);
    background:#fff;
}

/* Table */
table{
    width:100%;
    border-collapse:collapse;
    border-radius:20px;
    overflow:hidden;
    box-shadow:var(--shadow-sm);
}

th{
    background:rgba(248,250,252,0.92);
    padding:17px 18px;
    text-align:left;
    color:var(--color-text);
    font-weight:700;
    font-size:15px;
}

td{
    padding:16px 18px;
    border-top:1px solid rgba(148,163,184,0.14);
    color:#334155;
    background:rgba(255,255,255,0.72);
}

tr:hover td{
    background:rgba(0,169,97,0.025);
}

/* Lists / Divider */
.section ul{
    margin:16px 0 24px;
    padding-left:22px;
}

.section ul li{
    margin-bottom:8px;
    color:#334155;
    line-height:1.75;
}

.section hr{
    border:0;
    height:1px;
    background:linear-gradient(90deg, transparent, rgba(148,163,184,0.30), transparent);
    margin:34px 0;
}

/* FAQ */
.faq-item{
    border-radius:20px;
    margin-bottom:18px;
    transition:var(--transition);
}

.faq-item:hover{
    transform:translateY(-3px);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.68) inset,
        0 -1px 0 rgba(255,255,255,0.18) inset,
        0 22px 46px rgba(15,23,42,0.10);
    border-color:var(--color-border-strong);
}

.faq-question{
    width:100%;
    border:none;
    background:transparent;
    padding:19px 20px;
    text-align:left;
    cursor:pointer;
    font-size:16px;
    font-weight:600;
    color:var(--color-text);
    display:flex;
    justify-content:space-between;
    align-items:center;
    transition:var(--transition);
    position:relative;
    z-index:1;
}

.faq-question:hover{
    background:rgba(0,169,97,0.025);
}

.faq-question span{
    width:34px;
    height:34px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    font-size:20px;
    color:var(--color-primary);
    background:linear-gradient(180deg, rgba(255,255,255,0.95), rgba(0,169,97,0.08));
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.9),
        0 6px 14px rgba(0,169,97,0.08);
    transition:transform .28s ease, background .28s ease;
}

.faq-answer{
    max-height:0;
    overflow:hidden;
    transition:max-height .35s ease;
}

.faq-answer p{
    padding:2px 20px 22px;
    margin:0;
    color:#475569;
    line-height:1.8;
    position:relative;
    z-index:1;
}

.faq-item.active .faq-answer{
    max-height:320px;
}

.faq-item.active .faq-question span{
    transform:rotate(45deg);
    background:linear-gradient(180deg, rgba(255,255,255,0.95), rgba(0,169,97,0.16));
}

/* Progress Bar */
#progressBar{
    position:fixed;
    top:0;
    left:0;
    width:0%;
    height:4px;
    background:linear-gradient(90deg, #00a961 0%, #19c37d 50%, #00a961 100%);
    z-index:9999;
    box-shadow:
        0 0 10px rgba(0,169,97,.38),
        0 0 20px rgba(0,169,97,.18);
    border-radius:0 4px 4px 0;
    transition:width .08s linear;
}

#progressBar::after{
    content:'';
    position:absolute;
    top:0;
    right:-2px;
    width:12px;
    height:100%;
    background:inherit;
    filter:blur(6px);
}

table{
    margin-bottom:40px !important;
}

/* Navigation cards */
.doc-navigation{
    display:flex;
    gap:22px;
    margin:64px 0 14px;
}

.doc-navigation > a{
    display:block;
    flex:1;
    padding:26px;
    border-radius:24px;
    text-decoration:none;
    transition:var(--transition);
}

.doc-navigation > a:hover{
    transform:translateY(-5px);
    border-color:rgba(0,169,97,0.24);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.75) inset,
        0 -1px 0 rgba(255,255,255,0.22) inset,
        0 20px 36px rgba(15,23,42,0.08),
        0 8px 20px rgba(0,169,97,0.06);
    background:var(--color-surface-strong);
}

.doc-navigation > a span{
    display:block;
    margin-top:8px;
    font-size:19px;
    font-weight:700;
    color:var(--color-text);
    letter-spacing:-0.2px;
    position:relative;
    z-index:1;
}

/* Focus */
a:focus-visible,
button:focus-visible,
input:focus-visible{
    outline:2px solid var(--color-primary);
    outline-offset:3px;
    border-radius:12px;
}

/* Responsive */
@media (max-width: 992px){
    .docs-layout{
        flex-direction:column;
    }

    .sidebar{
        width:100%;
        height:auto;
        position:relative;
        border-right:none;
        box-shadow:none;
    }

    .content{
        max-width:100%;
        padding:30px 20px 50px;
    }

    .section h2{
        font-size:29px;
    }

    .doc-navigation{
        flex-direction:column;
    }
}

@media (max-width: 576px){
    .sidebar{
        padding:24px 16px;
    }

    .content{
        padding:24px 16px 44px;
    }

    #docSearch{
        font-size:15px;
        padding:15px 16px;
        border-radius:16px;
    }

    .section{
        margin-bottom:56px;
    }

    .section h2{
        font-size:25px;
    }

    .section-number{
        width:40px;
        height:40px;
        font-size:14px;
    }

    th,
    td{
        padding:14px;
    }

    .faq-question{
        font-size:15px;
        padding:16px 18px;
    }

    .doc-navigation > a{
        padding:20px;
    }

    .doc-navigation > a span{
        font-size:17px;
    }

    .info-box,
    .warning-box{
        margin-bottom:24px;
    }
}

/* Minimal Premium Back To Top */
#backToTop{
    position:fixed;
    right:24px;
    bottom:24px;
    width:46px;
    height:46px;
    background:rgba(255,255,255,.95);
    color:#00a961;
    backdrop-filter:blur(10px);
    border:1px solid rgba(0,169,97,.15);
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    opacity:0;
    visibility:hidden;
    transform:translateY(15px);
    transition:
        opacity .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
    z-index:9999;
    box-shadow:
        0 6px 18px rgba(0,169,97,.20);
}

#backToTop.show{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

#backToTop:hover{
    transform:translateY(-4px);
    box-shadow:
        0 12px 28px rgba(0,169,97,.30);
}

#backToTop:active{
    transform:scale(.95);
}

#backToTop svg{
    width:18px;
    height:18px;
    stroke:#fff;
    transition:transform .25s ease;
}

#backToTop:hover svg{
    transform:translateY(-2px);
}

#backToTop svg{
    stroke:#00a961;
}

/* ==========================
   CHANGELOG ACCORDION
========================== */

.changelog-wrapper{
    margin-top:30px;
}

.changelog-item{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:16px;
    margin-bottom:14px;
    overflow:hidden;
    box-shadow:
        0 2px 8px rgba(0,0,0,.04);
    transition:.25s ease;
}

.changelog-item:hover{
    border-color:#d1d5db;
    box-shadow:
        0 8px 24px rgba(0,0,0,.06);
}

.changelog-header{
    width:100%;
    border:none;
    background:#fff;
    cursor:pointer;
    padding:20px 24px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    text-align:left;
}

.changelog-left{
    display:flex;
    align-items:center;
    gap:14px;
    flex-wrap:wrap;
}

.version-badge{
    background:linear-gradient(
        135deg,
        #00a961,
        #19c37d
    );
    color:#fff;
    padding:8px 14px;
    border-radius:999px;
    font-size:13px;
    font-weight:700;
    box-shadow:
        0 4px 12px rgba(0,169,97,.20);
}

.version-date{
    color:#64748b;
    font-size:14px;
}

.changelog-icon{
    font-size:22px;
    color:#64748b;
    transition:.3s ease;
}

.changelog-content{
    max-height:0;
    overflow:hidden;
    transition:
        max-height .35s ease;
}

.changelog-content-inner{
    padding:0 24px 24px;
}

.changelog-item.active .changelog-content{
    max-height:1500px;
}

.changelog-item.active .changelog-icon{
    transform:rotate(180deg);
}

.changelog-content ul{
    margin-top:15px;
    padding-left:22px;
}

.changelog-content li{
    margin-bottom:10px;
    line-height:1.7;
    color:#334155;
}

/* Latest Release Highlight */
.changelog-item.active{
    border-color:#00a961;
}

.changelog-item.active .changelog-header{
    background:
        linear-gradient(
            180deg,
            rgba(0,169,97,.04),
            transparent
        );
}

/* Major Release Box */
.changelog-content .warning-box{
    margin-top:5px;
    margin-bottom:20px;
}

.changelog-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    color:#64748b;
    transition:.3s ease;
}

.changelog-icon svg{
    width:20px;
    height:20px;
}

.changelog-item.active .changelog-icon{
    transform:rotate(180deg);
}

.content{
    flex:1;
    padding:40px 50px;
    max-width:1280px;
    width:100%;
    margin:0 auto;
}

@media(max-width:768px){
    .content{
        padding:20px;
    }
}

.menu-toggle{
    display:none;
}

@media (max-width:768px){

    .menu-toggle{
        display:flex;
        align-items:center;
        justify-content:center;
        position:fixed;
        top:15px;
        left:15px;
        width:46px;
        height:46px;
        border:none;
        border-radius:12px;
        cursor:pointer;
        z-index:3000;
    }

    .menu-toggle svg{
        width:24px;
        height:24px;
    }

    .sidebar{
        position: fixed;
        top: 0;
        left: -320px;
        width: 320px;
        height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        z-index: 9999;
    }

    .sidebar.open{
        left: 0;
    }

    /* Last menu item cut na ho */
    .sidebar .nav,
    .sidebar .sidebar-content{
        padding-bottom: 30px;
    }

    .content{
        width:100%;
        margin-left:0;
    }
}

body.menu-open{
    overflow:hidden;
}

.sidebar-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    opacity:0;
    visibility:hidden;
    transition:.3s;
    z-index:2400;
}

.sidebar-overlay.active{
    opacity:1;
    visibility:visible;
}
/* =====================================
   CHANGELOG PRO
===================================== */

.changelog-content{
    padding:30px !important;
}

.change-group{
    margin-top:28px !important;
}

.change-group:first-child{
    margin-top:0 !important;
}

.change-group h4{
    display:block !important;
    margin:0 0 18px !important;
    font-size:18px !important;
    font-weight:700 !important;
    color:#0f172a !important;
    padding-bottom:10px !important;
    border-bottom:2px solid #e5e7eb !important;
}

.change-group ul{
    margin:0 !important;
    padding-left:24px !important;
}

.change-group li{
    margin-bottom:12px !important;
    line-height:1.8 !important;
    color:#475569 !important;
}

.change-group + .change-group{
    margin-top:30px !important;
    padding-top:10px !important;
}

.version-date{
    margin-left:12px !important;
    color:#64748b !important;
    font-size:14px !important;
    font-weight:500 !important;
}
/* Smooth Accordion Animation */

.changelog-item .changelog-content{
    max-height:0;
    overflow:hidden;
    padding:0 30px !important;
    transition:max-height .35s ease, padding .35s ease;
}

.changelog-item.active .changelog-content{
    max-height:3000px;
    padding:30px !important;
}

/* Better List Spacing */

.changelog-content ul{
    margin-top:12px;
}

.changelog-content li{
    margin-bottom:12px;
    line-height:1.8;
}

/* Version Card Hover */

.changelog-item{
    transition:.25s ease;
}

.changelog-item:hover{
    transform:translateY(-2px);
}
.changelog-content .change-group h4{
    display:flex !important;
    align-items:center !important;
    gap:10px !important;

    padding-bottom:12px !important;
    margin-bottom:18px !important;

    border-bottom:1px solid #e5e7eb !important;

    font-size:18px !important;
    font-weight:700 !important;
    color:#111827 !important;
}