.bdhfc-floating-button {
  --bdhfc-color: #18b8bd;
  --bdhfc-text-color: #fff;
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 1040;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  max-width: calc(100vw - 32px);
  min-height: 52px;
  padding: 13px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--bdhfc-color);
  color: var(--bdhfc-text-color);
  box-shadow: 0 7px 22px rgba(0, 0, 0, .20);
  font: inherit;
  font-weight: 700;
  line-height: 1.15;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px) scale(.97);
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease, filter .18s ease;
}

.bdhfc-floating-button.bdhfc-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.bdhfc-floating-button:hover,
.bdhfc-floating-button:focus-visible {
  color: var(--bdhfc-text-color);
  filter: brightness(.94);
  text-decoration: none;
  outline: none;
}

.bdhfc-floating-button:focus-visible {
  box-shadow: 0 0 0 4px rgba(24, 184, 189, .25), 0 7px 22px rgba(0, 0, 0, .20);
}

.bdhfc-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 767.98px) {
  .bdhfc-floating-button {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    min-height: 50px;
    padding: 12px 18px;
    font-size: 15px;
  }

  .bdhfc-floating-button.bdhfc-hide-mobile {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .bdhfc-floating-button.bdhfc-hide-desktop {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bdhfc-floating-button {
    transition: none;
  }
}
