/* ==========================================================================
   Importing Your Common External CSS Baseline
   ========================================================================== */

html, body {
    height: 100% !important;
    max-height: 100vh !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* Layout Framework Parent Flexbox Grid Container */
.split-layout-root {
    display: flex;
    min-height: 100vh;
    width: 100%;
    background-color: #ffffff;
    overflow: hidden; /* Prevents whole-page scrolling horizontal bugs */
}

/* Sidebar Layout Settings (Left Side Component Rail) */
.split-sidebar {
    width: 200px; /* Reduced custom width parameter */
    background-color: #f8f9fa;
    border-right: 1px solid #e9ecef;
    padding: 30px 16px;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-item {
    margin-bottom: 12px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    color: #444444;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    line-height: 1.3;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.sidebar-link:hover {
    background-color: #e9ecef;
    color: #0f61d8;
}

/* Accent Indicator styling for Active states */
.sidebar-link.active-tab {
    background-color: #e3f2fd;
    color: #0f61d8;
    font-weight: 600;
    border-left: 4px solid #0f61d8;
    border-radius: 0 8px 8px 0;
    padding-left: 10px;
}

/* 🛠️ FIXES FOR THE TRUNCATED RIGHT SIDE CONTENT AREA */
.split-content-display {
    flex-grow: 1;
    flex-shrink: 1;
    min-width: 0; /* CRITICAL: Allows flex items to shrink below text-content size boundaries */
    height: 100vh;
    overflow-y: auto;
    background-color: #ffffff;
}

/* 🛠️ OVERRIDES FOR THE STATIC common.css PARAMETERS */
.split-content-display .page-container {
    max-width: 100% !important; /* Forces the box to adapt to the split screen space instead of 1034px */
    padding: 40px 5% 150px 5% !important; /* Top, Right, Bottom, Left padding */
    margin: 0 !important;
}

.split-content-display .faq-section {
    width: 100% !important; /* Prevents common.css from forcing a static 50% box alignment */
    margin: 40px 0 0 0 !important; /* Removes the 250px hard margin offset pushing content out */
}

.tab-panel {
    display: none; 
    width: 100%;
}

.tab-panel.active-panel {
    display: block;
}
