top of page
bottom of page
.chat-container { background-color: #f1f1f1; border: 1px solid #ccc; border-radius: 5px; height: 500px; width: 400px; margin: 0 auto; } .chat-header { background-color: #4CAF50; color: white; padding: 10px; text-align: center; border-top-left-radius: 5px; border-top-right-radius: 5px; } .chat-body { height: 80%; overflow-y: scroll; } .chat-messages { padding: 10px; } .chat-message { background-color: #fff; border-radius: 5px; margin-bottom: 10px; padding: 10px; } .chat-response { background-color: #4CAF50; border-radius: 5px; color: white; margin-bottom: 10px; padding: 10px; text-align: right; } .chat-input { background-color: #fff; border-radius: 5px; padding: 10px; display: flex; justify-content: space-between; align-items: center; } .chat-input input { border: none; flex-grow: 1; margin-right: 10px; padding: 10px; } .chat-input button { background-color: #4CAF50; border: none; border-radius: 5px; color: white; cursor: pointer; padding: 10px 20px; }