/**
 * Shared “Speak with …” / “End call” buttons for all voice-call-embed experiences.
 */
.callcard .call-action-wrap,
.hs-callcard .call-action-wrap {
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 14px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  position: relative;
}

.callcard .call-action,
.hs-callcard .call-action {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 16px 28px;
  font-family: var(--font, var(--hs-font, inherit));
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  min-height: 52px;
  border: none;
  border-radius: 999px;
  background: var(--accent, #43e5a4);
  color: var(--accent-ink, #0e1b11);
  cursor: pointer;
  box-shadow: 0 12px 34px rgba(67, 229, 164, 0.22);
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  transition: filter 0.18s ease, transform 0.12s ease;
  appearance: none;
  -webkit-appearance: none;
}

.callcard .call-action:not([hidden]) + .call-action:not([hidden]),
.hs-callcard .call-action:not([hidden]) + .call-action:not([hidden]) {
  margin-top: 10px;
}

.callcard .call-action .call-action-label,
.hs-callcard .call-action .call-action-label {
  min-width: 0;
  flex: 1 1 auto;
  text-wrap: balance;
}

.callcard .call-action svg,
.hs-callcard .call-action svg {
  flex-shrink: 0;
}

.callcard .call-action:hover,
.hs-callcard .call-action:hover {
  filter: brightness(0.96);
}

.callcard .call-action:active,
.hs-callcard .call-action:active {
  transform: scale(0.98);
}

.callcard .call-action[hidden],
.hs-callcard .call-action[hidden] {
  display: none !important;
}

.callcard .call-action.live,
.hs-callcard .call-action.live {
  background: var(--fail-tint, #3a1c1c);
  color: var(--fail, #ff9b9b);
  box-shadow: none;
}

.callcard .call-action:disabled,
.hs-callcard .call-action:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  filter: none;
  transform: none;
}

/* Narrow embeds (workspace widget, admin preview) */
.hs-callcard--voice-embed .call-action-wrap {
  padding-top: 12px;
}

.hs-callcard--voice-embed .call-action {
  padding: 15px 22px;
  font-size: 14px;
  min-height: 50px;
}

.hs-callcard--voice-embed .call-action--text-chat {
  margin-top: 10px;
  background: rgba(249, 250, 242, 0.08);
  color: #cfe0d8;
  border: 1px solid rgba(249, 250, 242, 0.16);
  box-shadow: none;
}

.hs-callcard--voice-embed .call-action--text-chat:hover {
  background: rgba(249, 250, 242, 0.12);
  filter: none;
}

.hs-callcard--voice-embed .call-action--text-chat .call-action-label {
  font-weight: 600;
  color: #9fb3a9;
}

@media (max-width: 520px) {
  .callcard .call-action,
  .hs-callcard .call-action {
    padding: 14px 20px;
    font-size: 14px;
    min-height: 48px;
  }
}
