div[data-menu] {
    &:not(.active) {
        display: none;
    }

    position: fixed;
    background-color: white;
    border: solid var(--taurusNetworkDarkBlue) 1px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: var(--borderRadius);
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 50;
    padding-top: 10px;
    padding-bottom: 10px;

    > .item {
        text-decoration: none;
        padding: 5px 10px;
        width: 100%;
        font-weight: bold;
        color: black;
        text-wrap: nowrap;
        cursor: pointer;
        text-align: left;

        &:hover {
            background-color: var(--taurusNetworkPrimaryDark);
            color: white;
        }
    }
}

div.menu-backdrop {
    display: none;

    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.25);
    z-index: 49;
}

body:has(div[data-menu].active) {
    overflow: hidden;
    
    div.menu-backdrop {
        display: block;
    }
}
