body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #fff;
    padding: 20px;
}

.chat-container {
    background-color: #fff;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.1);
}

h1 {
    color: #333;
    text-align: center;
}

.chat-display {
    height: 300px;
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 20px;
    overflow-y: scroll;
    border-radius: 20px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

.chat-display .message {
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
    line-height: 1.4;
    width: fit-content;
    max-width: 80%;
}

.chat-display .you {
    color: #000;
    background-color: #e5e5ea;
    align-self: flex-end;
}

.chat-display .bot {
    color: #fff;
    background-color: #0b93f6;
    align-self: flex-start;
}

.input-area {
    display: flex;
    justify-content: space-between;
}

#chatInput {
    flex-grow: 1;
    padding: 10px;
    height: 8px;
    border: 1px solid #ccc;
    border-radius: 20px;
    background-color: #fff;
    width: 100%; /* Adjust the width as needed */
}

button {
    margin-left: 10px;
    padding: 10px 20px;
    border: none;
    background-color: #007BFF;
    color: #fff;
    cursor: pointer;
    border-radius: 20px;
}

button:hover {
    background-color: #0056b3;
}

.input-wrapper {
    position: relative;
    width: 80%;
    padding: 10px;
    box-sizing: border-box;
}

.loading {
    position: absolute;
    left: 20px; /* Change this line */
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    z-index: 1; 
}

#chatInput:disabled {
    background-color: lightgray;
}
