/* TA Growth v1.0.0 — share control.
   Deliberately neutral (grey outline) so it never competes with each tool's own
   primary CTA (green on the visa checker, orange on the cost calculator). */

.tag-share {
  margin: 12px 0 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12.5px;
  line-height: 1.3;
}

.tag-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1.5px solid #dfe3e1;
  color: #374a44;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 13px;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.tag-share-btn:hover {
  border-color: #00aa6c;
  color: #0a7a4a;
}

.tag-share-btn:active {
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .08);
}

.tag-share-btn:focus-visible {
  outline: 2px solid #0a7a4a;
  outline-offset: 2px;
}

.tag-share-btn svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.tag-share-msg {
  color: #93a09b;
  font-size: 12px;
}

.tag-share-msg.ok {
  color: #0a7a4a;
  font-weight: 700;
}

/* --- embed code panel (hidden until "Embed this tool" is clicked) --- */
.tag-embed {
  display: none;
  margin: 10px 0 2px;
}

.tag-embed.open {
  display: block;
}

.tag-embed-lbl {
  margin: 0 0 6px;
  font-size: 12px;
  color: #93a09b;
  line-height: 1.4;
}

.tag-embed textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px;
  line-height: 1.5;
  color: #374a44;
  background: #fbfcfb;
  border: 1.5px solid #dfe3e1;
  border-radius: 10px;
  padding: 9px 11px;
  height: 74px;
  resize: vertical;
}

.tag-embed .tag-share-btn {
  margin-top: 8px;
}

.tag-embed .tag-share-msg {
  margin-left: 8px;
}
