Spaces:
Sleeping
Sleeping
File size: 1,490 Bytes
b1990ef ea9fddb b1990ef ea9fddb |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 |
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;
} |