* {
  font-family: "DM Sans", sans-serif !important;
}
.custom-scroll {
  scrollbar-width: thin;
  scrollbar-color: #1268b3 #e6e6e6;
}
.custom-scroll::-webkit-scrollbar {
  width: 6px;
}
.custom-scroll::-webkit-scrollbar-thumb {
  background: #1268b3;
  border-radius: 10px;
}

.shake {
  animation: shake 0.3s ease-in-out;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-4px);
  }
  40% {
    transform: translateX(4px);
  }
  60% {
    transform: translateX(-4px);
  }
  80% {
    transform: translateX(4px);
  }
}

/* Success checkmark */
.success-check {
  background-image: url('data:image/svg+xml;utf8,<svg fill="%231268B3" height="16" width="16" viewBox="0 0 16 16"><path d="M6.00039 10.2002L3.30039 7.5002L2.60039 8.2002L6.00039 11.6002L14.0004 3.60019L13.3004 2.90019L6.00039 10.2002Z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
}
/* Typing Indicator Animation */
.typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #e5e7eb;
  color: #555;
  padding: 6px 10px;
  border-radius: 12px;
  font-size: 12px;
  width: fit-content;
  animation: fadeIn 0.3s ease-in-out;
}

.dot {
  height: 6px;
  width: 6px;
  background: #555;
  border-radius: 50%;
  animation: bounce 1s infinite;
}

.dot:nth-child(2) {
  animation-delay: 0.2s;
}
.dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bounce {
  0%,
  80%,
  100% {
    transform: scale(0.3);
  }
  40% {
    transform: scale(1);
  }
}
