body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

/* Welcome message styling */
.welcome-message {
    font-weight: bold;
    font-size: 1.5em;
    font-family: 'Georgia', serif;
    margin-bottom: 20px;
}

/* Container for the chat */
.chat-container {
    width: 400px;
    background-color: #ffffff;
    border-radius: 10px;
    border: 4px solid #d1f5d3;  /* Green border to match the message color */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Chat box for messages */
.chat-box {
    padding: 10px;
    flex-grow: 1;
    overflow-y: auto;
    height: 400px;
    border-bottom: 2px solid #ddd;
    background-color: #f4f4f4;
}

/* Styling for bot and user messages */
.bot-message, .user-message {
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
    word-wrap: break-word;
    white-space: pre-wrap;
}

/* Bot messages */
.bot-message {
    background-color: #d1f5d3;
    text-align: left;
    color: #333;
}

/* User messages */
.user-message {
    background-color: #cef;
    text-align: right;
    color: #333;
}

/* Form styling for user input */
.chat-form {
    display: flex;
    padding: 10px;
    background-color: #ffffff;
}

/* Text input box */
#user-input {
    flex: 1;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

/* Send button */
button {
    background-color: #4caf50;
    color: white;
    border: none;
    padding: 10px;
    margin-left: 5px;
    border-radius: 5px;
    cursor: pointer;
}

/* Button hover effect */
button:hover {
    background-color: #45a049;
}
