/* Preserve the original MLAstro CONNECT button using ESP Web Tools' activate slot. */
.connect-button {
  position: relative;
  cursor: pointer;
  font-size: 14px;
  padding: 8px 28px;
  color: var(--esp-tools-button-text-color, #fff);
  background-color: var(--esp-tools-button-color, #03a9f4);
  border: none;
  border-radius: 4px;
  box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.12), 0 1px 5px 0 rgba(0,0,0,.2);
}
.connect-button::before {
  content: " ";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0.2;
  border-radius: 4px;
}
.connect-button:hover {
  box-shadow: 0 4px 8px 0 rgba(0,0,0,.14), 0 1px 7px 0 rgba(0,0,0,.12), 0 3px 1px -1px rgba(0,0,0,.2);
}
.connect-button:hover::before {
  background-color: rgba(255,255,255,.8);
}
.connect-button:focus {
  outline: none;
}
.connect-button:focus::before {
  background-color: white;
}
.connect-button:active::before {
  background-color: grey;
}
.connect-button:disabled,
esp-web-install-button[active] .connect-button {
  color: rgba(0, 0, 0, 0.38);
  background-color: rgba(0, 0, 0, 0.12);
  box-shadow: none;
  cursor: unset;
  pointer-events: none;
}
