.tool-form--whatsapp {
  gap: 20px;
  max-width: 100%;
}

.tool-wa-label {
  display: block;
  margin-bottom: 10px;
  font-size: .875rem;
  font-weight: 600;
  color: #334155;
}

.tool-wa-input {
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  height: 52px !important;
  padding: 0 16px !important;
  background: #fff !important;
  font-size: .9375rem !important;
}

.tool-wa-input:focus {
  border-color: #3033ff !important;
  box-shadow: 0 0 0 3px rgba(48, 51, 255, .12);
}

.tool-wa-textarea {
  min-height: 120px;
  border-radius: 10px;
  border-color: #e2e8f0;
  font-size: .9375rem;
  line-height: 1.6;
  resize: vertical;
}

.tool-wa-textarea:focus {
  border-color: #3033ff;
  box-shadow: 0 0 0 3px rgba(48, 51, 255, .12);
}

.tool-wa-templates-label {
  margin: 8px 0 0;
  font-size: .875rem;
  font-weight: 600;
  color: #475569;
  line-height: 1.5;
}

.tool-wa-templates {
  display: grid;
  gap: 10px;
}

.tool-wa-template {
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: .875rem;
  line-height: 1.55;
  color: #334155;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
  font-family: inherit;
}

.tool-wa-template:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.tool-wa-template.is-active {
  border-color: #3033ff;
  background: #f5f6ff;
  box-shadow: 0 0 0 1px rgba(48, 51, 255, .08);
  color: #0f172a;
}

.tool-wa-submit {
  width: 100%;
  margin-top: 8px;
  font-family: inherit;
}

.tool-wa-output {
  margin-top: 8px;
  padding-top: 22px;
  border-top: 1px solid #e2e8f0;
  display: grid;
  gap: 12px;
}

.tool-wa-output__row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.tool-wa-output__link {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  font-size: .8125rem;
  color: #0f172a;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.tool-wa-output__copy {
  flex-shrink: 0;
  min-width: 96px;
  height: 48px;
  padding: 0 16px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  font-size: .875rem;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  font-family: inherit;
}

.tool-wa-output__copy:hover {
  border-color: #3033ff;
  color: #3033ff;
}

.tool-wa-output__open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  background: #25d366;
  color: #fff !important;
  font-size: .875rem;
  font-weight: 700;
  text-decoration: none;
  width: fit-content;
}

.tool-wa-output__open:hover {
  background: #1ebe57;
}
