 #add-to-home-screen-banner {
            display: none;
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: #333;
            color: white;
            text-align: center;
            padding: 10px;
            box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
        }
        #add-to-home-screen-banner button {
            background: grey;
            color: purple;
            border: none;
            padding: 5px 10px;
            margin-left: 10px;
            cursor: pointer;
        }
        .bouncing-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 20px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(var(--color-start), var(--color-end));
  animation: bounce 1s infinite ease-in-out;
  animation-delay: var(--delay);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-start);
  animation: bounce 1.5s infinite ease-in-out;
  animation-delay: var(--delay);
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
    background: var(--color-start);
  }
  50% {
    transform: translateY(-5px);
    background: var(--color-end);
  }
}

/* Responsive media query code for small screen */
@media (max-width: 768px) {
  .header :is(.title, .subtitle) {
    font-size: 2rem;
    line-height: 2.6rem;
  }

  .header .subtitle {
    font-size: 1.7rem;
  }

  .chat-list .message.incoming .message-content {
    padding: 1rem;
    margin: 0.5rem 0;
  }

  .typing-area :where(.typing-form, .action-buttons) {
    gap: 0.4rem;
  }

  .typing-form .input-wrapper {
    height: 50px;
  }

  .typing-form .typing-input {
    padding: 1.1rem 3.5rem 1.1rem 1.2rem;
  }

  .typing-area .icon {
    height: 50px;
    width: 50px;
  }

  .typing-area .disclaimer-text {
    font-size: 0.75rem;
    margin-top: 0.5rem;
  }
}

.texts {
  width: fit-content;
  font-size: 0.8rem;
  background-clip: text;
  background: linear-gradient(to right, #ad71d8, #872b34);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.icon material-symbols-rounded {
  position: center;
  cursor: pointer;
  padding: 1.25rem;
  width: 100px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  border-radius: 0.5rem;
  justify-content: space-between;
  background: var(--secondary-color);
  transition: 0.2s ease;
}
/* Markdown-style formatting for AI responses */
.ai-header {
  font-weight: 600;
  font-size: 1.1em;
  display: block;
  margin: 1rem 0 0.5rem 0;
  color: var(--text-color);
}

.ai-bullet {
  opacity: 0.6;
  margin-right: 0.5rem;
  font-size: 0.9em;
}

.chat-list .message.incoming .text strong {
  font-weight: 600;
}

/* Ensure proper spacing for formatted content */
.chat-list .message.incoming .text {
  line-height: 1.6;
}

.chat-list .message.incoming .text br {
  margin-bottom: 0.5rem;
  display: block;
  content: "";
}
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}  

