@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
:host {
  display: block;
  opacity: 0;
}

:host(.closed) {
  display: none;
}

:host(.appear) {
  animation: fadeIn ease 0.8s;
  animation-fill-mode: forwards;
}

:host(.disappear) {
  animation: fadeOut ease 0.8s;
  animation-fill-mode: forwards;
}

.btn-close {
  display: none;
  position: fixed;
  padding: 8px;
  cursor: pointer;
  display: none;
  outline: none;
  border: 0;
  background: transparent;
}

.mobile {
  background-color: var(--staytuned-main-color, #216fd4);
  color: #fff;
  position: fixed;
  bottom: 0;
  min-height: 82px;
  width: 100%;
  z-index: 9998;
  border-radius: 5px 5px 0 0;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
}
:host(.closeable) .mobile .btn-close {
  display: block;
}
.mobile .content {
  margin: 16px 82px 16px 56px;
  font-size: 13px;
  font-weight: 500;
}
.mobile .content b {
  font-weight: 600;
}

.desktop {
  background-color: var(--staytuned-main-color, #216fd4);
  position: fixed;
  border-radius: 4px;
  bottom: 10px;
  right: 236px;
  z-index: 10000;
  width: 220px;
  height: 74px;
  box-sizing: border-box;
  padding: 19px 22px;
  font-size: 14px;
  color: #fff;
  font-weight: 500;
}
.desktop::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 7px solid var(--staytuned-main-color, #216fd4);
  position: absolute;
  top: calc(50% - 7px / 2);
  right: -7px;
}