/* ─── SolaraRP Chatbot ─── */ .solara-chat { position: fixed; bottom: 24px; right: 24px; z-index: 500; font-family: var(--font-body, "Outfit", sans-serif); } .solara-chat-toggle { width: 58px; height: 58px; border-radius: 50%; border: none; cursor: pointer; background: linear-gradient(135deg, var(--blue, #00aeef), #0077b3); color: #fff; box-shadow: 0 8px 32px rgba(0, 174, 239, 0.45); display: flex; align-items: center; justify-content: center; transition: transform 0.2s, box-shadow 0.2s; } .solara-chat-toggle:hover { transform: scale(1.06); box-shadow: 0 12px 40px rgba(0, 174, 239, 0.55); } .solara-chat.open .solara-chat-toggle { transform: scale(0.95); } .solara-chat-panel { position: absolute; bottom: 72px; right: 0; width: min(380px, calc(100vw - 32px)); height: 520px; max-height: calc(100svh - 120px); background: rgba(6, 9, 18, 0.97); border: 1px solid rgba(0, 174, 239, 0.25); border-radius: 18px; backdrop-filter: blur(20px); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); display: flex; flex-direction: column; overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(12px) scale(0.96); transition: opacity 0.25s, transform 0.25s, visibility 0.25s; } .solara-chat.open .solara-chat-panel { opacity: 1; visibility: visible; transform: translateY(0) scale(1); } .solara-chat-header { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); background: linear-gradient(135deg, rgba(0, 174, 239, 0.12), transparent); } .solara-chat-avatar { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, var(--blue, #00aeef), #0077b3); display: flex; align-items: center; justify-content: center; font-family: var(--font-display, "Bebas Neue", sans-serif); font-size: 1.4rem; color: #fff; } .solara-chat-header-text strong { display: block; font-size: 0.95rem; } .solara-chat-header-text span { font-size: 0.75rem; color: rgba(240, 244, 255, 0.55); } .solara-chat-close { margin-left: auto; background: none; border: none; color: rgba(240, 244, 255, 0.5); cursor: pointer; padding: 6px; border-radius: 6px; } .solara-chat-close:hover { color: #fff; background: rgba(255, 255, 255, 0.08); } .solara-chat-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; } .solara-chat-msg { max-width: 88%; padding: 10px 14px; border-radius: 14px; font-size: 0.88rem; line-height: 1.5; word-break: break-word; } .solara-chat-msg.bot { align-self: flex-start; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08); color: #f0f4ff; border-bottom-left-radius: 4px; } .solara-chat-msg.user { align-self: flex-end; background: linear-gradient(135deg, var(--blue, #00aeef), #0077b3); color: #fff; border-bottom-right-radius: 4px; } .solara-chat-msg.bot strong { color: var(--blue, #00aeef); } .solara-chat-typing { align-self: flex-start; padding: 10px 16px; background: rgba(255, 255, 255, 0.06); border-radius: 14px; display: flex; gap: 4px; } .solara-chat-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--blue, #00aeef); animation: chatBounce 1.2s infinite; } .solara-chat-typing span:nth-child(2) { animation-delay: 0.15s; } .solara-chat-typing span:nth-child(3) { animation-delay: 0.3s; } @keyframes chatBounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-5px); opacity: 1; } } .solara-chat-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; } .solara-chat-quick button { padding: 6px 10px; font-size: 0.72rem; border-radius: 999px; border: 1px solid rgba(0, 174, 239, 0.3); background: rgba(0, 174, 239, 0.08); color: var(--blue, #00aeef); cursor: pointer; font-family: inherit; } .solara-chat-quick button:hover { background: rgba(0, 174, 239, 0.18); } .solara-chat-form { display: flex; gap: 8px; padding: 12px 16px 16px; border-top: 1px solid rgba(255, 255, 255, 0.08); } .solara-chat-form input { flex: 1; padding: 11px 14px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 10px; background: rgba(0, 0, 0, 0.35); color: #f0f4ff; font-family: inherit; font-size: 0.9rem; } .solara-chat-form input:focus { outline: none; border-color: rgba(0, 174, 239, 0.5); } .solara-chat-form button { padding: 11px 16px; border: none; border-radius: 10px; background: var(--blue, #00aeef); color: #fff; font-weight: 600; cursor: pointer; font-family: inherit; } .solara-chat-form button:disabled { opacity: 0.5; cursor: not-allowed; } @media (max-width: 480px) { .solara-chat { bottom: 16px; right: 16px; } .solara-chat-panel { width: calc(100vw - 32px); right: -8px; } }