* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
  }
  
  .chat-container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 400px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  
  h1 {
    text-align: center;
  }
  
  .chat-box {
    height: 300px;
    overflow-y: scroll;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    padding: 10px;
    background-color: #f9f9f9;
  }
  
  input[type="text"] {
    width: 80%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  
  button {
    width: 15%;
    padding: 10px;
    background-color: #f7d411;
    color: black;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  button:hover {
    background-color: #c9ac0c;
  }
  
  #typing-indicator {
    font-style: italic;
    color: #777;
  }
  
  #typing-indicator::after {
    content: "...";
    animation: typing 1.5s steps(5, end) infinite;
  }
  
  @keyframes typing {
    0% { content: "..."; }
    25% { content: ".  "; }
    50% { content: ".. "; }
    75% { content: "..."; }
    100% { content: "..."; }
  }
  