Spaces:
Sleeping
Sleeping
body { | |
font-family: Arial, sans-serif; | |
background-color: #f4f4f9; | |
margin: 0; | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
height: 100vh; | |
} | |
.chat-container { | |
width: 400px; | |
background-color: white; | |
border-radius: 10px; | |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); | |
overflow: hidden; | |
} | |
.chat-header { | |
background-color: #3b82f6; | |
padding: 15px; | |
display: flex; | |
align-items: center; | |
color: white; | |
font-size: 1.25rem; | |
} | |
.chat-header .logo img { | |
width: 30px; | |
margin-right: 10px; | |
} | |
.messages { | |
height: 300px; | |
overflow-y: auto; | |
padding: 10px; | |
background-color: #f9f9f9; | |
} | |
.bot-message { | |
background-color: #e0e0e0; | |
padding: 10px; | |
margin: 5px 0; | |
border-radius: 10px; | |
} | |
.user-message { | |
background-color: #3b82f6; | |
color: white; | |
padding: 10px; | |
margin: 5px 0; | |
border-radius: 10px; | |
text-align: right; | |
} | |
.input-box { | |
display: flex; | |
padding: 10px; | |
background-color: #fff; | |
border-top: 1px solid #e0e0e0; | |
} | |
.input-box input { | |
flex: 1; | |
padding: 10px; | |
border: 1px solid #ccc; | |
border-radius: 10px; | |
margin-right: 10px; | |
} | |
.input-box button { | |
padding: 10px 15px; | |
background-color: #3b82f6; | |
color: white; | |
border: none; | |
border-radius: 10px; | |
cursor: pointer; | |
} | |
.input-box button:hover { | |
background-color: #2563eb; | |
} | |