.otc-dropdown {
	position: relative;
}

.otc-dropdown-toggle {
	padding: 0 5px;
	border: 1px solid #ddd;
	border-radius: 5px;
	background: white;
	text-align: left;
	display: flex;
	justify-content: space-between;
	align-items: center;
	touch-action: manipulation;
	height: 26px;
	line-height: 26px;
	box-sizing: content-box !important;
  }

  .otc-dropdown-toggle .otc-dropdown-arrow {
	transition: transform 0.3s ease;
	font-size: 0.8em;
  }

  .otc-dropdown-menu {
	position: absolute;
	max-height: 0;
	overflow: hidden;
	border: 1px solid #ddd;
	border-radius: 5px;
	background: white;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	transition: max-height 0.3s ease-out;
	z-index: 1000;
	display: flex;
	flex-direction: column;
	right: 0;
	margin-top: 5px;
  }

  .otc-dropdown-menu:not(.active) {
	  display: none;
  }

  .otc-dropdown-menu.active {
	max-height: 300px;
	overflow-y: auto;
  }
  
  .otc-dropdown-item {
	height: 32px;
	line-height: 32px;
	padding: 0 10px;
	min-width: 150px;
	border-bottom: 1px solid #eee;
	cursor: pointer;
	transition: background 0.2s;
	white-space: nowrap;
  }

  .otc-dropdown-item > a {
	text-decoration: none;
	color: inherit;
  }
  
  .otc-dropdown-item:last-child {
	border-bottom: none;
  }
  
  .otc-dropdown-item:hover {
	background: #f5f5f5;
  }

  .otc-dropdown-item.active {
	background: #f5f5f5;
  }

  .otc-dropdown-item.filtered {
	display: none;
  }