Spaces:
Running
Running
body { | |
font-family: Arial, sans-serif; | |
margin: 0; | |
padding: 0; | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
height: 100vh; | |
background-color: #f0f2f5; | |
} | |
.chat-container { | |
width: 400px; | |
height: 600px; | |
border: 1px solid #ccc; | |
border-radius: 10px; | |
overflow: hidden; | |
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); | |
background-color: white; | |
} | |
.chat-header { | |
background-color: #f28c38; | |
color: white; | |
padding: 10px; | |
text-align: center; | |
font-size: 20px; | |
} | |
.chat-messages { | |
height: 500px; | |
overflow-y: auto; | |
padding: 20px; | |
} | |
.bot-message { | |
background-color: #fffbe6; | |
padding: 10px; | |
margin: 10px 0; | |
border-radius: 5px; | |
max-width: 70%; | |
} | |
.user-message { | |
background-color: #e1f5fe; | |
padding: 10px; | |
margin: 10px 0; | |
border-radius: 5px; | |
max-width: 70%; | |
margin-left: auto; | |
text-align: right; | |
} | |
.chat-input { | |
display: flex; | |
padding: 10px; | |
border-top: 1px solid #ccc; | |
} | |
.chat-input input { | |
flex: 1; | |
padding: 5px; | |
border: 1px solid #ccc; | |
border-radius: 5px; | |
} | |
.chat-input button { | |
padding: 5px 10px; | |
margin-left: 10px; | |
background-color: #f28c38; | |
color: white; | |
border: none; | |
border-radius: 5px; | |
cursor: pointer; | |
} | |
.option-button { | |
display: inline-block; | |
padding: 10px 20px; | |
margin: 5px; | |
background-color: #9c27b0; | |
color: white; | |
border: none; | |
border-radius: 5px; | |
cursor: pointer; | |
} | |
.option-button.green { | |
background-color: #4caf50; | |
} | |
.option-button.red { | |
background-color: #f44336; | |
} |