/**
 * Copy for AI Button Styles
 * Designed to match the hugo-tania theme aesthetic
 */

.copy-ai-container {
  margin: 1rem 0;
  text-align: center;
}

.copy-ai-button {
  background: var(--accent, #6366f1);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.copy-ai-button:hover {
  background: var(--accent-hover, #4f46e5);
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.copy-ai-button:active {
  transform: translateY(0);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.copy-ai-button:disabled {
  opacity: 0.8;
  cursor: not-allowed;
  transform: none;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .copy-ai-button {
    background: #4f46e5;
    color: #ffffff;
  }

  .copy-ai-button:hover {
    background: #6366f1;
  }
}

/* Fallback styles if CSS variables are not available */
@supports not (color: var(--accent)) {
  .copy-ai-button {
    background: #6366f1;
  }

  .copy-ai-button:hover {
    background: #4f46e5;
  }
}
