.ct-ai-local-action-wrap {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.ct-ai-local-action-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: 14px;
  background:
    linear-gradient(
      135deg,
      #6f55f6,
      #8c69ff
    );
  box-shadow:
    0 8px 22px rgba(111, 85, 246, 0.24);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.ct-ai-local-action-button:hover {
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow:
    0 11px 28px rgba(111, 85, 246, 0.3);
}

.ct-ai-local-action-button:active {
  transform: scale(0.98);
}

.ct-ai-local-action-button:focus-visible {
  outline: 3px solid rgba(111, 85, 246, 0.3);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .ct-ai-local-action-button {
    transition: none;
  }
}

/* CT AI LOGIN MODAL FIX V5 START */

body > [role="dialog"],
body > .login-modal,
body > .auth-modal,
body > [class*="login"][class*="modal"],
body > [class*="auth"][class*="modal"] {
  z-index: 2147483647 !important;
}

body > [class*="overlay"]:has(
  [role="dialog"]
),
body > [class*="overlay"]:has(
  .login-modal
),
body > [class*="overlay"]:has(
  .auth-modal
) {
  z-index: 2147483646 !important;
}

/* CT AI LOGIN MODAL FIX V5 END */
