/* Overall page styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f7fa;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
}

/* Container for the messages */
#container {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    margin-bottom: 20px;
}

/* Styling for each message */
.userMessageBox, .assistantMessageBox {
    max-width: 70%;
    margin: 10px 0;
    padding: 15px;
    border-radius: 10px;
    font-size: 16px;
    line-height: 1.4;
}

/* Styling for user messages */
.userMessageBox {
    background-color: #d1e7ff;
    margin-left: auto;
    text-align: right;
    border: 1px solid #a8c5e2;
    word-wrap: break-word;
}

/* Styling for assistant messages */
.assistantMessageBox {
    background-color: #e0e0e0;
    margin-right: auto;
    text-align: left;
    border: 1px solid #c6c6c6;
    word-wrap: break-word;
}

/* Input area styling */
#input {
    width: calc(100% - 40px);
    padding: 10px;
    margin: 10px 20px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
    resize: vertical;
    box-sizing: border-box;
}

/* Button styling */
button {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 16px;
    margin: 5px;
    transition: background-color 0.3s ease;
}

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

/* Disable stop button when not needed */
#stopButton:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* Adjust button container */
#buttonsContainer {
    text-align: center;
    margin-bottom: 20px;
}
