* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f5f5f5;
}

.chat-container {
    width: 400px;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.chat-header {
    padding: 15px;
    background-color: #00a7f5;
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    border-radius: 15px 15px 0 0;
}

.chat-content {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

.chat-message {
    margin-bottom: 10px;
}

.user, .bot {
    display: inline-block;
    padding: 10px;
    border-radius: 15px;
    max-width: 75%;
    word-wrap: break-word;
}

.user {
    background-color: #00a7f5;
    color: #ffffff;
    align-self: flex-end;
    margin-left: 25%;
}

.bot {
    background-color: #f5f5f5;
    color: #333333;
    align-self: flex-start;
}

.input-container {
    display: flex;
    padding: 15px;
    border-top: 1px solid #f0f0f0;
}

input[type="text"] {
    flex: 1;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    outline: none;
    font-size: 16px;
}

button {
    margin-left: 10px;
    background-color: #00a7f5;
    color: #ffffff;
    font-size: 16px;
    padding: 10px 15px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    outline: none;
    transition: background-color 0.2s;
}

button:hover {
    background-color: #008fd6;
}
