Spaces:
Running
Running
| .gradio-container { | |
| background: linear-gradient(135deg, #fefefe 0%, #f8f6f0 100%) ; | |
| font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | |
| } | |
| .main-header { | |
| background: rgba(255, 255, 255, 0.95); | |
| border-radius: 15px; | |
| padding: 20px; | |
| margin: 10px 0; | |
| box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); | |
| backdrop-filter: blur(10px); | |
| border: 1px solid rgba(255, 255, 255, 0.2); | |
| } | |
| .video-container { | |
| background: rgba(255, 255, 255, 0.9); | |
| border-radius: 12px; | |
| padding: 20px; | |
| box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04); | |
| backdrop-filter: blur(8px); | |
| border: 1px solid rgba(255, 255, 255, 0.3); | |
| } | |
| .chat-container { | |
| background: rgba(255, 255, 255, 0.9); | |
| border-radius: 12px; | |
| padding: 20px; | |
| box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04); | |
| backdrop-filter: blur(8px); | |
| border: 1px solid rgba(255, 255, 255, 0.3); | |
| } | |
| .chat-container textarea { | |
| border: 3px solid #4285f4 ; | |
| border-radius: 12px ; | |
| padding: 15px ; | |
| font-size: 16px ; | |
| font-weight: 500 ; | |
| background: #ffffff ; | |
| box-shadow: 0 4px 20px rgba(66, 133, 244, 0.15) ; | |
| transition: all 0.3s ease ; | |
| min-height: 50px ; | |
| display: flex ; | |
| align-items: center ; | |
| justify-content: center ; | |
| resize: none ; | |
| } | |
| .chat-container textarea:focus { | |
| border-color: #1a73e8 ; | |
| box-shadow: 0 6px 25px rgba(66, 133, 244, 0.3), 0 0 0 3px rgba(66, 133, 244, 0.1) ; | |
| outline: none ; | |
| transform: translateY(-2px) ; | |
| } | |
| .chat-container textarea::placeholder { | |
| color: #5f6368 ; | |
| font-weight: 400 ; | |
| font-size: 15px ; | |
| } | |
| .chat-container .gr-text-input { | |
| border: none ; | |
| background: transparent ; | |
| } | |
| .instructions-container { | |
| background: rgba(255, 255, 255, 0.9); | |
| border-radius: 12px; | |
| padding: 25px; | |
| margin: 20px 0; | |
| box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04); | |
| backdrop-filter: blur(8px); | |
| border: 1px solid rgba(255, 255, 255, 0.3); | |
| } | |
| .feature-card { | |
| background: linear-gradient(135deg, #ff6b6b, #feca57); | |
| border-radius: 10px; | |
| padding: 15px; | |
| margin: 10px 0; | |
| color: white; | |
| box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); | |
| } | |
| .status-indicator { | |
| display: inline-block; | |
| width: 10px; | |
| height: 10px; | |
| background: #4CAF50; | |
| border-radius: 50%; | |
| margin-right: 8px; | |
| animation: pulse 2s infinite; | |
| } | |
| @keyframes pulse { | |
| 0% { opacity: 1; } | |
| 50% { opacity: 0.5; } | |
| 100% { opacity: 1; } | |
| } | |
| .title-emoji { | |
| font-size: 2em; | |
| margin-right: 10px; | |
| vertical-align: middle; | |
| } | |
| /* Hide Gradio branding and footer elements */ | |
| .gradio-container footer { | |
| display: none ; | |
| } | |
| /* Hide "Use via API" button */ | |
| .gradio-container .api-docs { | |
| display: none ; | |
| } | |
| /* Hide "Built with Gradio" logo */ | |
| .gradio-container .built-with { | |
| display: none ; | |
| } | |
| /* Hide Settings button */ | |
| .gradio-container .settings { | |
| display: none ; | |
| } | |
| /* Hide the entire footer area */ | |
| .gradio-container .footer { | |
| display: none ; | |
| } | |
| /* Alternative selectors for different Gradio versions */ | |
| .gradio-container div[data-testid="footer"] { | |
| display: none ; | |
| } | |
| .gradio-container .gradio-footer { | |
| display: none ; | |
| } | |
| /* Hide any elements containing gradio branding text */ | |
| .gradio-container a[href*="gradio"] { | |
| display: none ; | |
| } | |
| .gradio-container div:has-text("Built with") { | |
| display: none ; | |
| } | |
| .gradio-container div:has-text("Use via API") { | |
| display: none ; | |
| } | |
| /* Ultra-sleek header styling with modern design */ | |
| .ultra-sleek-header { | |
| text-align: center; | |
| padding: 20px 20px 5px 20px; | |
| margin: 0; | |
| background: transparent; | |
| border: none; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .ultra-sleek-header::before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| bottom: 0; | |
| background: radial-gradient(ellipse at center top, rgba(99, 102, 241, 0.05) 0%, transparent 70%); | |
| pointer-events: none; | |
| } | |
| .badge-icon { | |
| font-size: 1rem; | |
| animation: float 3s ease-in-out infinite; | |
| } | |
| @keyframes float { | |
| 0%, | |
| 100% { | |
| transform: translateY(0px); | |
| } | |
| 50% { | |
| transform: translateY(-4px); | |
| } | |
| } | |
| .hero-title { | |
| font-size: 4rem; | |
| font-weight: 800; | |
| margin: 10px 0 5px 0; | |
| line-height: 1.1; | |
| letter-spacing: -0.03em; | |
| position: relative; | |
| z-index: 1; | |
| } | |
| .title-primary { | |
| background: linear-gradient(45deg, | |
| #4169E1 0%, | |
| #8A2BE2 50%, | |
| #E91E63 100%); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| background-clip: text; | |
| position: relative; | |
| } | |
| .title-primary::after { | |
| content: ''; | |
| position: absolute; | |
| bottom: -8px; | |
| left: 0; | |
| right: 0; | |
| height: 4px; | |
| background: linear-gradient(90deg, #6366f1, #8b5cf6, #d946ef); | |
| border-radius: 2px; | |
| opacity: 0.6; | |
| } | |
| .title-accent { | |
| background: linear-gradient(135deg, #1e293b 0%, #0d1e35 100%); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| background-clip: text; | |
| position: relative; | |
| margin-left: 12px; | |
| } | |
| .hero-subtitle { | |
| font-size: 1.25rem; | |
| color: #64748b; | |
| font-weight: 400; | |
| margin: 15px auto 20px auto; | |
| line-height: 1.6; | |
| max-width: 580px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 12px; | |
| } | |
| .status-dot { | |
| display: inline-block; | |
| width: 8px; | |
| height: 8px; | |
| background: #10b981; | |
| border-radius: 50%; | |
| position: relative; | |
| flex-shrink: 0; | |
| } | |
| .status-dot::before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| width: 8px; | |
| height: 8px; | |
| background: #10b981; | |
| border-radius: 50%; | |
| animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite; | |
| transform-origin: center; | |
| } | |
| @keyframes ping { | |
| 75%, | |
| 100% { | |
| transform: scale(2); | |
| opacity: 0; | |
| } | |
| } | |
| .feature-pills { | |
| display: flex; | |
| justify-content: center; | |
| gap: 12px; | |
| margin-top: 20px; | |
| flex-wrap: wrap; | |
| } | |
| .pill { | |
| background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.9)); | |
| border: 1px solid rgba(148, 163, 184, 0.15); | |
| border-radius: 25px; | |
| padding: 6px 14px; | |
| font-size: 0.8rem; | |
| font-weight: 600; | |
| color: #475569; | |
| backdrop-filter: blur(12px); | |
| transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); | |
| white-space: nowrap; | |
| box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); | |
| letter-spacing: 0.025em; | |
| } | |
| .pill:hover { | |
| background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.05)); | |
| border-color: rgba(99, 102, 241, 0.25); | |
| color: #6366f1; | |
| transform: translateY(-1px) scale(1.02); | |
| box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15), 0 2px 4px rgba(0, 0, 0, 0.05); | |
| } | |
| /* Ensure proper vertical alignment for chat input row */ | |
| .items-center { | |
| display: flex ; | |
| align-items: center ; | |
| gap: 8px ; | |
| } | |
| /* Responsive design for mobile */ | |
| @media (max-width: 768px) { | |
| .ultra-sleek-header { | |
| padding: 15px 15px 20px 15px; | |
| } | |
| .hero-title { | |
| font-size: 3rem; | |
| } | |
| .hero-subtitle { | |
| font-size: 1.125rem; | |
| padding: 0 15px; | |
| flex-direction: column; | |
| gap: 8px; | |
| } | |
| .feature-pills { | |
| gap: 8px; | |
| margin-top: 24px; | |
| } | |
| .pill { | |
| font-size: 0.8rem; | |
| padding: 6px 12px; | |
| } | |
| } | |
| @media (max-width: 480px) { | |
| .hero-title { | |
| font-size: 2.5rem; | |
| line-height: 1.2; | |
| } | |
| .title-accent { | |
| margin-left: 8px; | |
| } | |
| } | |
| .gradio-container .chatbot .message-wrap button[aria-label*="clear" i], | |
| .gradio-container .chatbot .message-wrap button[title*="clear" i] { | |
| display: none ; | |
| } | |
| /* Target any button with clear-related text content */ | |
| button:contains("Clear"), | |
| button:contains("clear"), | |
| button:contains("CLEAR") { | |
| display: none ; | |
| } | |
| /* Target buttons in chat interfaces specifically */ | |
| .chat-container button[aria-label*="clear" i], | |
| .chatbot button[aria-label*="clear" i], | |
| .message-wrap button[aria-label*="clear" i] { | |
| display: none ; | |
| } | |
| /* Hide buttons with specific SVG icons that might represent clear/delete */ | |
| button svg[data-testid*="clear"], | |
| button svg[data-testid*="delete"], | |
| button svg[data-testid*="trash"] { | |
| display: none ; | |
| } | |
| /* Hide parent button if it contains clear-related SVG */ | |
| button:has(svg[data-testid*="clear"]), | |
| button:has(svg[data-testid*="delete"]), | |
| button:has(svg[data-testid*="trash"]) { | |
| display: none ; | |
| } |