| body { |
| font-family: 'Inter', sans-serif; |
| background: #0b0b0d; |
| color: #eaeaea; |
| display: flex; |
| flex-direction: column; |
| height: 100vh; |
| margin: 0; |
| } |
|
|
| header { |
| display: flex; |
| justify-content: space-between; |
| align-items: center; |
| padding: 10px 20px; |
| background: linear-gradient(90deg, #1a1a1d, #111); |
| } |
|
|
| #controls select, #controls button { |
| margin-left: 10px; |
| padding: 5px 10px; |
| border-radius: 6px; |
| border: none; |
| cursor: pointer; |
| } |
|
|
| #chat-container { |
| flex: 1; |
| overflow-y: auto; |
| padding: 20px; |
| display: flex; |
| flex-direction: column; |
| gap: 10px; |
| } |
|
|
| .chat-bubble { |
| max-width: 70%; |
| padding: 12px 16px; |
| border-radius: 16px; |
| box-shadow: 0 2px 8px rgba(0,0,0,0.3); |
| } |
|
|
| .user { |
| align-self: flex-end; |
| background-color: #0078ff; |
| color: white; |
| } |
|
|
| .ai { |
| align-self: flex-start; |
| background-color: #1a1a1d; |
| color: white; |
| } |
|
|
| footer { |
| display: flex; |
| padding: 10px; |
| background: #111; |
| } |
|
|
| footer input { |
| flex: 1; |
| padding: 10px; |
| border-radius: 8px; |
| border: 1px solid #333; |
| margin-right: 10px; |
| } |
|
|
| footer button { |
| padding: 10px 20px; |
| background: #0078ff; |
| color: white; |
| border-radius: 8px; |
| border: none; |
| cursor: pointer; |
| } |
|
|
| #typing { |
| margin-left: 10px; |
| font-style: italic; |
| color: #aaa; |
| } |
|
|
| |
| .modal { |
| display: none; |
| position: fixed; |
| z-index: 100; |
| left: 0; |
| top: 0; |
| width: 100%; |
| height: 100%; |
| overflow: auto; |
| background-color: rgba(0,0,0,0.7); |
| } |
|
|
| .modal-content { |
| background-color: #1a1a1d; |
| margin: 10% auto; |
| padding: 20px; |
| border-radius: 12px; |
| width: 300px; |
| } |
|
|
| .modal-content label { |
| display: block; |
| margin: 10px 0; |
| } |
|
|