/* Global Styles */ * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Open Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); min-height: 100vh; color: #333; overflow-x: hidden; } .container { max-width: 1200px; margin: 0 auto; padding: 20px; min-height: 100vh; display: flex; flex-direction: column; } /* Header Styles */ .header { text-align: center; margin-bottom: 30px; animation: slideDown 0.8s ease-out; } .header-top { display: flex; justify-content: flex-end; margin-bottom: 20px; } .language-switcher { display: flex; gap: 10px; background: rgba(255, 255, 255, 0.1); border-radius: 25px; padding: 5px; backdrop-filter: blur(10px); } .lang-btn { background: transparent; border: none; color: #f7fafc; padding: 8px 15px; border-radius: 20px; cursor: pointer; transition: all 0.3s ease; font-weight: 600; display: flex; align-items: center; gap: 5px; font-size: 0.9rem; } .lang-btn:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-1px); } .lang-btn.active { background: rgba(255, 255, 255, 0.9); color: #4a5568; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); } .lang-btn i, .lang-btn .flag-icon { font-size: 1rem; } .logo { display: flex; align-items: center; justify-content: center; gap: 15px; margin-bottom: 10px; } .logo i, .logo .brain-icon { font-size: 3rem; color: #fff; text-shadow: 0 0 20px rgba(255, 255, 255, 0.5); animation: pulse 2s infinite; } .logo h1 { font-family: 'Fredoka One', 'Comic Sans MS', cursive, sans-serif; font-size: 3rem; color: #fff; text-shadow: 3px 3px 0px #4a5568, -1px -1px 0px #4a5568, 1px -1px 0px #4a5568, -1px 1px 0px #4a5568; } .tagline { font-size: 1.2rem; color: #f7fafc; font-weight: 600; text-shadow: 1px 1px 2px rgba(0,0,0,0.3); } /* Main Content */ .main-content { flex: 1; display: flex; flex-direction: column; gap: 30px; } /* Welcome Section */ .welcome-section { background: rgba(255, 255, 255, 0.95); border-radius: 20px; padding: 30px; text-align: center; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); animation: fadeInUp 1s ease-out 0.3s both; } .mascot { margin-bottom: 20px; } .robot-face { width: 80px; height: 80px; background: linear-gradient(135deg, #4299e1, #667eea); border-radius: 50%; margin: 0 auto 20px; position: relative; animation: bounce 2s infinite; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); } .eyes { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; } .eye { width: 12px; height: 12px; background: white; border-radius: 50%; position: relative; } .eye::after { content: ''; position: absolute; width: 6px; height: 6px; background: #333; border-radius: 50%; top: 3px; left: 3px; animation: eyeMove 3s infinite; } .mouth { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); width: 20px; height: 10px; border: 2px solid white; border-top: none; border-radius: 0 0 20px 20px; } .welcome-section h2 { font-family: 'Fredoka One', 'Comic Sans MS', cursive, sans-serif; font-size: 2rem; color: #4a5568; margin-bottom: 15px; } .welcome-section p { font-size: 1.1rem; line-height: 1.6; color: #666; } /* Question Section */ .question-section { background: rgba(255, 255, 255, 0.95); border-radius: 20px; padding: 30px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); animation: fadeInUp 1s ease-out 0.6s both; } .input-container label { display: block; font-family: 'Fredoka One', 'Comic Sans MS', cursive, sans-serif; font-size: 1.3rem; color: #4a5568; margin-bottom: 15px; text-align: center; } .input-wrapper { display: flex; flex-direction: column; gap: 15px; align-items: center; } #question-input { width: 100%; max-width: 600px; padding: 15px; border: 3px solid #e2e8f0; border-radius: 15px; font-size: 1.1rem; font-family: 'Open Sans', sans-serif; resize: vertical; transition: all 0.3s ease; background: #f8f9fa; } #question-input:focus { outline: none; border-color: #667eea; box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1); background: white; } .ask-btn { background: linear-gradient(135deg, #48bb78, #38a169); color: white; border: none; padding: 15px 30px; border-radius: 25px; font-size: 1.1rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 5px 15px rgba(72, 187, 120, 0.3); display: flex; align-items: center; gap: 10px; } .ask-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(72, 187, 120, 0.4); } .ask-btn:active { transform: translateY(0); } /* Thinking Section */ .thinking-section { background: rgba(255, 255, 255, 0.95); border-radius: 20px; padding: 30px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); animation: fadeInUp 0.8s ease-out; margin-bottom: 20px; } .thinking-header h3 { font-family: 'Fredoka One', 'Comic Sans MS', cursive, sans-serif; font-size: 1.8rem; color: #4a5568; text-align: center; margin-bottom: 20px; } .thinking-header i { color: #f6ad55; margin-right: 10px; } .thinking-steps { margin-bottom: 25px; } .thinking-step { background: rgba(255, 255, 255, 0.95); border-radius: 15px; padding: 20px; margin-bottom: 20px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); display: flex; align-items: flex-start; gap: 15px; border-left: 4px solid #4299e1; } .step-number { background: linear-gradient(135deg, #4299e1, #3182ce); color: white; border-radius: 50%; width: 35px; height: 35px; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 1.1rem; flex-shrink: 0; } .step-content { flex: 1; } .step-text { font-size: 1.1rem; color: #2d3748; margin-bottom: 15px; line-height: 1.6; font-weight: 500; } .step-thinking-space { margin-top: 10px; } .step-thinking-space textarea { width: 100%; height: 60px; min-height: 60px; max-height: 100px; padding: 12px; border: 2px solid #e2e8f0; border-radius: 8px; font-family: inherit; font-size: 0.95rem; resize: none; transition: border-color 0.3s ease; background: rgba(247, 250, 252, 0.8); overflow-y: auto; } .step-thinking-space textarea:focus { outline: none; border-color: #4299e1; background: white; box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1); } .step-thinking-space textarea::placeholder { color: #a0aec0; font-style: italic; } .thinking-step::before { content: ''; position: absolute; left: -8px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; background: #667eea; border-radius: 50%; border: 3px solid white; } .thinking-step h4 { font-family: 'Fredoka One', 'Comic Sans MS', cursive, sans-serif; color: #4a5568; margin-bottom: 8px; font-size: 1.2rem; } .thinking-step p { color: #666; line-height: 1.6; } .thinking-step.highlight { background: linear-gradient(135deg, #fed7d7, #feb2b2); border-left-color: #f56565; } .thinking-step.highlight::before { background: #f56565; } /* AI-Powered Response Styles */ .encouragement-message { background: linear-gradient(135deg, #48bb78, #38a169); color: white; padding: 20px; border-radius: 15px; margin-bottom: 25px; text-align: center; box-shadow: 0 4px 15px rgba(72, 187, 120, 0.3); animation: bounceIn 0.6s ease-out; } .encouragement-text { font-size: 1.2rem; font-weight: 600; line-height: 1.4; } .encouragement-text small { display: block; font-size: 0.9rem; opacity: 0.9; margin-top: 5px; font-weight: 400; } /* Action Buttons */ .action-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; margin-top: 20px; } .action-btn { background: linear-gradient(135deg, #4299e1, #3182ce); color: white; border: none; padding: 12px 20px; border-radius: 20px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; gap: 8px; box-shadow: 0 4px 12px rgba(66, 153, 225, 0.3); } .action-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(66, 153, 225, 0.4); } .action-btn.research { background: linear-gradient(135deg, #ed8936, #dd6b20); box-shadow: 0 4px 12px rgba(237, 137, 54, 0.3); } .action-btn.experiment { background: linear-gradient(135deg, #38b2ac, #319795); box-shadow: 0 4px 12px rgba(56, 178, 172, 0.3); } .action-btn.discuss { background: linear-gradient(135deg, #9f7aea, #805ad5); box-shadow: 0 4px 12px rgba(159, 122, 234, 0.3); } /* Suggestions Section */ .suggestions-section { background: rgba(255, 255, 255, 0.95); border-radius: 20px; padding: 30px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); animation: fadeInUp 1s ease-out 0.9s both; } .suggestions-section h3 { font-family: 'Fredoka One', 'Comic Sans MS', cursive, sans-serif; font-size: 1.8rem; color: #4a5568; text-align: center; margin-bottom: 25px; } .suggestions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; } .suggestion-card { background: linear-gradient(135deg, #f7fafc, #edf2f7); border-radius: 15px; padding: 20px; text-align: center; cursor: pointer; transition: all 0.3s ease; border: 2px solid transparent; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); } .suggestion-card:hover { transform: translateY(-5px); border-color: #667eea; box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2); } .suggestion-card i, .suggestion-card .sun-icon, .suggestion-card .bird-icon, .suggestion-card .water-icon, .suggestion-card .computer-icon, .suggestion-card .moon-icon, .suggestion-card .rainbow-icon { font-size: 2rem; color: #667eea; margin-bottom: 10px; display: block; } .suggestion-card p { font-weight: 600; color: #4a5568; margin: 0; } /* Footer */ .footer { text-align: center; margin-top: 30px; padding: 20px; color: #f7fafc; } .footer p { font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; } .safety-note { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.9rem; opacity: 0.8; } /* Loading Animation */ .loading-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(102, 126, 234, 0.9); display: flex; flex-direction: column; justify-content: center; align-items: center; z-index: 9999; } .loading-spinner { position: relative; width: 100px; height: 100px; margin-bottom: 20px; } .gear { position: absolute; border: 4px solid #fff; border-radius: 50%; } .gear1 { width: 60px; height: 60px; top: 20px; left: 20px; animation: rotate 2s linear infinite; } .gear2 { width: 40px; height: 40px; top: 0; right: 0; animation: rotate 2s linear infinite reverse; } .gear3 { width: 30px; height: 30px; bottom: 0; left: 0; animation: rotate 1.5s linear infinite; } .loading-overlay p { color: white; font-size: 1.2rem; font-weight: 600; text-align: center; } /* Utility Classes */ .hidden { display: none !important; visibility: hidden !important; opacity: 0 !important; } /* Loading overlay should be hidden by default */ .loading-overlay.hidden { display: none !important; } /* Ensure proper z-index for loading overlay */ .loading-overlay { z-index: 9999; } /* Fallback for missing Font Awesome icons */ .fas.fa-brain::before { content: "🧠"; font-family: "Open Sans", sans-serif; } .fas.fa-flag-usa::before { content: "πŸ‡ΊπŸ‡Έ"; font-family: "Open Sans", sans-serif; } .fas.fa-flag::before { content: "πŸ‡©πŸ‡ͺ"; font-family: "Open Sans", sans-serif; } .fas.fa-rocket::before { content: "πŸš€"; font-family: "Open Sans", sans-serif; } .fas.fa-lightbulb::before { content: "πŸ’‘"; font-family: "Open Sans", sans-serif; } .fas.fa-search::before { content: "πŸ”"; font-family: "Open Sans", sans-serif; } .fas.fa-flask::before { content: "πŸ§ͺ"; font-family: "Open Sans", sans-serif; } .fas.fa-comments::before { content: "πŸ’¬"; font-family: "Open Sans", sans-serif; } .fas.fa-sun::before { content: "β˜€οΈ"; font-family: "Open Sans", sans-serif; } .fas.fa-dove::before { content: "πŸ•ŠοΈ"; font-family: "Open Sans", sans-serif; } .fas.fa-tint::before { content: "πŸ’§"; font-family: "Open Sans", sans-serif; } .fas.fa-computer::before { content: "πŸ’»"; font-family: "Open Sans", sans-serif; } .fas.fa-moon::before { content: "πŸŒ™"; font-family: "Open Sans", sans-serif; } .fas.fa-rainbow::before { content: "🌈"; font-family: "Open Sans", sans-serif; } .fas.fa-shield-alt::before { content: "πŸ›‘οΈ"; font-family: "Open Sans", sans-serif; } /* Unicode icon styles for fallback */ .flag-icon, .brain-icon, .rocket-icon, .lightbulb-icon, .research-icon, .experiment-icon, .discuss-icon, .sun-icon, .bird-icon, .water-icon, .computer-icon, .moon-icon, .rainbow-icon, .shield-icon { font-size: 1.2em; display: inline-block; margin-right: 5px; } .brain-icon { font-size: 3rem; text-shadow: 0 0 20px rgba(255, 255, 255, 0.5); animation: pulse 2s infinite; margin-right: 15px; } .suggestion-card .sun-icon, .suggestion-card .bird-icon, .suggestion-card .water-icon, .suggestion-card .computer-icon, .suggestion-card .moon-icon, .suggestion-card .rainbow-icon { font-size: 2rem; display: block; margin-bottom: 10px; margin-right: 0; } .lang-btn .flag-icon { margin-right: 5px; } /* Ensure icons display properly */ .fas { font-style: normal; font-variant: normal; text-rendering: auto; -webkit-font-smoothing: antialiased; } /* Animations */ @keyframes slideDown { from { opacity: 0; transform: translateY(-50px); } to { opacity: 1; transform: translateY(0); } } @keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } } @keyframes slideInLeft { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } } @keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-10px); } 60% { transform: translateY(-5px); } } @keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.1); } 100% { transform: scale(1); } } @keyframes eyeMove { 0%, 40%, 100% { transform: translate(0, 0); } 10% { transform: translate(-2px, 0); } 20% { transform: translate(2px, 0); } 30% { transform: translate(0, -2px); } } @keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } @keyframes bounceIn { 0% { opacity: 0; transform: scale(0.8) translateY(20px); } 60% { opacity: 1; transform: scale(1.05) translateY(-5px); } 100% { opacity: 1; transform: scale(1) translateY(0); } } /* Answer Reveal Section Styles */ .answer-reveal-section { margin-top: 30px; padding: 25px; background: rgba(255, 255, 255, 0.95); border-radius: 20px; border: 2px dashed #e2e8f0; text-align: center; } .reveal-prompt h4 { color: #4a5568; font-size: 1.3rem; margin-bottom: 10px; font-family: 'Fredoka One', 'Comic Sans MS', cursive, sans-serif; } .reveal-prompt p { color: #718096; margin-bottom: 20px; font-size: 1rem; line-height: 1.5; } .reveal-answer-btn { background: linear-gradient(135deg, #667eea, #764ba2); color: white; border: none; border-radius: 25px; padding: 15px 30px; font-size: 1.1rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 10px; box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3); } .reveal-answer-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4); background: linear-gradient(135deg, #5a67d8, #6b46c1); } .reveal-answer-btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; } .btn-icon { font-size: 1.2rem; } /* Answer Content Styles */ .answer-content { margin-top: 20px; } .answer-box { background: linear-gradient(135deg, #f7fafc, #edf2f7); border-radius: 20px; padding: 25px; border-left: 5px solid #48bb78; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); } .answer-header { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; flex-wrap: wrap; } .answer-icon { font-size: 1.5rem; } .answer-header h4 { color: #2d3748; font-size: 1.2rem; margin: 0; font-family: 'Fredoka One', 'Comic Sans MS', cursive, sans-serif; } .answer-source { background: rgba(72, 187, 120, 0.1); color: #38a169; padding: 4px 8px; border-radius: 12px; font-size: 0.8rem; margin-left: auto; } .answer-text { background: white; padding: 20px; border-radius: 15px; color: #2d3748; font-size: 1.1rem; line-height: 1.6; margin-bottom: 15px; border: 1px solid #e2e8f0; } .answer-footer { text-align: center; color: #4a5568; font-style: italic; } .answer-footer p { margin: 0; font-size: 1rem; } /* Animation for answer reveal */ @keyframes answerReveal { 0% { opacity: 0; transform: scale(0.95) translateY(20px); } 100% { opacity: 1; transform: scale(1) translateY(0); } } .answer-content:not(.hidden) { animation: answerReveal 0.6s ease-out; } /* Mobile responsiveness for answer section */ @media (max-width: 768px) { .answer-reveal-section { padding: 20px; margin-top: 20px; } .reveal-answer-btn { padding: 12px 25px; font-size: 1rem; } .answer-box { padding: 20px; } .answer-header { flex-direction: column; align-items: flex-start; gap: 8px; } .answer-source { margin-left: 0; } } /* Interactive Chat Interface Styles */ .conversation-container { max-width: 800px; margin: 0 auto; padding: 20px; background: white; border-radius: 20px; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); min-height: 400px; } .conversation-step { opacity: 0; transform: translateY(30px); transition: all 0.6s ease-out; margin-bottom: 25px; min-height: auto; /* Ensure no artificial height constraints */ } .conversation-step.visible { opacity: 1; transform: translateY(0); } .ai-message { background: linear-gradient(135deg, #48bb78, #38a169); border-radius: 20px 20px 20px 5px; padding: 20px; margin-bottom: 20px; color: white; box-shadow: 0 4px 15px rgba(72, 187, 120, 0.3); } .message-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; } .ai-avatar { font-size: 1.2em; } .ai-label { font-weight: 600; font-size: 0.9em; opacity: 0.9; } .message-content { line-height: 1.6; } .chat-message { margin-bottom: 15px; opacity: 0; transform: translateY(20px); transition: all 0.5s ease-out; max-width: 85%; } .chat-message.visible { opacity: 1; transform: translateY(0); } .chat-message.ai-message { align-self: flex-start; margin-right: auto; } .chat-message.user-message { align-self: flex-end; margin-left: auto; background: linear-gradient(135deg, #4299e1, #3182ce); border-radius: 20px 20px 5px 20px; padding: 15px 20px; color: white; box-shadow: 0 3px 10px rgba(66, 153, 225, 0.3); } .chat-message.ai-message { background: linear-gradient(135deg, #48bb78, #38a169); border-radius: 20px 20px 20px 5px; padding: 15px 20px; color: white; box-shadow: 0 3px 10px rgba(72, 187, 120, 0.3); } .chat-message .message-header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 0.85em; opacity: 0.9; } .chat-message .message-content { line-height: 1.5; } .chat-message .message-content p { margin: 0; word-wrap: break-word; } .chat-input-container { margin: 20px 0; opacity: 0; transform: translateY(10px); transition: all 0.3s ease-out; } .chat-input-container.visible { opacity: 1; transform: translateY(0); } .chat-input-container .input-area { display: flex; gap: 10px; align-items: flex-end; background: #f8f9fa; border-radius: 25px; padding: 10px 15px; border: 2px solid #e2e8f0; transition: border-color 0.3s ease; } .chat-input-container .input-area:focus-within { border-color: #4299e1; box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1); } .chat-input-container .input-area.answered { background: #f0f9ff; border-color: #48bb78; opacity: 0.7; } .chat-textarea { flex: 1; min-height: 20px; max-height: 100px; padding: 10px 0; border: none; background: transparent; font-family: inherit; font-size: 14px; resize: none; outline: none; overflow-y: auto; } .chat-textarea::placeholder { color: #a0aec0; font-style: italic; } .chat-input-container .reply-btn { background: linear-gradient(135deg, #4299e1, #3182ce); color: white; border: none; border-radius: 20px; padding: 8px 15px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; gap: 5px; white-space: nowrap; } .chat-input-container .reply-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(66, 153, 225, 0.4); } .chat-input-container .reply-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; } /* Ensure the conversation flows like a real chat */ .conversation-container { display: flex; flex-direction: column; max-height: 600px; overflow-y: auto; scroll-behavior: smooth; } /* Make reveal section part of the chat flow */ .reveal-section { margin-top: 30px; padding: 25px; background: linear-gradient(135deg, #4299e1, #3182ce); border-radius: 20px; color: white; text-align: center; opacity: 0; transform: translateY(20px); transition: all 0.5s ease-out; box-shadow: 0 5px 20px rgba(66, 153, 225, 0.3); } .reveal-section.visible { opacity: 1; transform: translateY(0); } .reveal-prompt p { margin-bottom: 15px; font-size: 1.2em; font-weight: 500; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); } .reveal-btn { background: rgba(255, 255, 255, 0.9); color: #3182ce; border: 2px solid rgba(255, 255, 255, 0.9); border-radius: 25px; padding: 15px 30px; font-size: 1.1em; font-weight: 700; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2); display: inline-flex; align-items: center; gap: 8px; } .reveal-btn:hover { background: white; transform: translateY(-2px); box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3); } /* Final Answer Styles - Better Readability */ .final-answer { background: white; border-radius: 15px; padding: 25px; margin: 20px 0; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15); border: 1px solid #e2e8f0; } .final-answer .answer-header { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 2px solid #f7fafc; flex-wrap: wrap; } .final-answer .answer-icon { font-size: 1.8rem; background: linear-gradient(135deg, #fbbf24, #f59e0b); padding: 8px; border-radius: 10px; color: white; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); } .final-answer h4 { color: #1a202c; font-size: 1.4rem; font-weight: 700; margin: 0; flex: 1; } .final-answer .answer-source { background: linear-gradient(135deg, #48bb78, #38a169); color: white; padding: 6px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; white-space: nowrap; } .final-answer .answer-text { color: #2d3748; font-size: 1.1rem; line-height: 1.7; margin-bottom: 20px; background: #f8f9fa; padding: 20px; border-radius: 10px; border-left: 4px solid #48bb78; } .final-answer .answer-footer { background: linear-gradient(135deg, #e6fffa, #b2f5ea); border-radius: 10px; padding: 15px 20px; text-align: center; } .final-answer .answer-footer p { color: #234e52; font-weight: 600; margin: 0; font-size: 1.1rem; } /* Fallback answer styles */ .final-answer.fallback { background: linear-gradient(135deg, #fed7d7, #feb2b2); border-left-color: #e53e3e; } .final-answer.fallback .answer-text { background: rgba(255, 255, 255, 0.8); border-left-color: #e53e3e; } /* Visual Content Integration */ .visual-step { margin: 20px 0; } .visual-step .ai-message { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); border: 2px solid rgba(255, 255, 255, 0.3); } .visual-step .message-content { padding: 20px; } .visual-step .message-content p { margin-bottom: 15px; font-weight: 600; color: white; text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); } /* Enhanced conversation styling */ .conversation-container { max-width: 100%; margin: 0 auto; } .conversation-step { opacity: 0; transform: translateY(20px); transition: all 0.6s ease-out; margin-bottom: 20px; } .conversation-step.visible { opacity: 1; transform: translateY(0); } /* Responsive visual content */ @media (max-width: 768px) { .visual-concept { margin: 10px -10px; border-radius: 10px; } .visual-step .message-content { padding: 15px; } }