.smoothh-mailerlite-popup-button {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 9999;
  max-width: calc(100vw - 32px);
}

.smoothh-mailerlite-popup-button[hidden] {
  display: none !important;
}

.smoothh-mailerlite-popup-button .wp-block-buttons {
  margin-bottom: 0;
}

.smoothh-mailerlite-popup-button .wp-block-button {
  margin: 0;
}

.smoothh-mailerlite-popup-button .wp-block-button__link {
  white-space: nowrap;
}

.smoothh-mailerlite-popup-button__close {
  position: absolute;
  top: -32px;
  right: -32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  color: #41148C;
  font-family: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
	display: none;
}

.smoothh-mailerlite-popup-button__close:hover {
  transform: scale(1.05);
}

.smoothh-mailerlite-popup-button__preview {
  padding: 16px;
  border: 1px dashed #41148C;
  color: #41148C;
  background: rgba(65, 20, 140, 0.05);
}

@media (max-width: 781px) {
  .smoothh-mailerlite-popup-button {
    left: 16px;
    bottom: 16px;
    max-width: none;
  }

  .smoothh-mailerlite-popup-button .wp-block-button,
  .smoothh-mailerlite-popup-button .wp-block-button__link {
    width: auto !important;
  }

  .smoothh-mailerlite-popup-button .wp-block-button__link {
    white-space: normal;
    text-align: center;
  }
}
