.walc-inline-mount + .wa-lead-button {
  position: relative;
  right: auto;
  bottom: auto;
}

.wa-lead-button {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9998;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.wa-lead-button-icon {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  object-fit: contain;
  transition: transform 180ms ease;
}

.wa-lead-button:hover {
  background: transparent;
  box-shadow: none;
}

.wa-lead-button:hover .wa-lead-button-icon,
.wa-lead-button:focus-visible .wa-lead-button-icon {
  transform: scale(1.08);
}

.wa-lead-button:focus,
.wa-lead-button:active {
  background: transparent;
  box-shadow: none;
  outline: none;
}

.wa-lead-panel {
  position: fixed;
  right: 24px;
  bottom: 100px;
  z-index: 9999;
  width: min(360px, calc(100vw - 32px));
  display: none;
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.22);
}

.wa-lead-panel.is-open {
  display: block;
}

.wa-lead-panel-shell {
  font-family: Arial, sans-serif;
}

.wa-lead-panel-topbar {
  display: flex;
  justify-content: flex-end;
  padding: 12px 12px 0;
}

.wa-lead-panel-close {
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 30px;
  line-height: 1;
  padding: 0 4px;
  cursor: pointer;
}

.wa-lead-panel-body {
  padding: 12px 20px 20px;
}

.wa-lead-panel-copy {
  margin: 0 0 18px;
  border-radius: 18px;
  padding: 16px;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 15px;
  line-height: 1.5;
}

.wa-lead-field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.wa-lead-field label {
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
}

.wa-lead-field input,
.wa-lead-field textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: Arial, sans-serif;
}

.wa-lead-field textarea {
  min-height: 108px;
  resize: vertical;
}

.wa-lead-consent {
  display: flex;
  gap: 10px;
  margin: 6px 0 12px;
  border-radius: 16px;
  padding: 14px;
  background: #f1f5f9;
  color: #334155;
  font-size: 13px;
  line-height: 1.45;
}

.wa-lead-consent input {
  margin-top: 2px;
}

.wa-lead-actions {
  margin-top: 18px;
}

.wa-lead-submit {
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 15px 18px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  background: #16a34a;
  cursor: pointer;
}

.wa-lead-error {
  min-height: 20px;
  margin-top: 10px;
  color: #dc2626;
  font-size: 13px;
}

@media (max-width: 640px) {
  .wa-lead-button {
    right: 16px;
    bottom: 16px;
  }

  .wa-lead-panel {
    right: 16px;
    bottom: 92px;
    width: calc(100vw - 32px);
  }
}
