* {
  font-family: 'Inter', sans-serif;
}
body {
  background: linear-gradient(135deg, #f8faff 0%, #eff3fe 100%);
  min-height: 100vh;
  margin: 0;
  padding: 0;
}
/* custom scrollbar for chat area */
.chat-messages::-webkit-scrollbar {
  width: 5px;
}
.chat-messages::-webkit-scrollbar-track {
  background: #eef2ff;
  border-radius: 10px;
}
.chat-messages::-webkit-scrollbar-thumb {
  background: #5938d4;
  border-radius: 10px;
}
/* brand gradient / modern accents */
.brand-gradient {
  background: linear-gradient(98deg, #5938d4 0%, #7d5ef0 100%);
}
.btn-primary-custom {
  background-color: #5938d4;
  border: none;
  transition: all 0.2s ease;
}
.btn-primary-custom:hover, .btn-primary-custom:focus {
  background-color: #422bb3;
  transform: scale(0.97);
  box-shadow: 0 8px 18px rgba(89,56,212,0.25);
}
.chat-bubble-user {
  background-color: #5938d4;
  color: white;
  border-radius: 24px 24px 8px 24px;
  padding: 12px 18px;
  max-width: 80%;
  word-wrap: break-word;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.chat-bubble-ai {
  background-color: white;
  color: #1e1f2c;
  border-radius: 24px 24px 24px 8px;
  padding: 12px 18px;
  max-width: 80%;
  word-wrap: break-word;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  border: 1px solid #edeff5;
}
.typing-indicator {
  background: white;
  border-radius: 24px 24px 24px 8px;
  padding: 12px 20px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.typing-indicator span {
  width: 8px;
  height: 8px;
  background-color: #5938d4;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 1.2s infinite ease-in-out;
}
.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}
.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes pulse {
  0%, 60%, 100% { transform: scale(0.6); opacity: 0.5; }
  30% { transform: scale(1.1); opacity: 1; }
}
.input-group-focus:focus-within {
  box-shadow: 0 0 0 3px rgba(89,56,212,0.25);
  border-radius: 48px;
}
.glass-card {
  backdrop-filter: blur(0px);
  background: rgba(255,255,255,0.92);
}
.message-time {
  font-size: 0.7rem;
  opacity: 0.7;
  margin-top: 4px;
  letter-spacing: 0.2px;
}
.avatar-icon {
  width: 36px;
  height: 36px;
  background: #5938d4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
}
.ai-avatar {
  background: #e9ecff;
  color: #5938d4;
}
footer a {
  text-decoration: none;
  transition: 0.2s;
}
footer a:hover {
  color: #5938d4 !important;
}
@media (max-width: 576px) {
  .chat-bubble-user, .chat-bubble-ai {
max-width: 90%;
font-size: 0.9rem;
  }
  .header-title {
font-size: 1.2rem;
  }
  .container {
padding-left: 12px;
padding-right: 12px;
  }
}