/* ========================================================= SRO AI ASSISTANT WIDGET ========================================================= */ #ai-launcher { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; background-color: #f2b632; color: #000000; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 18px; box-shadow: 0 4px 12px rgba(0,0,0,0.6); cursor: pointer; z-index: 9999; } #ai-launcher:hover { background-color: #ffd369; } /* Chat window panel */ #ai-chat-window { position: fixed; right: 20px; bottom: 90px; width: 320px; max-height: 60vh; background-color: #01060f; border-radius: 10px; box-shadow: 0 6px 18px rgba(0,0,0,0.8); display: none; flex-direction: column; overflow: hidden; z-index: 9999; } #ai-chat-window.open { display: flex; } .ai-chat-header { background-color: #020b18; color: #ffffff; padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; font-size: 14px; } .ai-chat-header button { background: none; border: none; color: #ffffff; font-size: 18px; cursor: pointer; } #ai-chat-messages { padding: 10px; overflow-y: auto; flex: 1; background-color: #020b18; font-size: 14px; } /* Individual messages */ .ai-msg { margin-bottom: 8px; padding: 6px 8px; border-radius: 6px; line-height: 1.4; } .ai-user { background-color: #f2b632; color: #000000; align-self: flex-end; } .ai-bot { background-color: #111827; color: #f5f5f5; align-self: flex-start; } .ai-thinking { font-style: italic; opacity: 0.8; } /* Input area */ #ai-chat-form { display: flex; border-top: 1px solid #202838; padding: 8px; background-color: #01060f; } #ai-chat-input { flex: 1; padding: 6px 8px; border-radius: 4px; border: 1px solid #424b5f; font-size: 14px; } #ai-chat-form button[type="submit"] { margin-left: 6px; padding: 6px 10px; border-radius: 4px; border: none; background-color: #f2b632; color: #000000; font-weight: bold; cursor: pointer; font-size: 14px; } #ai-chat-form button[type="submit"]:hover { background-color: #ffd369; } /* Small screens tweak */ @media (max-width: 480px) { #ai-chat-window { right: 10px; left: 10px; width: auto; } #ai-launcher { right: 10px; bottom: 10px; } }