/* LOTS — Org-Switcher */

.org-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.org-switcher-button {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0.25rem 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: inherit;
  font: inherit;
  cursor: default;
}

.org-switcher-button.is-multi {
  cursor: pointer;
  border-color: rgba(168, 85, 247, 0.25);
}

.org-switcher-button.is-multi:hover {
  background: rgba(168, 85, 247, 0.08);
}

.org-switcher-button[disabled] {
  cursor: default;
  border-color: transparent;
}

.org-switcher-menu {
  position: absolute;
  top: calc(100% + 0.25rem);
  right: 0;
  min-width: 240px;
  max-width: 90vw;
  background: var(--card-bg, #1e1e2e);
  color: var(--text, #e2e8f0);
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 0.25rem;
  z-index: 100;
}

.org-switcher-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem 0.6rem;
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.org-switcher-item:hover {
  background: rgba(168, 85, 247, 0.12);
}

.org-switcher-item.is-current {
  background: rgba(168, 85, 247, 0.18);
}

.org-switcher-item-name {
  flex: 1 1 auto;
  font-weight: 500;
}

.org-switcher-item-role {
  font-size: 0.75em;
  color: var(--text-muted, #94a3b8);
  text-transform: capitalize;
}
