diff --git a/front_files/index.css b/front_files/index.css index c85ec17..7f1d898 100644 --- a/front_files/index.css +++ b/front_files/index.css @@ -190,6 +190,80 @@ body { flex-direction: column; } +.hidden { + display: none !important; +} + +/* Chat layout */ + +#chat-card { + display: flex; + flex-direction: column; + gap: 10px; +} + +.chat-header { + display: flex; + justify-content: space-between; + align-items: center; + gap: 12px; + margin-bottom: 4px; +} + +.chat-session { + font-size: 0.85rem; + color: var(--muted); +} + +.chat-log { + flex: 1; + min-height: 180px; + max-height: 320px; + margin-bottom: 8px; + padding: 12px; + border-radius: 10px; + background: rgba(3, 16, 32, 0.65); + overflow-y: auto; + display: flex; + flex-direction: column; + gap: 8px; +} + +.chat-input-row { + display: flex; + gap: 8px; +} + +.chat-input-row .input { + flex: 1; + margin-bottom: 0; +} + +.chat-message { + padding: 8px 10px; + border-radius: 14px; + font-size: 0.9rem; + max-width: 80%; +} + +.chat-message.me { + align-self: flex-end; + background: var(--primary); + color: #ffffff; +} + +.chat-message.them { + align-self: flex-start; + background: rgba(255, 255, 255, 0.06); +} + +.chat-message.system { + align-self: center; + background: transparent; + color: var(--muted); + font-size: 0.8rem; +} + /* Responsive tweaks */ @media (max-width: 480px) { diff --git a/front_files/index.html b/front_files/index.html index 23d29d4..27b3313 100644 --- a/front_files/index.html +++ b/front_files/index.html @@ -17,7 +17,7 @@
-
+
+ +
- \ No newline at end of file +