/* 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;
}

/* Prevent long group labels from wrapping inside the sidebar */
#sidebar .sidebar-menu > ul > li.submenu > a {
    overflow: hidden;
}
#sidebar .sidebar-menu > ul > li.submenu > a > span:first-of-type {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

/* ── Doc content classes (shared across all documentation pages) ───────────── */
.doc-section { margin-bottom: 3rem; }
.doc-section h2 { color: #2c3e50; font-size: 1.8rem; font-weight: 700; margin-bottom: 1.5rem; border-bottom: 3px solid #3498db; padding-bottom: .5rem; }
.doc-section h3 { color: #34495e; font-size: 1.4rem; font-weight: 600; margin-bottom: 1rem; margin-top: 2rem; }
.doc-section p { color: #555; line-height: 1.7; margin-bottom: 1.5rem; font-size: 1.1rem; }
.doc-section ul, .doc-section ol { color: #555; line-height: 1.7; margin-bottom: 1.5rem; padding-left: 2rem; }
.doc-section li { margin-bottom: .5rem; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.feature-card { background: #f8f9fa; border: 1px solid #e9ecef; border-radius: 8px; padding: 1.5rem; transition: transform .3s ease; }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 4px 15px rgba(0,0,0,.1); }
.feature-card h4 { color: #2c3e50; font-size: 1.1rem; font-weight: 600; margin-bottom: .75rem; }
.feature-card p { font-size: .95rem; margin: 0; color: #555; }
.highlight-box { background: #e8f4fd; border-left: 4px solid #3498db; padding: 1.5rem; margin: 2rem 0; border-radius: 0 6px 6px 0; }
.highlight-box h4 { color: #2c3e50; margin-bottom: 1rem; }
.tip-box { background: #d1ecf1; border-left: 4px solid #17a2b8; padding: 1.5rem; margin: 1.5rem 0; border-radius: 0 6px 6px 0; }
.tip-box h4 { color: #0c5460; margin-bottom: .75rem; }
.warning-box { background: #fff3cd; border-left: 4px solid #ffc107; padding: 1.5rem; margin: 1.5rem 0; border-radius: 0 6px 6px 0; }
.warning-box h4 { color: #856404; margin-bottom: .75rem; }
.faq-item { background: #fff; border: 1px solid #e9ecef; border-radius: 8px; margin-bottom: 1rem; overflow: hidden; }
.faq-question { background: #f8f9fa; padding: 1.25rem 1.5rem; font-weight: 600; color: #2c3e50; border-bottom: 1px solid #e9ecef; }
.faq-answer { padding: 1.25rem 1.5rem; color: #555; line-height: 1.6; }
.data-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.data-table th { background: #f1f5f9; color: #2c3e50; font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: .75rem 1rem; text-align: left; border-bottom: 2px solid #e2e8f0; }
.data-table td { padding: .75rem 1rem; color: #555; border-bottom: 1px solid #f1f5f9; font-size: .95rem; }
.data-table tr:hover td { background: #f8fafc; }
.step-flow { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 1.5rem 0; }
.flow-step { background: #3498db; color: #fff; border-radius: 6px; padding: .5rem 1rem; font-size: .875rem; font-weight: 600; white-space: nowrap; }
.flow-arrow { color: #3498db; font-size: 1.1rem; font-weight: 700; }

