/* DROPDOWN - carved from nexus-members.css */

.nm-profile-action__button {
  width: fit-content;
}


.nm-profile-action {
  display: grid;
  gap: 12px;
}


.nm-profile-action__button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}


.nm-profile-action__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}


.nm-profile-action__icon svg {
  width: 1em;
  height: 1em;
  display: block;
  fill: currentColor;
  stroke: currentColor;
}


.nm-profile-action__label:empty {
  display: none;
}


.nm-profile-actions-wrap {
  position: relative;
}


.nm-profile-actions-dropdown {
  display: none;
  position: relative;
}


.nm-profile-actions-dropdown__toggle {
  list-style: none;
  cursor: pointer;
}


.nm-profile-actions-dropdown__toggle::-webkit-details-marker {
  display: none;
}


.nm-profile-actions-dropdown__toggle::marker {
  content: '';
}


.nm-profile-actions-dropdown__icon--close {
  display: none;
}


.nm-profile-actions-dropdown[open] .nm-profile-actions-dropdown__icon--open {
  display: none;
}


.nm-profile-actions-dropdown[open] .nm-profile-actions-dropdown__icon--close {
  display: inline-flex;
}


.nm-profile-actions-dropdown__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 50000;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}


.nm-profile-actions-dropdown__menu .nm-profile-action__button {
  width: 100%;
  padding: 10px 14px;
  white-space: nowrap;
}


.nm-profile-actions-dropdown--fullscreen .nm-profile-actions-dropdown__menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100000;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 76px 24px 24px;
  overflow-y: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}


.nm-profile-actions-dropdown--fullscreen .nm-profile-actions-dropdown__menu .nm-profile-action {
  width: 100%;
  max-width: 420px;
}


.nm-profile-actions-dropdown--fullscreen .nm-profile-actions-dropdown__menu .nm-profile-action__button {
  justify-content: center;
  font-size: 1.2em;
  padding: 14px 20px;
  white-space: normal;
  text-align: center;
}


.nm-profile-actions-dropdown--fullscreen[open] .nm-profile-actions-dropdown__toggle {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 100001;
}

