﻿#UserInfoList > span:not(:first-child)::before {
    content: "|";
    color: black;
    margin-right: 1rem;
    font-weight: normal;
    display: none;
}
#UserInfoList > span {
    margin-right: 1rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}
/* 2026-06-15 --bs-breakpoint-md == 768px */
@media (min-width: 767.95px) {
    #UserInfoList > span:not(:first-child)::before {
        display: inline;
    }

    #UserInfoList > span {
        margin-right: 1rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
}

#UserOptionsList li:empty {
    display: none;
}
#UserOptionsList li.nav-item > a {
    text-decoration: underline;
}

/* Animate the absolutely positioned (floating overlay) style collapse for the User Options */
/* 2026-06-15 --bs-breakpoint-md == 768px */
@media (max-width: 767.98px) {
    #UserOptionsCollapse {
        min-width: 300px;
        position: absolute;
        right: 0;
        top: 100%;
        background: var(--bs-body-bg);
        border: 1px solid var(--bs-navbar-color);
        border-radius: var(--bs-border-radius);
        padding: 0.5rem;
        z-index: 1030;
        width: max-content;
        opacity: 0;
        transform: translateY(-15px);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    #UserOptionsCollapse.show {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Neutralize Bootstrap's inline height during transition */
/* !important here beats the non-important inline style Bootstrap sets via JS */
#UserOptionsCollapse.collapsing {
    height: auto !important;
    /*overflow: visible !important;*/
}
