| |
|
|
| body { |
| font-family: 'Segoe UI', sans-serif; |
| margin: 0; |
| padding: 0; |
| transition: background 0.3s, color 0.3s; |
| } |
|
|
| |
| body.light { |
| background: #f5f7fb; |
| color: #333; |
| } |
|
|
| |
| body.dark { |
| background: #121212; |
| color: #eee; |
| } |
|
|
| |
| .container { |
| max-width: 900px; |
| margin: auto; |
| padding: 20px; |
| } |
|
|
| |
| .header { |
| display: flex; |
| justify-content: space-between; |
| align-items: center; |
| } |
|
|
| h1 { |
| margin: 0; |
| } |
|
|
| |
| .toggle-btn { |
| padding: 6px 12px; |
| border: none; |
| border-radius: 6px; |
| cursor: pointer; |
| background: #333; |
| color: white; |
| } |
|
|
| |
| .chat-feed { |
| margin-top: 20px; |
| height: 500px; |
| overflow-y: auto; |
| padding-right: 10px; |
| } |
|
|
| |
| .chat-card { |
| border-radius: 12px; |
| padding: 15px; |
| margin-bottom: 12px; |
| box-shadow: 0 4px 10px rgba(0,0,0,0.08); |
| transition: transform 0.2s ease; |
| } |
|
|
| |
| body.light .chat-card { |
| background: white; |
| } |
|
|
| |
| body.dark .chat-card { |
| background: #1e1e1e; |
| } |
|
|
| |
| .chat-card:hover { |
| transform: translateY(-3px); |
| } |
|
|
| .author { |
| font-weight: bold; |
| } |
|
|
| .message { |
| margin: 5px 0 10px; |
| } |
|
|
| |
| .badge { |
| display: inline-block; |
| padding: 4px 10px; |
| border-radius: 20px; |
| font-size: 12px; |
| color: white; |
| margin-right: 8px; |
| } |
|
|
| .positive { background: #4CAF50; } |
| .neutral { background: #FFC107; color: black; } |
| .negative { background: #F44336; } |
|
|
| |
| .confidence-bar { |
| margin-top: 8px; |
| height: 8px; |
| background: #ccc; |
| border-radius: 5px; |
| overflow: hidden; |
| } |
|
|
| .fill { |
| height: 8px; |
| border-radius: 5px; |
| } |
|
|
| |
| .footer { |
| text-align: center; |
| margin-top: 10px; |
| font-size: 12px; |
| } |