.user-dropdown-wrapper {
  position: relative;
  
}

.customer-dropdown-container {
  position: relative;
       
}

.customer-dropdown-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}


.dropdown-btn-trigger {
  all: unset;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  width: 100%;            /* FULL WIDTH of sidebar */
  box-sizing: border-box;
  cursor: pointer;
  font-size: 15px;
  color: rgb(62, 60, 60);
  border-radius: 6px;
}

.dropdown-btn-trigger:hover {
  background: #f0f0f0;
}

/* "Small window" dropdown */
.dropdown-window {
  position: absolute;
  top: 100%; /* right under the button */
  left: 0;
  width: 100%; /* match button width */
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  margin-top: 4px; /* small gap under button */
  max-height: 300px; /* scroll if too many items */
  overflow-y: auto;
  z-index: 999;
}

.dropdown-menu {
  position: absolute;
  top: 20px; /* below icon */
  right: 0;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  padding: 5px 0;
  list-style: none;
  min-width: 150px;
  max-width: 300px; /* prevent overflow */
  z-index: 9999;
  word-wrap: break-word;
}

.dropdown-menu li button {
  all: unset;
  display: block;
  width: 100%;
  padding: 8px 12px;
  cursor: pointer;
  color: #333;
  white-space: normal;      /* allow text to wrap */
  overflow-wrap: break-word; /* break long words if needed */
  word-break: break-word;   /* fallback for very long words */
  box-sizing: border-box;
  font-size: 15px;  /* include padding in width */
}

.dropdown-menu li button:hover {
  background-color: #f0f0f0;
}

.dropdown-menu-collapsible {
  list-style: none;
  margin: 0;
  padding-left: 10px;
  background: white;
  border-radius: 6px;
  font-size: 14px;
  
  overflow-x: hidden;
}

.dropdown-menu-collapsible li>button:only-child {
  all: unset;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 4px 55px;
  cursor: pointer;
}

.muted {
  opacity: 0.5;
  color: #999;
  
}