[data-module$=-logger] {
  position: fixed;
  min-width: 500px;
  padding: 0 10px 10px;
  overflow: hidden;
  z-index: 1000000000;
  height: calc(100% - 30px);
  background: #eeeeee;
  border: 1px solid #ddd;
}

#logger, #logger-wrapper {
  position: fixed;
  z-index: 1000000000;
}

.widget-frame #logger-wrapper {
  position: relative;
  height: 100%;
}

.widget-frame [data-module$=-logger] {
  position: relative;
  background: none;
  border: none;
}

[data-module$=-logger].stick-to-left, 
[data-module$=-logger].stick-to-right {
  height: 100%;
}

[data-module$=-logger].stick-to-right {
  top: 0;
  bottom: 0;
  right: 0;
  left: unset;
  max-width: 300px;
}

[data-module$=-logger].stick-to-bottom {
  top: unset;
  left: 0;
  right: 0;
  bottom: 0;
  height: 200px;
  
}

[data-module$=-logger].stick-to-left {
  top: 0;
  left: 0;
  right: unset;
  bottom: 0;
  max-width: 300px;
}

[data-module$=-logger].stick-to-top {
  top: 0;
  left: 0;
  right: 0;
  bottom: unset;
  height: 200px;
}

[data-module$=-logger] #logger-container {
  font-size: 18px;
  font-weight: bold;
  color: #330099;
  height: 100%;
  display: flex;
  flex-direction: column;
}

[data-module$=-logger] .log-list-container {
  display: flex;
  height: calc(100% - 88px);
}

[data-module$=-logger] #logger-list {
  font-size: 14px;
  font-weight: normal;
  overflow: auto;
  overscroll-behavior: none;
  flex: 1 0;
}

[data-module$=-logger] [data-type=log-record]:hover {
  background: #dddbdb;
  border-radius: 5px;
}

[data-module$=-logger] [data-type=log-record] {
  cursor: pointer;
}

[data-module$=-logger] [data-type=log-record].selected {
  background: #e2e2e2;
  border-radius: 5px;
}

[data-module$=-logger] #logger-detail.show-sideway {
  height: 100%;
  flex: 1 0;
}

[data-module$=-logger] #logger-detail {
  overflow: auto;
  overscroll-behavior: none;
  flex: 0 0 50%;
  background: #bebebe;
  border-radius: 5px;
  position: relative;
}

[data-module$=-logger] [data-type=expand-all-json] {
  font-size: 10px;
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

[data-module$=-logger] .log-timestamp {
  color: #550000;
}

[data-module$=-logger] .log-event {
  color: #008800;
  font-weight: bold;
}

[data-module$=-logger] #log-message {
  color: #000077;
}

[data-module$=-logger] #logger-header {
  border-bottom: 1px solid #333;
  height: auto;
  display: flex;
}

[data-module$=-logger] [data-type=clear-log] {
  font-size: 12px;
  color: #ff0000;
  flex: 0 0;
  cursor: pointer;
  height: 30px;
  display: flex;
  align-items: center;
}

.widget-frame [data-module$=-logger][class*=stick-to-] {
  max-width: 100%;
}

[data-module$=-logger] #broadcast-payload-container {
  display: flex;
  position: relative;
  background: transparent;
}

[data-module$=-logger] #setup-payload-container.active {
  background: #dfdcdc;
  border-radius: 15px;
}

[data-module$=-logger] #broadcast-payload {
  flex: 0 0 auto;
  font-size: 12px;
  display: flex;
  align-items: center;
  padding: 0 5px;
  cursor: pointer;
  height: 80%;
  width: 20px;
  margin: 3px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  background-image: url(https://icons-for-free.com/iconfiles/png/512/option+preferences+setting+icon+icon-1320086626671184435.png);
}

[data-module$=-logger] #broadcast-payload-popup {
  position: absolute;
  top: 30px;
  right: 0;
  width: 300px;
  height: 100px;
  background: #ffffff;
  z-index: 100000000;
}

[data-module$=-logger] #broadcast-payload-popup .ace_editor,
[data-module$=-logger] #broadcast-payload-popup .ace_content {
  height: 100% !important;
  min-height: 100% !important;
}

[data-module$=-logger] input:focus {
  outline: none;
}

[data-module$=-logger] .parse-error {
  color: #ff0000;
}

[data-module$=-logger] [data-type=send-message] {
  width: 100%;
  flex: 1;
  border-bottom: 1px solid #333;
  color: #693ba5;
}

[data-module$=-logger] [data-type=broadcast-message] {
  text-transform: uppercase;
  border: none;
  background: #ff6060;
  color: #ffffff;
  border-radius: 3px;
  padding: 0 5px;
  border-radius: 5px;
  cursor: pointer;
}

[data-module$=-logger] [data-type=call-service] {
  flex: 0;
  color: #4e88b8;
}

[data-module$=-logger] input {
  height: 28px;
  flex: 1 0;
  background: transparent;
  border: none;
}

[data-module$=-logger] #service-call-container {
  display: flex;
  border-bottom: 1px solid #333;
  flex-wrap: wrap;
}

[data-module$=-logger] #service-call-container input[data-type=service-args] {
  flex: 1 0;
}

[data-module$=-logger] #service-call-container [data-type=call-service] {
  flex: 1 1;
}

[data-module$=-logger] select {
  width: 150px;
  outline: none;
  font-size: 14px;
  background: #7d7e81;
  border: 1px solid #7d7e81;
  color: #ffffff;
}

.awesomplete {
  flex: 1;
}

#logger-container [role=listbox] {
  display: block !important;
  list-style: none;
  position: absolute;
  background: #d6d4d4;
  max-height: 100px;
  overflow: auto;
  border-radius: 5px;
  padding: 3px 10px 3px 25px;
  overscroll-behavior: none;
  z-index: 1000;
}

#logger-container [role=listbox] [role=option][aria-selected=true] {
  position: relative;
  background: #d8b9b9;
  border-radius: 3px;
}

#logger-container [role=listbox] [role=option][aria-selected=true]::before {
  content: '>';
  position: absolute;
  top: 0;
  left: -15px;
  color: #bd1919;
}

[role=status] {
  display: none;
}

#logger-container [role=listbox] [role=option] mark {
  background: transparent;
  color: #cf5f5f;
}