/* SearchAngie - Light Theme Shopping Assistant Styles */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar - light theme */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: rgba(139, 92, 246, 0.3);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(139, 92, 246, 0.5);
}

/* Message bubbles animation */
.message-bubble {
  animation: fadeInUp 0.3s ease-out;
}

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

/* Typing cursor animation - violet for light theme */
.typing-cursor {
  animation: blink 1s infinite;
  color: #7c3aed;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Product carousel */
.product-carousel {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.product-carousel::-webkit-scrollbar {
  display: none;
}

/* Product card hover effect */
.product-card {
  transition: all 0.2s ease;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.15);
}

/* Deal card hover */
.deal-card {
  transition: all 0.2s ease;
}

.deal-card:hover {
  transform: scale(1.02);
  box-shadow: 0 5px 20px rgba(236, 72, 153, 0.15);
}

/* Suggestion chips */
.suggestion-chip {
  transition: all 0.2s ease;
}

.suggestion-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.15);
}

/* Follow-up chips */
.followup-chip {
  transition: all 0.2s ease;
  cursor: pointer;
}

.followup-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.1);
}

.followup-chip:active {
  transform: scale(0.97);
}

.followups-section {
  animation: fadeInUp 0.3s ease-out;
}

/* Header scroll effect */
#main-header {
  transition: all 0.3s ease;
}

#main-header.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Input focus states */
input:focus {
  outline: none;
}

input::placeholder {
  color: #9ca3af;
}

/* Button press effect */
button:active {
  transform: scale(0.97);
}

/* Ad banner animation */
#ad-banner {
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Pulse animation for send button */
@keyframes pulse-ring {
  0% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  50% {
    transform: scale(1);
    opacity: 0.3;
  }
  100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
}

/* Gradient text animation */
.gradient-text {
  background: linear-gradient(135deg, #7c3aed, #db2777, #7c3aed);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Mobile optimizations */
@media (max-width: 640px) {
  .product-card {
    width: 140px;
  }

  .message-bubble > div {
    max-width: 90% !important;
  }
}

/* Line clamp for descriptions */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Prose styling for privacy/terms pages - light theme */
.prose p {
  margin-bottom: 1rem;
  color: #374151;
}

.prose h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #111827;
}

.prose ul {
  margin-bottom: 1rem;
}

.prose li {
  margin-bottom: 0.5rem;
  color: #374151;
}
