html, body, .gradio-container { max-height: 100vh !important; height: 100vh !important; overflow-y: auto !important; margin: 0; padding: 0; } /* 2. Ensure nested layout structures handle their own overflowing content */ .gradio-container-5-0-0, .gradio-container > .wrap, #component-0 { height: 100% !important; overflow-y: auto !important; } /* 3. If you have a sidebar or main gallery grid, make sure they don't force a page stretch */ .gradio-row, .gradio-main, .grid { max-height: 100% !important; } /* Sidebar Container */ #custom-sidebar { background-color: #0f172a !important; /* Deep Slate 900 */ border-right: 1px solid #1e293b !important; /* Slate 800 */ padding: 24px 16px !important; display: flex; flex-direction: column; height: 100vh !important; /* Ensures it spans full viewport height */ box-shadow: 4px 0 24px rgba(0, 0, 0, 0.3) !important; } /* App Brand Header */ .brand-header { margin-bottom: 32px; padding-left: 12px; border-bottom: 1px solid #1e293b; padding-bottom: 20px; } .brand-header h1 { font-size: 1.6rem !important; font-weight: 800 !important; background: linear-gradient(135deg, #f8fafc 0%, #94a3b8 100%); /* Subtle gradient */ -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 6px !important; letter-spacing: -0.5px; } .brand-header p { font-size: 0.7rem; color: #64748b; /* Slate 500 */ text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; margin: 0; } /* Modern Navigation Buttons */ .nav-btn { text-align: left !important; justify-content: flex-start !important; background: transparent !important; border: 1px solid transparent !important; box-shadow: none !important; color: #94a3b8 !important; /* Slate 400 */ font-weight: 500 !important; font-size: 0.95rem !important; padding: 10px 16px !important; border-radius: 10px !important; transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important; /* Smooth easing */ margin-bottom: 8px !important; display: flex !important; align-items: center !important; gap: 10px !important; /* Perfect emoji/text alignment */ } .nav-btn:hover { background-color: #1e293b !important; /* Slate 800 */ color: #f8fafc !important; /* Slate 50 */ border-color: #334155 !important; /* Slate 700 */ transform: translateX(4px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important; } .nav-btn:active { transform: translateX(2px) scale(0.98); /* Subtle click feedback */ } .stats-container .svelte-1b6s6s { background: transparent !important; border: none !important; box-shadow: none !important; padding: 0 !important; margin: 0 !important; font-size: 1rem !important; } /* Main Content Area (Dark Theme Match) */ .main-content { padding: 32px 48px; max-width: 1200px; margin: 0 auto; background-color: #020617 !important; /* Slate 950 (slightly darker than sidebar) */ color: #e2e8f0 !important; min-height: 100vh; } /* Dark Settings Card */ .settings-card { background-color: #1e293b !important; /* Surface level 1 */ border: 1px solid #334155 !important; /* Dark Slate Border */ border-radius: 12px !important; padding: 24px !important; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3) !important; display: flex; flex-direction: column; justify-content: space-between; } .settings-card h3 { margin-top: 0 !important; font-size: 1.1rem !important; color: #f8fafc !important; font-weight: 600 !important; } /* Customize Upload Area */ .upload-zone { border: 2px dashed #475569 !important; border-radius: 12px !important; background-color: #0f172a !important; /* Surface level 2 */ transition: border-color 0.2s ease-in-out !important; } .upload-zone:hover { border-color: #10b981 !important; /* Emerald on hover */ } /* Ingest Console Log */ .console-wrapper { margin-top: 25px; } .console-wrapper h3 { font-size: 1rem !important; color: #94a3b8 !important; font-weight: 600 !important; margin-bottom: 8px !important; } .status-console textarea { font-family: 'Fira Code', 'Courier New', Courier, monospace !important; background-color: #020617 !important; /* Near Pitch Black */ color: #34d399 !important; /* Terminal green */ border: 1px solid #1e293b !important; border-radius: 8px !important; padding: 12px !important; font-size: 0.9rem !important; line-height: 1.5 !important; } .selection-status-box { background-color: #1e293b !important; /* Surface Level 1 Dark background */ border: 1px solid #334155 !important; /* Medium slate outline */ border-radius: 8px !important; padding: 16px 20px !important; width: 100% !important; /* Forces component to span full screen width */ margin-bottom: 12px !important; box-sizing: border-box !important; } /* Cleaner, separate horizontal row for action buttons */ .selection-buttons-row { gap: 10px !important; margin-bottom: 15px !important; } .about-hero { background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important; border: 1px solid #334155 !important; border-radius: 12px !important; padding: 30px !important; margin-bottom: 25px !important; } .about-hero h1 { font-size: 2.2rem !important; font-weight: 800 !important; color: #f8fafc !important; margin-bottom: 6px !important; } .about-hero h3 { font-size: 1.1rem !important; font-weight: 500 !important; color: #94a3b8 !important; margin-top: 0 !important; } /* Technology Badges */ .tech-badge { display: inline-block; background-color: #064e3b !important; /* Dark forest green background */ color: #34d399 !important; /* Light mint text */ padding: 4px 12px; border-radius: 9999px; font-size: 0.75rem; font-weight: 700; margin-right: 6px; margin-bottom: 10px; border: 1px solid #047857; letter-spacing: 0.5px; } /* Steps Grid Cards */ .about-card { background-color: #1e293b !important; border: 1px solid #334155 !important; border-radius: 10px !important; padding: 24px !important; height: 100%; transition: transform 0.2s ease, border-color 0.2s ease !important; } .about-card:hover { transform: translateY(-3px); border-color: #10b981 !important; /* Emerald highlight on hover */ } .about-card-icon { font-size: 2rem; margin-bottom: 12px; line-height: 1; } /* Targets Markdown inside cards to avoid global conflicts */ .about-card h3 { color: #f8fafc !important; font-size: 1.15rem !important; font-weight: 700 !important; margin-top: 0 !important; margin-bottom: 8px !important; } .about-card p { color: #cbd5e1 !important; font-size: 0.9rem !important; line-height: 1.5 !important; margin: 0 !important; } /* Hackathon Announcement Footer */ .hackathon-footer { margin-top: 35px !important; background-color: #020617 !important; border: 1px solid #1e293b !important; padding: 16px 24px !important; border-radius: 8px !important; align-items: center !important; gap: 15px !important; }