.container {
  display: inline-flex;
  position: relative;
}

.copyButton {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-white);
  border: 1px solid var(--color-grey-500);
  border-radius: 6px 0 0 6px;
  color: var(--ifm-color-content);
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition:
    background-color 0.2s,
    border-color 0.2s;
  height: 38px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.copyButton:hover {
  background-color: var(--color-grey100);
}

.dropdownButton {
  background-color: var(--color-white);
  border: 1px solid var(--color-grey-500);
  border-left: none;
  border-radius: 0 6px 6px 0;
  padding: 8px 10px;
  cursor: pointer;
  transition:
    background-color 0.2s,
    border-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.dropdownButton:hover {
  background-color: var(--color-grey-100);
}

.dropdownButton svg {
  width: 12px;
  height: 12px;
  color: var(--color-grey-500);
}

.menuItems {
  position: absolute;
  top: calc(100% + 5px);
  right: 0;
  background-color: var(--color-white);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  width: 300px;
  padding: 8px 0;
  z-index: 10;
  border: 1px solid var(--color-grey-100);
  overflow: hidden;
}

.menuItem {
  display: flex;
  align-items: flex-start;
  padding: 12px 16px;
  color: var(--color-grey-900); 
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  text-align: left;
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid var(--color-grey-100);
  text-decoration: none;
  font-family: inherit;
  font-weight: normal;
  appearance: none;
}

button.menuItem {
  padding: 12px 16px;
  margin: 0;
  outline: none;
}

.menuItem:hover {
  color: var(--color-grey-900);
  text-decoration: none;
  background-color: var(--color-grey-40);
}

.menuItem:last-child {
  border-bottom: none;
}

.menuItemIcon {
  width: 18px;
  height: 18px;
  margin-right: 12px;
  color: var(--color-grey-500);
  flex-shrink: 0;
  margin-top: 2px;
}
.inlineIcon {
  width: 12px;
  height: 12px;
  margin-left: 4px;
  color: var(--color-grey-500);
  flex-shrink: 0;
}

.menuItemText {
  margin-left: 8px;
}

.menuItemContent {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.menuItemTitle {
  font-weight: 500;
  line-height: 1.2;
  display: block;
  margin-bottom: 3px;
  font-size: 14px;
}

.menuItemDescription {
  font-size: 12px;
  margin-top: 0;
  line-height: 1.3;
  color: var(--ifm-color-content-secondary);
  display: block;
  font-weight: normal;
}
