ayush2917's picture
Update static/css/styles.css
5accafe verified
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.chat-container {
width: 500px;
background-color: white;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
padding: 20px;
}
h1 {
text-align: center;
margin-bottom: 20px;
color: #333;
}
#chat-box {
height: 400px;
overflow-y: scroll;
border: 1px solid #ddd;
border-radius: 5px;
padding: 10px;
margin-bottom: 20px;
}
.message {
margin: 10px 0;
padding: 10px;
border-radius: 5px;
}
.user-message {
background-color: #e1f5fe;
text-align: right;
}
.bot-message {
background-color: #f0f0f0;
text-align: left;
}
.bot-error {
background-color: #ffebee;
text-align: left;
color: #d32f2f;
}
.quick-replies {
display: flex;
flex-wrap: wrap;
gap: 10px;
justify-content: center;
}
.quick-replies button {
padding: 10px 20px;
background-color: #007bff;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
}
.quick-replies button:hover {
background-color: #0056b3;
}