Spaces:
Sleeping
Sleeping
body { | |
font-family: Arial, sans-serif; | |
margin: 0; | |
padding: 0; | |
background: #f5f5f5; | |
} | |
.chat-container { | |
display: flex; | |
flex-direction: column; | |
height: 100vh; | |
} | |
.chat-header { | |
background: #d71a28; | |
color: white; | |
padding: 15px; | |
text-align: center; | |
font-size: 18px; | |
font-weight: bold; | |
display: flex; | |
align-items: center; | |
gap: 10px; | |
} | |
.back-button { | |
background: none; | |
border: none; | |
color: white; | |
font-size: 20px; | |
cursor: pointer; | |
} | |
.chat-box { | |
flex-grow: 1; | |
overflow-y: auto; | |
padding: 10px; | |
display: flex; | |
flex-direction: column; | |
} | |
.message { | |
max-width: 75%; | |
padding: 10px; | |
border-radius: 10px; | |
margin: 5px 0; | |
word-wrap: break-word; | |
} | |
.user-message { | |
background: #007bff; | |
color: white; | |
align-self: flex-end; | |
border-top-right-radius: 0; | |
} | |
.bot-message { | |
background: #e0e0e0; | |
color: black; | |
align-self: flex-start; | |
border-top-left-radius: 0; | |
} | |
.input-area { | |
display: flex; | |
align-items: center; | |
padding: 10px; | |
background: white; | |
border-top: 1px solid #ccc; | |
} | |
button#mic-button { | |
order: -1; /* Moves the mic button to the left */ | |
margin-right: 10px; | |
} | |
input[type="text"] { | |
flex: 1; | |
padding: 10px; | |
border: none; | |
border-radius: 20px; | |
background: #f0f0f0; | |
outline: none; | |
margin: 0 10px; | |
} | |
button { | |
background: none; | |
border: none; | |
font-size: 20px; | |
cursor: pointer; | |
} |