.b2wghp-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999999;
  font-family: Arial, Helvetica, sans-serif;
}

.b2wghp-float-button,
.b2wghp-float-button:hover,
.b2wghp-float-button:focus,
.b2wghp-float-button:active {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 64px !important;
  height: 64px !important;
  min-width: 64px !important;
  min-height: 64px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  outline: none !important;
  border-radius: 50% !important;
  background: #25D366 !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  position: relative;
  overflow: visible;
  box-shadow: 0 12px 32px rgba(0,0,0,.22) !important;
  transition: transform .2s ease, box-shadow .2s ease !important;
}

.b2wghp-float-button:hover,
.b2wghp-float-button:focus {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 36px rgba(0,0,0,.26) !important;
}

.b2wghp-float-button::before,
.b2wghp-float-button::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, .30);
  z-index: -1;
  animation: b2wghpPulse 2.2s infinite;
}

.b2wghp-float-button::after {
  animation-delay: 1.1s;
}

@keyframes b2wghpPulse {
  0% { transform: scale(1); opacity: .65; }
  70% { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}

.b2wghp-icon {
  width: 30px !important;
  height: 30px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
}

.b2wghp-icon svg,
.b2wghp-icon svg * {
  width: 100% !important;
  height: 100% !important;
  display: block;
  fill: currentColor !important;
}

.b2wghp-modal {
  position: absolute;
  right: 0;
  bottom: 84px;
  width: min(92vw, 470px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: .25s ease;
  pointer-events: none;
}

.b2wghp-modal.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.b2wghp-modal-card {
  background: #d8d3cd;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 24px 54px rgba(0,0,0,.28);
  border: 1px solid rgba(0,0,0,.08);
  position: relative;
}

.b2wghp-header {
  background: #116c61;
  color: #fff;
  padding: 18px 20px;
}

.b2wghp-header h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
}

.b2wghp-close,
.b2wghp-close:hover,
.b2wghp-close:focus,
.b2wghp-close:active {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px !important;
  height: 32px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: none !important;
  outline: none !important;
  border-radius: 0 !important;
  color: #ffffff !important;
  font-size: 28px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  z-index: 2;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
}

.b2wghp-form {
  padding: 16px;
}

.b2wghp-field {
  margin-bottom: 10px;
}

.b2wghp-field input[type="text"],
.b2wghp-field input[type="email"],
.b2wghp-field input[type="tel"],
.b2wghp-field select {
  width: 100%;
  min-height: 40px;
  border: 1px solid #c8c8c8;
  background: #fff;
  border-radius: 4px;
  padding: 10px 12px;
  color: #1e1e1e;
  font-size: 14px;
  box-sizing: border-box;
}

.b2wghp-field input:focus,
.b2wghp-field select:focus {
  outline: none;
  border-color: #116c61;
  box-shadow: 0 0 0 3px rgba(17,108,97,.15);
}

.b2wghp-label {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
  color: #444;
}

.b2wghp-inline-options {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.b2wghp-inline-options label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #4c4c4c;
}

.b2wghp-submit,
.b2wghp-submit:hover,
.b2wghp-submit:focus,
.b2wghp-submit:active {
  width: 100% !important;
  min-height: 48px !important;
  border: none !important;
  border-radius: 4px !important;
  background: #25D366 !important;
  background-image: none !important;
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: filter .2s ease, transform .2s ease !important;
  box-shadow: none !important;
  text-shadow: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.b2wghp-submit:hover,
.b2wghp-submit:focus {
  filter: brightness(.96);
  transform: translateY(-1px);
}

.b2wghp-submit[disabled] {
  opacity: .7;
  cursor: wait;
}

.b2wghp-feedback {
  min-height: 18px;
  margin-bottom: 10px;
  font-size: 13px;
  color: #b42318;
}

@media (max-width: 640px) {
  .b2wghp-widget {
    right: 16px;
    bottom: 16px;
  }

  .b2wghp-modal {
    right: 0;
    width: min(94vw, 420px);
  }
}

.b2wghp-submit span,
.b2wghp-close span { color: inherit !important; }
