body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    padding-bottom: 70px;
    background-color: #DEDEDE;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    padding: 8px;
}

.header a {
    text-decoration: none;
}

.header h1 {
    color: #007bff;
    margin: 0;
    font-size: 24px;
    text-align: center;
}

.header h1:hover {
    color: #0056b3;
}

.status {
    padding: 8px;
    text-align: center;
    color: green;
    font-size: 0.9em;
}

.messages {
    padding: 10px;
    flex-grow: 1;
}

.message {
    margin-bottom: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    word-wrap: break-word;
}

.user-message {
    background-color: #007bff;
    color: white;
}

.bot-message {
    background-color: #e9ecef;
    color: black;
    line-height: 1.5;
}

.bot-message ul,
.bot-message ol {
    margin: 8px 0;
    padding-left: 20px;
}

.bot-message li {
    margin: 4px 0;
}

.bot-message p {
    margin: 8px 0;
}

.input-container {
    display: flex;
    align-items: flex-end;
    padding: 8px;
    gap: 8px;
    background-color: #DEDEDE;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
}

#messageInput {
    flex-grow: 1;
    padding: 10px 14px;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    height: 20px;
    min-height: 20px;
    max-height: 200px;
    resize: none;
    font-size: 16px;
    line-height: 20px;
    background-color: white;
    overflow-y: hidden;
}

#messageInput::placeholder {
    color: #999;
    font-style: italic;
}

button {
    width: 40px;
    height: 40px;
    min-width: 40px;
    padding: 0;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}
