/**
 * AI FEATURES STYLES
 * Full AI integration styling
 */

.btn-ai-feature {
  background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
  border: none;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

.btn-ai-feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

/* AI Modal */
.ai-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.ai-modal-content {
  background: rgba(30, 41, 59, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.ai-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-modal-header h2 {
  margin: 0;
  color: #FFFFFF;
  font-size: 1.5rem;
}

.ai-modal-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 2rem;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.ai-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.ai-modal-body {
  padding: 2rem;
}

.ai-feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.ai-feature-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.ai-feature-item:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.ai-icon {
  font-size: 2.5rem;
}

.ai-label {
  color: #FFFFFF;
  font-weight: 600;
  font-size: 1rem;
}

/* AI Assistant Chat */
.ai-assistant-chat {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  max-height: 400px;
  overflow-y: auto;
}

.ai-message {
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 8px;
}

.ai-message.user {
  background: rgba(99, 102, 241, 0.2);
  text-align: right;
}

.ai-message.assistant {
  background: rgba(255, 255, 255, 0.05);
}

.ai-message-content {
  color: #FFFFFF;
  line-height: 1.6;
}

/* AI Loading Indicator */
.ai-loading {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
}

.ai-loading-dot {
  width: 8px;
  height: 8px;
  background: #6366F1;
  border-radius: 50%;
  animation: bounce 1.4s infinite ease-in-out;
}

.ai-loading-dot:nth-child(1) {
  animation-delay: -0.32s;
}

.ai-loading-dot:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes bounce {
  0%, 80%, 100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}

/* AI Badge */
.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
  border: 1px solid rgba(99, 102, 241, 0.5);
  border-radius: 20px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  color: #818CF8;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .ai-modal-content {
    width: 95%;
    max-height: 90vh;
  }

  .ai-feature-list {
    grid-template-columns: 1fr;
  }
}








