body {
  font-family: sans-serif;
}

a {
  padding: 5px 10px 5px 0;
  color: #000000;
  text-decoration: none;
  line-height: 18px;
}

a:hover {
  color: #808080;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

label {
  line-height: 16px;
}

label > span {
  margin: 5px;
}

.lns-toggle-container {
  display: grid;
  grid-template-columns: 1fr 200px;
}

#lns-toggle {
  margin: 0 0 0 auto;
  display: flex;
}

.lns-toggle-wrap {
  display: flex;
  justify-content: flex-start;
}

.lns-toggle-wrap img {
  margin: auto 5px auto 0;
}

.lns-toggle-label {
  margin: auto 0;
}

.lns-toggle-label.disabled {
  color: #808080;
}

.lns-toggle-button {
  padding: 4px 20px;
  font-size: 14px;
  text-align: center;
  width: 56px;
  height: 22px;
  line-height: 22px;
  color: #808080;
  background-color: #ffffff;
  border: solid 1px #d0d0d0;
  cursor: pointer;
}

.lns-toggle-button:first-child {
  border-radius: 10px 0 0 10px;
}

.lns-toggle-button:last-child {
  border-radius: 0 10px 10px 0;
}

.lns-toggle-button.disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.lns-toggle-button.allowed.in-active {
  color: #008b00;
  background-color: #90ee90;
  border: solid 1px #008b00;
  font-weight: bold;
}

.lns-toggle-button.denied.in-active {
  color: #8b0000;
  background-color: #ffb6c1;
  border: solid 1px #8b0000;
  font-weight: bold;
}

#lns-container {
  margin: 2px;
  padding: 2px 5px;
  width: __MSG_popupWidth__;
  font-size: 16px;
}

#lns-container form > div {
  margin: 5px;
}

#lns-container input {
  margin: 5px 10px;
}

#lns-filtering-settings {
  display: block;
  padding-bottom: 10px;
  border-bottom: solid 1px #c0c0c0;
}

#lns-filtering-categories,
#filteringNight {
  display: block;
}

.lns-description-row {
  margin: 0;
  padding-bottom: 10px;
  border-bottom: solid 1px #c0c0c0;
  font-size: 14px;
  color: #606060;
}

.lns-disabled-description-row {
  margin: 3px;
  font-size: 12px;
  color: #606060;
}

.lns-description-row p {
  margin: 10px 0;
  font-size: 10px;
}

.lns-description-row div {
  margin: 5px 0;
}

.lns-message-wrap {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  line-height: 27px;
  gap: 7px;
}

.lns-excluded-page {
  line-height: 27px;
  color: #606060;
}

.lns-excluded-page.disabled {
  display: none;
}

.lns-message-wrap .material-icons.settings {
  margin: auto 0;
  font-size: 20px;
  line-height: 27px;
}

#setting-anchor {
  margin: 5px 0;
  line-height: 16px;
}

#loading-bar {
  display: block;
  position: absolute;
  top: 0;
  background-color: #0075f6;
  width: 100%;
  height: 5px;
  animation: loading-bar-animation;
  animation-iteration-count: infinite;
  animation-duration: 1s;
}

#lns-message {
  color: #8b0000;
}

@keyframes loading-bar-animation {
  0% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(100%);
  }
}

.support-icon {
  height: 20px;
  width: 20px;
}