Robbin / styles.css
Swathi6's picture
Create styles.css
12284aa verified
body {
font-family: Arial, sans-serif;
background-color: #f4f4f9;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
.chat-container {
width: 400px;
height: 500px;
background-color: #fff;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
display: flex;
flex-direction: column;
}
.chat-box {
flex: 1;
padding: 20px;
overflow-y: auto;
border-bottom: 2px solid #eee;
}
.user-input {
width: calc(100% - 80px);
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
margin: 10px;
font-size: 14px;
}
.send-button {
padding: 10px 20px;
background-color: #5cb85c;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
}
.send-button:hover {
background-color: #4cae4c;
}
.bot-message {
background-color: #e2e2e2;
padding: 10px;
border-radius: 10px;
margin-bottom: 10px;
}
.user-message {
background-color: #5cb85c;
color: white;
padding: 10px;
border-radius: 10px;
margin-bottom: 10px;
text-align: right;
}