| body { |
| margin: 0; |
| font-family: system-ui, -apple-system, BlinkMacSystemFont; |
| background: #0b141a; |
| color: white; |
| height: 100vh; |
| display: flex; |
| } |
|
|
| .app { |
| display: flex; |
| flex-direction: column; |
| width: 100%; |
| } |
|
|
| |
| .header { |
| background: #202c33; |
| padding: 12px 16px; |
| display: flex; |
| align-items: center; |
| border-bottom: 1px solid #2a3942; |
| } |
|
|
| .header-left { |
| display: flex; |
| align-items: center; |
| gap: 12px; |
| } |
|
|
| .back-btn { |
| background: none; |
| border: none; |
| color: #00a884; |
| font-size: 18px; |
| cursor: pointer; |
| } |
|
|
| .title { |
| font-size: 16px; |
| font-weight: 600; |
| } |
|
|
| .subtitle { |
| font-size: 12px; |
| color: #8696a0; |
| } |
|
|
| |
| .chat-container { |
| flex: 1; |
| padding: 20px; |
| overflow-y: auto; |
| display: flex; |
| flex-direction: column; |
| gap: 10px; |
| } |
|
|
| |
| .message { |
| max-width: 65%; |
| padding: 10px 14px; |
| border-radius: 16px; |
| font-size: 14px; |
| line-height: 1.4; |
| animation: fadeIn 0.2s ease-in-out; |
| } |
|
|
| .user { |
| align-self: flex-end; |
| background: #005c4b; |
| color: white; |
| border-bottom-right-radius: 4px; |
| } |
|
|
| .assistant { |
| align-self: flex-start; |
| background: #202c33; |
| border-bottom-left-radius: 4px; |
| } |
|
|
| .timestamp { |
| font-size: 10px; |
| margin-top: 4px; |
| opacity: 0.6; |
| text-align: right; |
| } |
|
|
| .raw-btn { |
| margin-left: auto; |
| background: #00a884; |
| border: none; |
| padding: 6px 12px; |
| border-radius: 6px; |
| cursor: pointer; |
| font-size: 12px; |
| font-weight: 500; |
| color: white; |
| } |
|
|
|
|
| @keyframes fadeIn { |
| from { |
| opacity: 0; |
| transform: translateY(5px); |
| } |
| to { |
| opacity: 1; |
| transform: translateY(0); |
| } |
| } |
|
|