/* Public button component rules.
   Default desktop behavior is content width. Use modifiers for full width. */

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  outline: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  user-select: none;
  white-space: nowrap;
  width: auto;
  min-height: 44px;
  height: 44px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.cta-btn:focus-visible {
  outline: 2px solid rgba(107, 114, 128, 0.45);
  outline-offset: 2px;
}

.cta-btn-primary {
  background: var(--color-accent);
  color: var(--color-bg);
}

.cta-btn-primary:hover {
  background: var(--color-accent-hover);
}

.cta-btn-primary:active {
  background: var(--color-accent-pressed);
  transform: translateY(1px);
}

.cta-btn-primary:focus-visible {
  outline-color: var(--color-ring);
}

.st-public-page-scope .cta-btn {
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
}

.st-public-page-scope .cta-btn-primary {
  background: linear-gradient(135deg, #f28b3d 0%, #ee7a58 100%);
  color: #fffdf9;
  box-shadow: 0 14px 28px rgba(242, 139, 61, 0.22);
}

.st-public-page-scope .cta-btn-primary:hover {
  background: linear-gradient(135deg, #ec7b2a 0%, #e86d4f 100%);
}

.st-public-page-scope .cta-btn-primary:active {
  background: linear-gradient(135deg, #db6b1f 0%, #d95f45 100%);
}

.st-public-page-scope .cta-btn-google {
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(15, 23, 42, 0.12);
  color: #0f172a;
}

.st-public-page-scope .cta-btn-google:hover {
  border-color: rgba(15, 23, 42, 0.22);
  background: rgba(255, 255, 255, 0.96);
}

.cta-btn-google {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

.cta-btn-google:hover {
  border-color: var(--color-text-muted);
}

.cta-btn-full {
  width: 100%;
}

.cta-google-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
}

.cta-google-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

@media (max-width: 767px) {
  .cta-btn-mobile-full {
    width: 100%;
  }
}
