.wrd-shortcode-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.wrd-is-loading {
  opacity: 0.7;
  pointer-events: none;
}

.wrd-floating-button {
  position: fixed;
  bottom: 24px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  padding: 0;
  border-radius: 50%;
  border: 4px solid #ffffff;
  background: linear-gradient(180deg, #58dc63 0%, #2dc74d 100%);
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  overflow: visible;
  isolation: isolate;
}

.wrd-floating-button::before,
.wrd-floating-button::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  z-index: -1;
}

.wrd-floating-button::before {
  width: 18px;
  height: 18px;
  top: -6px;
  left: 8px;
  background: #f34b53;
}

.wrd-floating-button::after {
  width: 40px;
  height: 40px;
  left: -10px;
  bottom: -2px;
  background: #19d766;
}

.wrd-floating-button:hover,
.wrd-floating-button:focus {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.28);
  color: #ffffff;
}

.wrd-floating-button .wrd-floating-icon {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
}

.wrd-floating-button .wrd-floating-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.wrd-floating-button .wrd-floating-text {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.9);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.wrd-floating-button:hover .wrd-floating-text,
.wrd-floating-button:focus .wrd-floating-text {
  opacity: 1;
  transform: translateY(-50%) translateX(-4px);
}

.wrd-float-right {
  right: 24px;
}

.wrd-float-left {
  left: 24px;
}

.wrd-float-left .wrd-floating-text {
  right: auto;
  left: calc(100% + 14px);
}

@media (max-width: 767px) {
  .wrd-floating-button {
    width: 72px;
    height: 72px;
    bottom: 18px;
  }

  .wrd-floating-button::before {
    width: 16px;
    height: 16px;
    top: -5px;
    left: 8px;
  }

  .wrd-floating-button::after {
    width: 36px;
    height: 36px;
    left: -8px;
    bottom: -1px;
  }

  .wrd-floating-button .wrd-floating-icon {
    width: 48px;
    height: 48px;
  }

  .wrd-floating-button .wrd-floating-text {
    display: none;
  }

  .wrd-float-right {
    right: 18px;
  }

  .wrd-float-left {
    left: 18px;
  }
}
