Spaces:
Sleeping
Sleeping
| body { | |
| font-family: 'Cairo', sans-serif; | |
| background: #f1f1f1; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| height: 100vh; | |
| } | |
| #chat-container { | |
| width: 400px; | |
| height: 600px; | |
| background: white; | |
| border-radius: 20px; | |
| display: flex; | |
| flex-direction: column; | |
| overflow: hidden; | |
| box-shadow: 0 4px 15px rgba(0,0,0,0.1); | |
| } | |
| #chatbox { | |
| flex: 1; | |
| padding: 15px; | |
| overflow-y: auto; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 10px; | |
| } | |
| .msg { | |
| max-width: 70%; | |
| padding: 10px 15px; | |
| border-radius: 15px; | |
| font-size: 1rem; | |
| line-height: 1.4; | |
| } | |
| .user { | |
| align-self: flex-end; | |
| background: #0078ff; | |
| color: white; | |
| border-bottom-right-radius: 5px; | |
| } | |
| .bot { | |
| align-self: flex-start; | |
| background: #ececec; | |
| color: #333; | |
| border-bottom-left-radius: 5px; | |
| } | |
| #input-area { | |
| display: flex; | |
| padding: 10px; | |
| border-top: 1px solid #ddd; | |
| } | |
| #userInput { | |
| flex: 1; | |
| padding: 10px; | |
| border: 1px solid #ccc; | |
| border-radius: 20px; | |
| outline: none; | |
| } | |
| #sendBtn { | |
| margin-left: 10px; | |
| padding: 10px 20px; | |
| background: #0078ff; | |
| color: white; | |
| border: none; | |
| border-radius: 20px; | |
| cursor: pointer; | |
| } | |