.chat {
    
    width: 320px;
    height: 500px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .chat-title {
    padding: 10px 15px;
    background:  rgba(0, 0, 0, 0.3);
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .chat-title img {
    width: 40px;
    height: 40px;
    
  }

  .chat-title h1 {
    margin: 0;
    font-size: 13px;
    text-transform: uppercase;
  }

  .chat-title h2 {
    margin: 0;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
  }

  .messages {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #1f1f1f;
  }
  
  .message {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 13px;
    line-height: 1.5;
    word-wrap: break-word;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    white-space: pre-wrap;
  }
  
  .message.user {
    align-self: flex-end;
    background: #25d366;
    color: #fff;
    border-bottom-right-radius: 4px;
  }
  
  .message.bot {
    align-self: flex-start;
    background: #eeeeee;
    color: #111;
    border-bottom-left-radius: 4px;
  }
  

  .message-box {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    align-items: center;
  }

  .message-input {
    flex: 1;
    padding: 6px 10px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 8px;
    outline: none;
  }

  .message-submit {
    margin-left: 8px;
    padding: 6px 12px;
    background: #248A52;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
  }