.aigator-prompt-variant-copy {
  overflow: hidden;
  margin: 1.35rem 0 1.8rem;
  border: 1px solid rgba(18, 66, 43, 0.18);
  border-radius: 18px;
  background: #f8fbf9;
  box-shadow: 0 10px 30px rgba(18, 66, 43, 0.06);
}

.aigator-prompt-variant-copy__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 52px;
  padding: 0.65rem 0.8rem 0.65rem 1rem;
  border-bottom: 1px solid rgba(18, 66, 43, 0.13);
  background: rgba(236, 246, 239, 0.86);
}

.aigator-prompt-variant-copy__label {
  color: #28533f;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.aigator-prompt-variant-copy__button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(18, 87, 53, 0.24);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  background: #fff;
  color: #0f6039;
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.aigator-prompt-variant-copy__button:hover,
.aigator-prompt-variant-copy__button:focus-visible {
  border-color: #0f6039;
  background: #0f6039;
  color: #fff;
  outline: none;
  transform: translateY(-1px);
}

.aigator-prompt-variant-copy__button.is-copied {
  border-color: #0f6039;
  background: #0f6039;
  color: #fff;
}

.aigator-prompt-variant-copy__button:disabled {
  cursor: default;
  opacity: 0.9;
}

.aigator-prompt-variant-copy > .wp-block-code {
  overflow-x: auto;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 1.15rem 1.25rem 1.3rem !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #14291f;
  white-space: pre-wrap;
  word-break: normal;
  overflow-wrap: anywhere;
}

.aigator-prompt-variant-copy > .wp-block-code code {
  color: inherit;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.94rem;
  line-height: 1.65;
  white-space: inherit;
}

@media (max-width: 640px) {
  .aigator-prompt-variant-copy__toolbar {
    min-height: 48px;
    padding: 0.55rem 0.6rem 0.55rem 0.8rem;
  }

  .aigator-prompt-variant-copy__button {
    min-height: 36px;
    padding-inline: 0.75rem;
  }

  .aigator-prompt-variant-copy > .wp-block-code {
    padding: 1rem !important;
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aigator-prompt-variant-copy__button {
    transition: none;
  }
}


/* v2.1.2: public Prompt compatibility with earlier AIGator theme templates. */
body.single-aigator_prompt .ag-prompt-hero .ag-eyebrow {
  display: none !important;
}

body.single-aigator_prompt .ag-prompt-hero .ag-pill-list,
body.single-aigator_prompt .ag-prompt-hero .ag-prompt-taxonomies {
  width: fit-content;
  max-width: 100%;
  justify-content: center !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

body.single-aigator_prompt .ag-prompt-avoid,
body.single-aigator_prompt .aigator-negative-prompt,
body.single-aigator_prompt .aigator-prompt-negative {
  display: none !important;
}
