/* Nav section label (sub-group header inside a submenu) */
.submenu ul li.nav-section-label,
.sidebar-menu ul ul li.nav-section-label {
    margin: 10px 0 2px 0 !important;
    padding: 4px 15px 4px 50px !important;
    font-size: 0.62rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
    color: #adb5bd !important;
    pointer-events: none !important;
    cursor: default !important;
    border-top: 1px solid #f0f0f0 !important;
    display: block !important;
    line-height: 1.4 !important;
    list-style: none !important;
}

/* ── Base layout (replaces missing admin theme) ── */
*, *::before, *::after { box-sizing: border-box; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    color: #374b5c;
    background: #f5f5f5;
    margin: 0;
}
a { color: #6156a5; }
img { max-width: 100%; height: auto; }

.main-wrapper { display: flex; flex-direction: column; min-height: 100vh; }

/* Header */
.header {
    display: flex;
    align-items: center;
    height: 60px;
    padding: 0 1.5rem;
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
}
.header-left, .mobile_btn { display: none !important; }

/* Sidebar */
.sidebar {
    position: fixed;
    top: 60px;
    left: 0;
    bottom: 0;
    width: 260px;
    background: #fff;
    border-right: 1px solid #e9ecef;
    z-index: 999;
    overflow: hidden;
}
.sidebar-header { display: none; }
.sidebar-inner { height: 100%; overflow-y: auto; overflow-x: hidden; padding: 0.5rem 0; }
.sidebar-menu { list-style: none; padding: 0; margin: 0; }
.sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    color: #374b5c;
    text-decoration: none;
    font-size: 12.5px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    transition: background .12s, color .12s;
}
.sidebar-menu li a:hover { background: #f5f0fa; color: #6156a5; }
.sidebar-menu li.active > a { color: #6156a5; font-weight: 600; }
.sidebar-menu li a i, .sidebar-menu li a svg { font-size: 13px; width: 15px; flex-shrink: 0; }
.sidebar-menu li a span { flex: 1; white-space: nowrap; }
.menu-arrow { margin-left: auto; font-size: 10px; flex-shrink: 0; transition: transform .2s; }
.subdrop .menu-arrow { transform: rotate(90deg); }

/* Page content */
.page-wrapper {
    margin-left: 260px;
    padding-top: 60px;
    min-height: 100vh;
    background: #fff;
}
.content { padding: 2rem; }
.content.p-0 { padding: 0; }

/* ── Submenu styling ── */
.submenu ul {
    padding-left: 0;
    background-color: transparent;
    border-left: none;
    display: none;
}

.submenu ul li {
    margin: 2px 0;
}

.submenu ul li a {
    padding: 7px 15px 7px 20px;
    display: block;
    color: #374b5c;
    text-decoration: none;
    border-radius: 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
    font-size: 0.9rem;
}

.submenu ul li a:hover {
    background-color: transparent;
    color: #6156a5;
    border-bottom-color: transparent;
    text-decoration: underline;
    text-decoration-color: #6156a580;
    text-underline-offset: 3px;
}

.submenu ul li.active a {
    background-color: transparent;
    color: #6156a5;
    font-weight: 600;
    border-bottom-color: transparent;
    text-decoration: underline;
    text-decoration-color: #6156a5;
    text-underline-offset: 3px;
}

.sidebar-menu li a.subdrop:hover span { color: #ffffff; }
.sidebar-menu li a.subdrop i { color: #9C9C9C; }
.sidebar-menu li a.subdrop { color: #0D233E; }
.sidebar-menu li.active a.subdrop { color: #ffffff; }
.doc-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.doc-header h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}
.doc-content{padding: 0 3rem;}
.doc-header h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}
.doc-header p {
    font-size: 1rem;
    opacity: 0.9;
}
b, strong {
    font-weight: bolder;
}
strong{font-size: 1rem;}
.faq-question, .faq-answer, li, blockquote, table *, p, li strong{font-size: 1.1rem;}
h4 {font-size: 1.5rem;}
h3 {font-size: 2rem;}
h2{font-size: 2.5rem;}
/* Sidebar vertical scroll */
.sidebar { overflow: hidden; }
.sidebar-inner { height: 100%; overflow-y: auto; overflow-x: hidden; }

/* Category label: purple fill when active */
#sidebar .sidebar-menu li.submenu.active > a,
#sidebar .sidebar-menu li.submenu.active > a span,
#sidebar .sidebar-menu li.submenu.active > a i,
#sidebar .sidebar-menu li.submenu > a:hover,
#sidebar .sidebar-menu li.submenu > a:hover span,
#sidebar .sidebar-menu li.submenu > a:hover i {
    background-color: #6156a5 !important;
    color: #ffffff !important;
}

/* Sub-links indented right */
#sidebar .sidebar-menu .submenu ul li a {
    padding-left: 65px !important;
}
