@charset "UTF-8";

/* Custom Scrollbar for Chat */
.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.4);
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(51, 65, 85, 0.6);
  border-radius: 9999px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: rgba(16, 185, 129, 0.5);
}

/* Glassmorphism Classes */
.glass-panel {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card {
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.glass-bubble-bot {
  background: rgba(30, 41, 59, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-bubble-user {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  border: 1px solid rgba(52, 211, 153, 0.3);
}

/* Pulse Glow */
.emerald-glow {
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.25);
}

.bot-avatar-glow {
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

/* Typing Indicator Animation */
.dot-flashing {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 5px;
  background-color: #10b981;
  color: #10b981;
  animation: dot-flashing 1s infinite linear alternate;
  animation-delay: 0.5s;
}
.dot-flashing::before, .dot-flashing::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 0;
}
.dot-flashing::before {
  left: -10px;
  width: 6px;
  height: 6px;
  border-radius: 5px;
  background-color: #10b981;
  color: #10b981;
  animation: dot-flashing 1s infinite alternate;
  animation-delay: 0s;
}
.dot-flashing::after {
  left: 10px;
  width: 6px;
  height: 6px;
  border-radius: 5px;
  background-color: #10b981;
  color: #10b981;
  animation: dot-flashing 1s infinite alternate;
  animation-delay: 1s;
}

@keyframes dot-flashing {
  0% {
    background-color: #10b981;
  }
  50%, 100% {
    background-color: rgba(16, 185, 129, 0.2);
  }
}

/* Markdown typography styling in chat */
.prose-chat {
  font-size: 0.935rem;
  line-height: 1.65;
  color: #e2e8f0;
}
.prose-chat p {
  margin-bottom: 0.65rem;
}
.prose-chat p:last-child {
  margin-bottom: 0;
}
.prose-chat strong {
  color: #34d399;
  font-weight: 600;
}
.prose-chat ul {
  list-style-type: disc;
  padding-left: 1.25rem;
  margin-bottom: 0.65rem;
}
.prose-chat ol {
  list-style-type: decimal;
  padding-left: 1.25rem;
  margin-bottom: 0.65rem;
}
.prose-chat li {
  margin-bottom: 0.25rem;
}
.prose-chat code {
  background: rgba(0, 0, 0, 0.4);
  padding: 0.15rem 0.35rem;
  border-radius: 0.25rem;
  font-size: 0.85em;
  color: #a7f3d0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.prose-chat pre {
  background: rgba(15, 23, 42, 0.85);
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin: 0.5rem 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.prose-chat pre code {
  background: transparent;
  padding: 0;
  border: none;
}
.prose-chat blockquote {
  border-left: 3px solid #10b981;
  padding-left: 0.75rem;
  margin: 0.5rem 0;
  color: #94a3b8;
  font-style: italic;
}
.prose-chat a {
  color: #38bdf8;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prose-chat a:hover {
  color: #7dd3fc;
}
