/* Add these styles to your component or global CSS */
.ai-loading {
  text-align: center;
  padding: 40px 20px;
  background-color: #f9fafb;
  border-radius: 8px;
  border: 2px dashed #d1d5db;
}

.ai-loading-spinner {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 3px solid #e5e7eb;
  border-radius: 50%;
  border-top-color: #0B6D76;
  animation: spin 1s ease-in-out infinite;
  margin-bottom: 16px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.ai-loading-text {
  font-size: 16px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}

.ai-loading-subtext {
  font-size: 14px;
  color: #6b7280;
}

.ai-error {
  padding: 16px;
  background-color: #fee2e2;
  border-left: 4px solid #dc2626;
  border-radius: 4px;
  margin-bottom: 20px;
}

.ai-note {
  background-color: #fef3c7;
  border-left: 4px solid #f59e0b;
  padding: 12px;
  margin-top: 20px;
  border-radius: 4px;
}

.ai-generated-content {
  line-height: 1.6;
}

.ai-generated-content h2 {
  color: #111827;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e5e7eb;
}

.ai-generated-content h3 {
  color: #1f2937;
  font-size: 20px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 12px;
}

.ai-generated-content p {
  color: #4b5563;
  margin-bottom: 16px;
  font-size: 16px;
}

/* Progress indicator */
.ai-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px;
  background-color: #f3f4f6;
  border-radius: 6px;
  margin-bottom: 16px;
}

.ai-progress-dot {
  width: 8px;
  height: 8px;
  background-color: #9ca3af;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.ai-progress-dot:nth-child(1) { animation-delay: 0s; }
.ai-progress-dot:nth-child(2) { animation-delay: 0.2s; }
.ai-progress-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}