body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #eaeaea;
}

.intro-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.intro-container img {
    width: 50%;
    min-width: 300px;
}

#chatContainer {
    width: 100%;
    min-width: 300px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
}

#messageDisplay {
    flex-grow: 1;
    overflow-y: auto;
    background-color: #f5f5f5;
    padding: 10px;
}

.message {
    max-width: 70%;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 20px;
    line-height: 1.4;
}

.user {
    align-self: flex-end;
    background-color: #007bff;
    color: white;
}

.system {
    align-self: flex-start;
    background-color: #f1f1f1;
}

#inputContainer {
    display: flex;
    background-color: #fff;
    padding: 10px;
    border-top: 1px solid #ddd;
}

#userInput {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    margin-right: 10px;
    outline: none;
}

#sendButton {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s;
}

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

#loader {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

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

#loader {
    font-size: 25px;
    text-align: center;
}