.ai-chat-toggle-container { position: fixed; bottom: 280px; right: 30px; z-index: 1000; padding: 10px; overflow: visible; filter: drop-shadow(0 8px 12px rgba(80, 33, 18, 0.821)); } .ai-chat-toggle-btn { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, #a00d1a 0%, #ca751a 50%, #ac8716 100%); color: white; box-shadow: 0 12px 40px rgba(102, 126, 234, 0.4), 0 0 0 0 rgba(102, 126, 234, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.2); border: none; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); position: relative; overflow: visible; display: flex; align-items: center; justify-content: center; animation: float 4s ease-in-out infinite; cursor: pointer; backdrop-filter: blur(10px); } .ai-chat-toggle-btn:hover { box-shadow: 0 20px 50px rgba(102, 126, 234, 0.6), 0 0 0 12px rgba(102, 126, 234, 0.2); transform: scale(1.15) rotate(8deg); background: linear-gradient(135deg, #7e0a14 0%, #ef8c23 50%, #e1b11f 100%); } .ai-chat-toggle-btn:active { transform: scale(0.95); box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5), 0 0 0 6px rgba(102, 126, 234, 0.3); } .ai-avatar { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: white; font-size: 28px; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)); } @keyframes float { 0%, 100% { transform: translateY(0px) rotate(0deg); } 50% { transform: translateY(-15px) rotate(2deg); } } .ai-chat-window { width: 100vw !important; height: 100vh !important; max-width: 100vw !important; max-height: 100vh !important; bottom: 0 !important; right: 0 !important; left: 0 !important; top: 0 !important; border-radius: 0 !important; z-index: 10001 !important; position: fixed; background: linear-gradient(135deg, rgba(83, 23, 23, 0.837) 0%, rgba(22, 80, 103, 0.89) 50%, rgba(62, 18, 32, 0.884) 100%); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 24px; backdrop-filter: blur(20px); box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05); overflow: hidden; z-index: 10000; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); display: flex; flex-direction: column; } .ai-chat-window.fullscreen { box-shadow: 0 0 0 100vh rgba(0, 0, 0, 0.85), 0 0 0 2px rgba(102, 126, 234, 0.4); } .ai-chat-window.fullscreen .ai-chat-header { padding: 20px 30px; border-radius: 0; } .ai-chat-window.fullscreen .ai-chat-messages { padding: 20px 30px; height: calc(100vh - 200px); } .ai-chat-window.fullscreen .ai-quick-actions { padding: 20px 30px; } .ai-chat-window.fullscreen .ai-chat-input-container { padding: 20px 30px; border-radius: 0; } .ai-chat-header { background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(102, 126, 234, 0.06) 100%); padding: 20px 25px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); backdrop-filter: blur(15px); border-radius: 24px 24px 0 0; position: relative; overflow: hidden; } .ai-chat-header::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%); } .ai-header-content { display: flex; align-items: center; justify-content: space-between; gap: 15px; } .ai-agent-info { display: flex; align-items: center; gap: 12px; flex: 1; } .ai-agent-avatar { position: relative; width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3); border: 2px solid rgba(255, 255, 255, 0.2); } .ai-agent-avatar svg { color: white; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3)); } .ai-status-indicator { position: absolute; bottom: -2px; right: -2px; width: 16px; height: 16px; border-radius: 50%; background: #10b981; border: 3px solid rgba(255, 255, 255, 0.9); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); animation: pulse 2s infinite; } @keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.1); opacity: 0.8; } } .ai-agent-details { flex: 1; min-width: 0; } .ai-agent-name { font-size: 18px; font-weight: 700; color: #ffffff; margin: 0 0 4px 0; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); letter-spacing: -0.02em; } .ai-agent-role { font-size: 13px; color: rgba(255, 255, 255, 0.8); margin: 0; font-weight: 500; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); } .ai-header-actions { display: flex; align-items: center; gap: 8px; } .ai-header-btn { width: 36px; height: 36px; border-radius: 10px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); color: rgba(255, 255, 255, 0.9); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275); backdrop-filter: blur(5px); position: relative; overflow: hidden; } .ai-header-btn::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%); transition: left 0.5s; } .ai-header-btn:hover { background: rgba(255, 255, 255, 0.2); border-color: rgba(255, 255, 255, 0.3); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); } .ai-header-btn:hover::before { left: 100%; } .ai-header-btn[data-active="true"] { background: rgba(102, 126, 234, 0.3); border-color: rgba(102, 126, 234, 0.5); color: #ffffff; } .ai-quick-actions { background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(102, 126, 234, 0.03) 100%); padding: 20px 25px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); backdrop-filter: blur(10px); } .ai-quick-actions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-top: 15px; } .ai-sub-action-breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 15px; padding: 12px 16px; background: rgba(255, 255, 255, 0.1); border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.15); backdrop-filter: blur(5px); } .ai-breadcrumb-item { color: rgba(255, 255, 255, 0.8); font-size: 14px; font-weight: 500; cursor: pointer; transition: color 0.2s; } .ai-breadcrumb-item:hover { color: #ffffff; } .ai-breadcrumb-separator { color: rgba(255, 255, 255, 0.5); font-size: 12px; } .ai-quick-action-btn { padding: 16px 20px; border-radius: 16px; background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.05) 100%); border: 1px solid rgba(255, 255, 255, 0.15); color: #ffffff; cursor: pointer; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); display: flex; flex-direction: column; align-items: center; gap: 8px; backdrop-filter: blur(10px); position: relative; overflow: hidden; font-weight: 600; font-size: 13px; letter-spacing: -0.01em; min-height: 80px; justify-content: center; } .ai-quick-action-btn::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%); transition: left 0.6s; } .ai-quick-action-btn:hover { background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.1) 100%); border-color: rgba(255, 255, 255, 0.25); transform: translateY(-4px) scale(1.02); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.08); } .ai-quick-action-btn:hover::before { left: 100%; } .ai-quick-action-btn:active { transform: translateY(-2px) scale(0.98); } .ai-quick-action-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; } .ai-quick-action-icon { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(5px); } .ai-quick-action-btn svg { color: #ffffff; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3)); } .ai-quick-action-btn:hover svg { transform: scale(1.1); transition: transform 0.2s; } .ai-quick-action-text { text-align: center; line-height: 1.3; font-weight: 600; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); } .ai-chat-messages { flex: 1; padding: 20px 25px; overflow-y: auto; scroll-behavior: smooth; background: transparent; display: flex; flex-direction: column; gap: 16px; } .ai-chat-messages::-webkit-scrollbar { width: 6px; } .ai-chat-messages::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.1); border-radius: 3px; } .ai-chat-messages::-webkit-scrollbar-thumb { background: linear-gradient(135deg, #667eea, #764ba2); border-radius: 3px; border: 1px solid rgba(255, 255, 255, 0.2); } .ai-chat-messages::-webkit-scrollbar-thumb:hover { background: linear-gradient(135deg, #5a6fd8, #6a4190); } .ai-message { display: flex; gap: 12px; align-items: flex-start; animation: messageSlideIn 0.3s ease-out; } .ai-message.user { flex-direction: row-reverse; } .ai-message-avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3); border: 2px solid rgba(255, 255, 255, 0.2); flex-shrink: 0; } .ai-message.user .ai-message-avatar { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); box-shadow: 0 4px 12px rgba(240, 147, 251, 0.3); } .ai-message-bubble { max-width: 75%; padding: 16px 20px; border-radius: 20px; background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.1) 100%); border: 1px solid rgba(255, 255, 255, 0.2); backdrop-filter: blur(10px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); position: relative; overflow: hidden; } .ai-message.user .ai-message-bubble { background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.15) 100%); border-color: rgba(102, 126, 234, 0.3); } .ai-message-bubble p { margin: 0 0 8px 0; line-height: 1.6; color: #ffffff; font-size: 14px; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); } .ai-message-bubble p:last-child { margin-bottom: 0; } .ai-message-actions { display: flex; gap: 6px; margin-top: 12px; opacity: 0; transition: opacity 0.3s; } .ai-message-bubble:hover .ai-message-actions { opacity: 1; } .ai-message-action { width: 28px; height: 28px; border-radius: 8px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); color: rgba(255, 255, 255, 0.8); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; backdrop-filter: blur(5px); } .ai-message-action:hover { background: rgba(255, 255, 255, 0.2); border-color: rgba(255, 255, 255, 0.3); color: #ffffff; transform: scale(1.1); } .ai-processing-indicator { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%); border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.15); backdrop-filter: blur(10px); margin: 8px 0; } .ai-processing-spinner { width: 20px; height: 20px; border: 2px solid rgba(255, 255, 255, 0.3); border-top: 2px solid #667eea; border-radius: 50%; animation: ai-spin 1s linear infinite; } .ai-processing-text { color: rgba(255, 255, 255, 0.8); font-size: 14px; font-weight: 500; } @keyframes ai-spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .ai-chat-input-container { background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(102, 126, 234, 0.08) 100%); padding: 20px 25px; border-top: 1px solid rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); border-radius: 0 0 24px 24px; position: relative; } .ai-chat-input-container::before { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%); } .ai-input-wrapper { display: flex; align-items: flex-end; gap: 12px; background: rgba(255, 255, 255, 0.1); border-radius: 20px; padding: 8px 16px; border: 1px solid rgba(255, 255, 255, 0.2); backdrop-filter: blur(10px); transition: all 0.3s; } .ai-input-wrapper:focus-within { background: rgba(255, 255, 255, 0.15); border-color: rgba(102, 126, 234, 0.4); box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1); } .ai-input-action-btn { width: 36px; height: 36px; border-radius: 10px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); color: rgba(255, 255, 255, 0.8); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; backdrop-filter: blur(5px); flex-shrink: 0; } .ai-input-action-btn:hover { background: rgba(255, 255, 255, 0.2); border-color: rgba(255, 255, 255, 0.3); color: #ffffff; transform: scale(1.05); } .ai-input-action-btn[data-active="true"] { background: rgba(102, 126, 234, 0.3); border-color: rgba(102, 126, 234, 0.5); color: #ffffff; animation: pulse 1.5s infinite; } .ai-chat-input { flex: 1; background: transparent; border: none; outline: none; color: #ffffff; font-size: 14px; line-height: 1.5; resize: none; min-height: 20px; max-height: 120px; padding: 8px 0; } .ai-chat-input:focus { outline: none; } .ai-chat-input::placeholder { color: rgba(255, 255, 255, 0.6); font-style: italic; } .ai-send-btn { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border: none; color: white; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3); flex-shrink: 0; } .ai-send-btn:hover { background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%); transform: scale(1.05); box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4); } .ai-send-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; } .ai-welcome-tooltip { position: absolute; bottom: 100%; right: 0; margin-bottom: 15px; background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(102, 126, 234, 0.1) 100%); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 16px; padding: 12px 16px; backdrop-filter: blur(15px); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); animation: tooltipGlow 2s ease-in-out infinite alternate; z-index: 1001; } .tooltip-content { display: flex; align-items: center; gap: 8px; color: #ffffff; font-size: 13px; font-weight: 600; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); } .tooltip-arrow { position: absolute; top: 100%; right: 20px; width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-top: 8px solid rgba(255, 255, 255, 0.15); filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)); } @keyframes tooltipGlow { 0% { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); } 100% { box-shadow: 0 8px 32px rgba(102, 126, 234, 0.4); } } .ai-chat-window { animation: aiSlideInUp 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275); } @keyframes aiSlideInUp { from { opacity: 0; transform: translateY(40px) scale(0.9); } to { opacity: 1; transform: translateY(0) scale(1); } } .ai-message { animation: aiMessageSlideIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); } @keyframes aiMessageSlideIn { from { opacity: 0; transform: translateY(20px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } } .ai-quick-action-btn { position: relative; overflow: hidden; } .ai-quick-action-btn::after { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent); transition: left 0.6s; } .ai-quick-action-btn:hover::after { left: 100%; } .ai-chat-window { backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%); } .ai-chat-header { backdrop-filter: blur(15px) saturate(120%); -webkit-backdrop-filter: blur(15px) saturate(120%); } .ai-quick-actions { backdrop-filter: blur(10px) saturate(100%); -webkit-backdrop-filter: blur(10px) saturate(100%); } @keyframes messageSlideIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } @media (max-width: 1024px) { .ai-chat-toggle-container { bottom: 20px; right: 20px; } .ai-chat-toggle-btn { width: 72px; height: 72px; } .ai-chat-window:not(.fullscreen) { width: 90vw !important; height: 85vh !important; bottom: 15px !important; right: 15px !important; left: 15px !important; border-radius: 20px; } .ai-chat-header { padding: 15px 20px; } .ai-agent-avatar { width: 44px; height: 44px; } .ai-agent-name { font-size: 16px; } .ai-agent-role { font-size: 12px; } .ai-header-btn { width: 36px; height: 36px; font-size: 16px; } .ai-quick-actions { padding: 12px 18px; } .ai-quick-actions-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; } .ai-quick-action-btn { padding: 14px 16px; min-height: 70px; font-size: 12px; gap: 8px; } .ai-quick-action-btn svg { width: 20px; height: 20px; } .ai-quick-action-text { font-size: 12px; line-height: 1.4; } .ai-chat-messages { padding: 15px 20px; } .ai-message { margin-bottom: 16px; } .ai-message-avatar { width: 36px; height: 36px; font-size: 16px; } .ai-message-bubble { padding: 12px 16px; font-size: 15px; line-height: 1.5; } .ai-chat-input-container { padding: 15px 20px; } .ai-input-wrapper { padding: 12px 16px; } .ai-chat-input { font-size: 15px; } .ai-input-action-btn, .ai-send-btn { width: 44px; height: 44px; font-size: 18px; } } @media (max-width: 768px) { .ai-chat-toggle-container { bottom: 15px; right: 15px; } .ai-chat-toggle-btn { width: 68px; height: 68px; } .ai-chat-window:not(.fullscreen) { width: 95vw !important; height: 85vh !important; bottom: 10px !important; right: 10px !important; left: 10px !important; border-radius: 18px; } .ai-chat-header { padding: 12px 16px; } .ai-header-content { gap: 12px; } .ai-agent-avatar { width: 40px; height: 40px; } .ai-agent-name { font-size: 15px; } .ai-agent-role { font-size: 11px; } .ai-header-actions { gap: 8px; } .ai-header-btn { width: 32px; height: 32px; font-size: 14px; } .ai-quick-actions { padding: 10px 14px; } .ai-quick-actions-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; } .ai-quick-action-btn { padding: 12px 14px; min-height: 60px; font-size: 11px; gap: 6px; } .ai-quick-action-btn svg { width: 18px; height: 18px; } .ai-quick-action-text { font-size: 11px; line-height: 1.3; } .ai-chat-messages { padding: 12px 16px; } .ai-message { margin-bottom: 12px; } .ai-message-avatar { width: 32px; height: 32px; font-size: 14px; } .ai-message-bubble { padding: 10px 14px; font-size: 14px; line-height: 1.4; } .ai-chat-input-container { padding: 12px 16px; } .ai-input-wrapper { padding: 10px 14px; } .ai-chat-input { font-size: 16px; } .ai-input-action-btn, .ai-send-btn { width: 40px; height: 40px; font-size: 16px; } .ai-chat-input::placeholder { font-size: 16px; } } @media (max-width: 767px) and (orientation: landscape) { .ai-chat-window:not(.fullscreen) { height: 90vh !important; bottom: 5px !important; top: 5px !important; } .ai-chat-header { padding: 8px 12px; } .ai-agent-avatar { width: 32px; height: 32px; } .ai-agent-name { font-size: 14px; } .ai-agent-role { font-size: 10px; } .ai-quick-actions { padding: 8px 12px; } .ai-quick-actions-grid { gap: 8px; } .ai-quick-action-btn { padding: 10px 12px; min-height: 60px; font-size: 11px; } .ai-chat-messages { padding: 8px 12px; } .ai-message-bubble { padding: 8px 12px; font-size: 13px; } .ai-chat-input-container { padding: 8px 12px; } .ai-input-wrapper { padding: 8px 12px; } } @media (max-width: 480px) { .ai-chat-toggle-container { bottom: 10px; right: 10px; } .ai-chat-toggle-btn { width: 60px; height: 60px; } .ai-chat-window:not(.fullscreen) { width: 100vw !important; height: 100vh !important; bottom: 0 !important; right: 0 !important; left: 0 !important; border-radius: 0; max-width: 100vw !important; max-height: 100vh !important; } .ai-chat-header { padding: 10px 12px; border-radius: 0; } .ai-header-content { gap: 10px; } .ai-agent-avatar { width: 36px; height: 36px; } .ai-agent-name { font-size: 14px; line-height: 1.2; } .ai-agent-role { font-size: 10px; line-height: 1.2; } .ai-header-actions { gap: 6px; } .ai-header-btn { width: 28px; height: 28px; font-size: 12px; } .ai-quick-actions { padding: 8px 10px; } .ai-quick-actions-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; } .ai-quick-action-btn { padding: 8px 10px; min-height: 50px; font-size: 10px; gap: 4px; } .ai-quick-action-btn svg { width: 16px; height: 16px; } .ai-quick-action-text { font-size: 10px; line-height: 1.2; } .ai-chat-messages { padding: 10px 12px; } .ai-message { margin-bottom: 10px; } .ai-message-avatar { width: 28px; height: 28px; font-size: 12px; } .ai-message-bubble { padding: 8px 12px; font-size: 13px; line-height: 1.3; max-width: 85%; } .ai-chat-input-container { padding: 10px 12px; } .ai-input-wrapper { padding: 8px 12px; } .ai-chat-input { font-size: 16px; } .ai-input-action-btn, .ai-send-btn { width: 36px; height: 36px; font-size: 14px; } } @media (max-width: 375px) { .ai-chat-toggle-btn { width: 56px; height: 56px; } .ai-chat-header { padding: 8px 10px; } .ai-agent-avatar { width: 32px; height: 32px; } .ai-agent-name { font-size: 13px; } .ai-agent-role { font-size: 9px; } .ai-header-btn { width: 26px; height: 26px; font-size: 11px; } .ai-quick-actions { padding: 6px 8px; } .ai-quick-actions-grid { grid-template-columns: repeat(3, 1fr); gap: 4px; } .ai-quick-action-btn { padding: 6px 8px; min-height: 45px; font-size: 9px; gap: 3px; } .ai-quick-action-btn svg { width: 14px; height: 14px; } .ai-quick-action-text { font-size: 9px; line-height: 1.1; } .ai-message-avatar { width: 26px; height: 26px; font-size: 11px; } .ai-message-bubble { padding: 6px 10px; font-size: 12px; } .ai-input-action-btn, .ai-send-btn { width: 32px; height: 32px; font-size: 13px; } } @media (max-width: 319px) { .ai-chat-toggle-btn { width: 52px; height: 52px; } .ai-chat-header { padding: 6px 8px; } .ai-agent-avatar { width: 28px; height: 28px; } .ai-agent-name { font-size: 12px; } .ai-agent-role { font-size: 8px; } .ai-header-btn { width: 24px; height: 24px; font-size: 10px; } .ai-quick-actions { padding: 4px 6px; } .ai-quick-actions-grid { grid-template-columns: repeat(2, 1fr); gap: 4px; } .ai-quick-action-btn { padding: 5px 7px; min-height: 40px; font-size: 8px; gap: 2px; } .ai-quick-action-btn svg { width: 12px; height: 12px; } .ai-quick-action-text { font-size: 8px; line-height: 1.0; } .ai-message-avatar { width: 24px; height: 24px; font-size: 10px; } .ai-message-bubble { padding: 5px 8px; font-size: 11px; } .ai-input-action-btn, .ai-send-btn { width: 30px; height: 30px; font-size: 12px; } } .ai-message-content { width: 100%; } .ai-message-content h1, .ai-message-content h2, .ai-message-content h3, .ai-message-content h4, .ai-message-content h5, .ai-message-content h6 { margin: 0 0 12px 0; color: #ffffff; font-weight: 700; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); } .ai-message-content h1 { font-size: 20px; line-height: 1.3; margin-bottom: 16px; } .ai-message-content h2 { font-size: 18px; line-height: 1.4; } .ai-message-content h3 { font-size: 16px; line-height: 1.4; } .ai-message-content h4 { font-size: 14px; line-height: 1.4; } .ai-message-content p { margin: 0 0 8px 0; line-height: 1.6; } .ai-message-content ul, .ai-message-content ol { margin: 8px 0; padding-left: 20px; } .ai-message-content li { margin: 4px 0; line-height: 1.5; } .ai-message-content strong, .ai-message-content b { font-weight: 700; color: #ffffff; } .ai-message-content em, .ai-message-content i { font-style: italic; color: rgba(255, 255, 255, 0.9); } .ai-section-header { font-size: 16px; font-weight: 700; color: #ffffff; margin: 16px 0 8px 0; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.2); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); } .ai-subsection-header { font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, 0.9); margin: 12px 0 6px 0; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); } .ai-text-primary { color: #ffffff; } .ai-text-secondary { color: rgba(255, 255, 255, 0.8); } .ai-text-muted { color: rgba(255, 255, 255, 0.6); } .ai-text-accent { color: #667eea; } .ai-text-success { color: #10b981; } .ai-text-warning { color: #f59e0b; } .ai-text-error { color: #ef4444; } .ai-list-item { padding: 8px 12px; margin: 4px 0; background: rgba(255, 255, 255, 0.05); border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.1); transition: all 0.2s; } .ai-list-item:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); transform: translateX(4px); } .ai-list-item:last-child { margin-bottom: 0; } .ai-emoji { font-size: 1.2em; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3)); vertical-align: middle; } .ai-message-spacing { margin: 16px 0; } .ai-message-spacing-small { margin: 8px 0; } .ai-message-spacing-large { margin: 24px 0; } .ai-message-bubble { position: relative; overflow: hidden; } .ai-message-bubble::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%); } .ai-message-bubble:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); } .ai-quick-action { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: rgba(255, 255, 255, 0.05); border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.1); transition: all 0.2s; cursor: pointer; } .ai-quick-action:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); transform: translateY(-2px); } .ai-quick-action:active { transform: translateY(0); } .ai-status-indicator { position: relative; } .ai-status-online { background: #10b981; animation: pulse 2s infinite; } .ai-status-busy { background: #f59e0b; animation: pulse 1.5s infinite; } .ai-status-offline { background: #6b7280; animation: none; } .ai-message-info { background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0.1) 100%); border-color: rgba(59, 130, 246, 0.3); } .ai-message-success { background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0.1) 100%); border-color: rgba(16, 185, 129, 0.3); } .ai-message-warning { background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(245, 158, 11, 0.1) 100%); border-color: rgba(245, 158, 11, 0.3); } .ai-message-error { background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(239, 68, 68, 0.1) 100%); border-color: rgba(239, 68, 68, 0.3); } .ai-code-block { background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px; padding: 12px; margin: 8px 0; font-size: 13px; line-height: 1.4; overflow-x: auto; } .ai-blockquote { border-left: 4px solid #667eea; padding-left: 16px; margin: 12px 0; background: rgba(102, 126, 234, 0.1); border-radius: 0 8px 8px 0; padding: 12px 16px; } .ai-table { width: 100%; border-collapse: collapse; margin: 12px 0; background: rgba(255, 255, 255, 0.05); border-radius: 8px; overflow: hidden; } .ai-table th { background: rgba(255, 255, 255, 0.1); padding: 12px; text-align: left; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, 0.1); } .ai-table td { padding: 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); } .ai-table tr:hover { background: rgba(255, 255, 255, 0.05); } .ai-divider { height: 1px; background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%); margin: 16px 0; } .ai-divider-thick { height: 2px; background: linear-gradient(90deg, transparent 0%, rgba(102, 126, 234, 0.4) 50%, transparent 100%); margin: 20px 0; }