/* Side Navigation */

.fd-side-nav {
    margin: 20px 0 10px;
    padding-bottom: 10px;
    height: auto;
}

.fd-side-nav__container--top {
    overflow: visible;
}

/* Custom nav header — visually prominent title row above the list items */
.admin-nav__header {
    padding: 12px 16px 10px;
    border-bottom: 0.0625rem solid var(--sapToolbar_SeparatorColor);
    margin-bottom: 0.5rem;
}

/* Reset h4 browser defaults inside the header */
.admin-nav__header .fd-title--h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
    white-space: normal;
    word-break: break-word;
}

/* Last breadcrumb segment — h4-like, dominant */
.admin-nav__breadcrumb-last {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--sapTextColor, #32363a);
    word-break: break-word;
    margin-top: 2px;
}

/* Allow nav items to grow with their content */
.fd-navigation-list__text {
    overflow: visible !important;
    white-space: normal !important;
    text-overflow: unset !important;
    word-break: break-word;
    line-height: 1.4;
}
.fd-navigation-list__content {
    min-height: var(--fdNavigationList_Content_Height);
    height: auto;
}

/* Disabled nav item */
.fd-navigation-list__content--disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* Hide separators at list boundaries or when two land next to each other */
.fd-navigation-list__item--separator:first-child,
.fd-navigation-list__item--separator:last-child,
.fd-navigation-list__item--separator + .fd-navigation-list__item--separator {
    display: none;
}

