/* ChatGPT Style Theme for ShopeeAI */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;600;700;800;900&display=swap');

:root {
  --bg-dark: #0f1117;
  --sidebar-bg: #161822;
  --chat-bubble-user: #262938;
  --chat-bubble-ai: #1c1e2a;
  --accent-orange: #EE4D2D;
  --accent-purple: #8B5CF6;
  --accent-emerald: #10B981;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-dark);
  color: #f1f5f9;
  height: 100vh;
  margin: 0;
  overflow: hidden;
}

h1, h2, h3, .font-heading {
  font-family: 'Outfit', sans-serif;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

/* Sidebar styling */
.sidebar {
  background-color: var(--sidebar-bg);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease;
}

/* Chat bubble styling */
.chat-msg-user {
  background-color: var(--chat-bubble-user);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-msg-ai {
  background-color: var(--chat-bubble-ai);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Audio Player Progress */
.audio-progress-bar {
  background: linear-gradient(90deg, #EE4D2D 0%, #FF8A65 100%);
}

/* Pulse animation */
@keyframes softPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.03);
    opacity: 1;
  }
}

.pulse-badge {
  animation: softPulse 2s infinite ease-in-out;
}

/* Waveform Bars Animation for Playing Audio */
@keyframes waveBounce {
  0%, 100% {
    height: 6px;
  }
  50% {
    height: 22px;
  }
}

.playing-wave span {
  display: inline-block;
  width: 3px;
  height: 12px;
  background-color: #EE4D2D;
  border-radius: 3px;
  animation: waveBounce 1.2s infinite ease-in-out;
}

.playing-wave span:nth-child(2) { animation-delay: 0.2s; }
.playing-wave span:nth-child(3) { animation-delay: 0.4s; }
.playing-wave span:nth-child(4) { animation-delay: 0.1s; }
.playing-wave span:nth-child(5) { animation-delay: 0.3s; }
