.workspace-switcher-host[hidden] {
  display: none !important;
}

.workspace-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.2rem;
  border: 1px solid rgba(140, 170, 255, 0.18);
  border-radius: 10px;
  background: rgba(7, 12, 29, 0.54);
}

.workspace-switcher-btn {
  border: 0;
  border-radius: 7px;
  padding: 0.42rem 0.72rem;
  background: transparent;
  color: var(--muted, #8a96c0);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.workspace-switcher-btn:hover:not(:disabled) {
  color: var(--text, #eef3ff);
  background: rgba(255, 255, 255, 0.06);
}

.workspace-switcher-btn[aria-current="page"] {
  color: #eef3ff;
  background: rgba(111, 139, 255, 0.24);
  box-shadow: inset 0 0 0 1px rgba(136, 159, 255, 0.3);
}

.workspace-switcher-btn:disabled {
  cursor: wait;
  opacity: 0.65;
}

@media (max-width: 720px) {
  .workspace-switcher {
    max-width: 100%;
  }

  .workspace-switcher-btn {
    padding: 0.4rem 0.58rem;
    font-size: 0.72rem;
  }
}
