Spaces:
Running
Running
File size: 1,742 Bytes
3b58275 |
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 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 |
body {
margin: 0;
font-family: "Inter", sans-serif;
background: #f5f7fb;
}
.app-container {
display: flex;
flex-direction: column;
height: 100vh;
}
.header, .footer {
padding: 8px 12px;
text-align: center;
background: white;
border-bottom: 1px solid #ddd;
}
.footer {
border-top: 1px solid #ddd;
font-size: 12px;
color: #666;
}
.chat-window {
flex: 1;
display: flex;
flex-direction: column;
}
.chat-body {
flex: 1;
padding: 12px;
overflow-y: auto;
}
.bubble-row {
display: flex;
margin-bottom: 12px;
}
.bubble-row.user { justify-content: flex-end; }
.bubble-row.bot { justify-content: flex-start; }
.bubble {
padding: 10px 14px;
border-radius: 16px;
max-width: 70%;
font-size: 14px;
animation: fade 0.2s ease-in-out;
}
.bubble-row.user .bubble {
background: #4caf50;
color: white;
}
.bubble-row.bot .bubble {
background: #2196f3;
color: white;
}
.chat-input {
padding: 10px;
display: flex;
gap: 6px;
background: white;
border-top: 1px solid #ddd;
}
.chat-input input {
flex: 1;
padding: 10px;
font-size: 14px;
border-radius: 8px;
border: 1px solid #bbb;
}
.chat-input button {
padding: 8px 16px;
background: #2196f3;
color: white;
border: none;
border-radius: 8px;
cursor: pointer;
}
.suggested {
display: flex;
gap: 6px;
flex-wrap: wrap;
padding: 8px;
}
.suggested button {
padding: 4px 10px;
font-size: 12px;
border-radius: 6px;
border: 1px solid #bbb;
background: white;
cursor: pointer;
}
.citation-panel {
background: #fff7e6;
border-top: 1px solid #e6c77b;
padding: 8px;
font-size: 13px;
}
|