/* --- Sidebar Menu Styles (Updated for Structure) --- */
/* Styles for the sidebar (assuming fragment renders <aside class="sidebar"> or similar) */
/* Ensure it keeps its fixed width */
.sidebar { /* Adjust selector if fragment root is different */
    flex: 0 0 220px; /* Fixed width: Don't grow, don't shrink, basis 220px */
}

/* Generated 2025-04-24 */
/* Reset default list styles */
.menu_side ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Base styles for ALL links within the sidebar menu */
.menu_side a {
    display: block; /* Makes the entire area clickable and stylable */
    padding: 8px 15px 8px 10px; /* Top/Bottom padding, Right padding, Left padding */
    text-decoration: none;
    color: #003c69; /* Base text color */
    font-weight: normal; /* Base weight */
    font-size: 14px;
    border: 1px solid transparent; /* Placeholder border for smooth hover */
    border-top: 1px solid #f0f0f0;  /* Thin separator line above (light grey) */
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out; /* Smooth hover effect */
}

.menu_side a.menu-header-title {
    font-size: 12px; /* Match 'a' */
    /* Styling to make it look like a header */
    color: #DA9300;
    font-weight: bold;
}

/* --- NEW 2025-05-06: Styles for the non-interactive top-level menu header (<span>) --- */
.menu_side span.menu-header-title {
    display: block; /* Match 'a' for alignment and padding */
    padding: 8px 15px 8px 10px; /* Match 'a' for consistency */
    font-size: 12px; /* Match 'a' */
    border: 1px solid transparent; /* Match 'a' base border for alignment */
    border-top: 1px solid #f0f0f0; /* Match 'a' separator, or remove if no top line desired */

    /* Styling to make it look like a header */
    color: #DA9300;
    font-weight: bold; /* Typically headers are bold */
    cursor: default; /* Explicitly show it's not clickable */

    /* Optional: Slightly different padding or size for a top-level header */
    /* padding-top: 10px; padding-bottom: 10px; font-size: 13px; */
}

/*!* Remove top border from the very first item in ANY list (top or nested) *!*/
/*.menu_side li:first-child > a {*/
/*    border-top-color: transparent; !* Use color to hide, keeps space *!*/
/*}*/

/* Remove top border from the very first item (applies to link, current-menu-item span, or menu-header-title span) */
.menu_side li:first-child > a,
.menu_side li:first-child > span.current-menu-item,
.menu_side li:first-child > span.menu-header-title { /* Added menu-header-title */
    border-top-color: transparent;
}

/* Make the top-level 'mainheader' links bold */
/* Selects <a> with class 'mainheader' that is a DIRECT child of an <li>
   which is a DIRECT child of the top-level <ul> within .menu_side */
.menu_side > ul > li > a.mainheader {
    font-weight: bold;
    /* Optional: Add slightly more padding or different size? */
    /* padding-top: 10px; padding-bottom: 10px; font-size: 13px; */
}

/* Hover state for ALL links */
.menu_side a:hover {
    background-color: #f0f0f0; /* Light gray background */
    border-color: #ccc; /* Greyish thin border on all sides */
    /* color: #0059a3; */ /* Optional: slightly change text color on hover */
}

/* Indentation for nested links */
/* Select links within a <ul> that is itself within an <li> */
.menu_side ul ul a {
    padding-left: 25px; /* Increase left padding */
    /* Optional: Slightly different style for nested items? */
    /* font-size: 11px; */
}

.menu_side > ul > li > span.mainheader {
    font-weight: bold;
    padding-left: 25px;
}

/* NEW: Styles for the non-interactive current menu item (<span>) - added 2025-04-30 - tested on the Investor Sign-In */
.menu_side span.current-menu-item {
    display: block;                 /* Match 'a' for alignment */
    padding: 8px 15px 8px 25px;     /* Match 'a' for alignment */
    font-size: 12px;                /* Match 'a' */
    border: 1px solid transparent;  /* Match 'a' base border */
    border-top: 1px solid #f0f0f0;  /* Match 'a' separator */

    /* --- Style it to look distinct/disabled/current --- */
    color: #15416F;     /* The dark blue logo color */
    font-weight: bold;  /* Keep bold to show it's the current item */
    cursor: default;    /* Explicitly show it's not clickable */
    background-color: #fafafa;   /* Optional: slightly different background */
}

/* If the 'mainheader' class on nested links needs different styling */
/* .menu_side ul ul a.mainheader { */
/* Add specific styles here if different from other nested links */
/* For example, maybe it shouldn't be indented as much? */
/* padding-left: 15px; */
/* } */

/* The menu header and current page styling [VT] */
/*.menu_side .mainheader { color: #DA9300; }*/

