| :root { |
| --bg-primary: #050505; |
| --bg-secondary: #0f0f0f; |
| --accent-cyan: #00f2ff; |
| --accent-purple: #bc13fe; |
| --text-primary: #ffffff; |
| --text-secondary: #a3a3a3; |
| --border-color: rgba(255, 255, 255, 0.08); |
| } |
|
|
| * { |
| margin: 0; |
| padding: 0; |
| box-sizing: border-box; |
| } |
|
|
| body { |
| font-family: 'Inter', sans-serif; |
| background: var(--bg-primary); |
| color: var(--text-primary); |
| overflow-x: hidden; |
| } |
|
|
| canvas#particles { |
| position: fixed; |
| top: 0; |
| left: 0; |
| width: 100%; |
| height: 100%; |
| z-index: -1; |
| pointer-events: none; |
| } |
|
|
| |
| .fade-in { |
| animation: fadeIn 0.8s ease-out forwards; |
| } |
|
|
| @keyframes fadeIn { |
| from { opacity: 0; transform: translateY(20px); } |
| to { opacity: 1; transform: translateY(0); } |
| } |
|
|
| |
| nav { |
| padding: 20px 40px; |
| display: flex; |
| justify-content: space-between; |
| align-items: center; |
| border-bottom: 1px solid var(--border-color); |
| } |
|
|
| .logo { |
| font-size: 24px; |
| font-weight: 800; |
| background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple)); |
| -webkit-background-clip: text; |
| -webkit-text-fill-color: transparent; |
| } |
|
|
| |
| .auth-container { |
| max-width: 400px; |
| margin: 100px auto; |
| padding: 40px; |
| background: var(--bg-secondary); |
| border: 1px solid var(--border-color); |
| border-radius: 16px; |
| } |
|
|
| input { |
| width: 100%; |
| padding: 12px; |
| margin: 10px 0; |
| background: var(--bg-primary); |
| border: 1px solid var(--border-color); |
| color: white; |
| border-radius: 8px; |
| } |
|
|
| button { |
| width: 100%; |
| padding: 12px; |
| background: var(--accent-cyan); |
| border: none; |
| border-radius: 8px; |
| font-weight: 700; |
| cursor: pointer; |
| transition: all 0.3s; |
| } |
|
|
| button:hover { |
| box-shadow: 0 0 15px var(--accent-cyan); |
| transform: translateY(-2px); |
| } |
|
|
| |
| .chat-wrapper { |
| display: flex; |
| height: calc(100vh - 80px); |
| } |
|
|
| .sidebar { |
| width: 260px; |
| background: var(--bg-secondary); |
| border-right: 1px solid var(--border-color); |
| padding: 20px; |
| } |
|
|
| .chat-main { |
| flex: 1; |
| display: flex; |
| flex-direction: column; |
| } |
|
|
| .messages-container { |
| flex: 1; |
| overflow-y: auto; |
| padding: 40px; |
| display: flex; |
| flex-direction: column; |
| gap: 24px; |
| } |
|
|
| .message { |
| max-width: 80%; |
| padding: 16px; |
| border-radius: 12px; |
| line-height: 1.6; |
| } |
|
|
| .message.user { |
| align-self: flex-end; |
| background: rgba(0, 242, 255, 0.1); |
| border: 1px solid rgba(0, 242, 255, 0.2); |
| } |
|
|
| .message.assistant { |
| align-self: flex-start; |
| background: rgba(255, 255, 255, 0.05); |
| border: 1px solid var(--border-color); |
| } |
|
|
| .input-area { |
| padding: 40px; |
| border-top: 1px solid var(--border-color); |
| } |
|
|
| .chat-input-wrapper { |
| max-width: 800px; |
| margin: 0 auto; |
| position: relative; |
| } |
|
|
| textarea { |
| width: 100%; |
| padding: 16px; |
| background: var(--bg-secondary); |
| border: 1px solid var(--border-color); |
| color: white; |
| border-radius: 12px; |
| resize: none; |
| outline: none; |
| } |
|
|