Spaces:
Sleeping
Sleeping
| /* ======================================== | |
| RESET & BASE STYLES | |
| ======================================== */ | |
| * { | |
| box-sizing: border-box; | |
| } | |
| html { | |
| scroll-behavior: smooth; | |
| } | |
| body, html, #app, body > div, .gradio-container { | |
| background-color: #0b0e18 ; | |
| margin: 0 ; | |
| padding: 0 ; | |
| font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif ; | |
| width: 100% ; | |
| min-height: 100vh ; | |
| overflow-x: hidden ; | |
| } | |
| /* Remove Gradio's default flexbox centering */ | |
| #app, body > div, .gradio-container { | |
| display: block ; | |
| align-items: unset ; | |
| justify-content: unset ; | |
| } | |
| /* ======================================== | |
| MAIN CONTAINER | |
| ======================================== */ | |
| #app-container { | |
| background-color: #1d3451 ; | |
| padding: 40px ; | |
| border-radius: 12px ; | |
| box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4) ; | |
| max-width: 800px ; | |
| width: calc(100% - 40px) ; | |
| margin: 20px auto ; | |
| color: white ; | |
| } | |
| /* ======================================== | |
| TYPOGRAPHY | |
| ======================================== */ | |
| #app-container h4, | |
| #app-container p, | |
| #app-container ol, | |
| #app-container li, | |
| #app-container strong { | |
| font-size: 16px; | |
| line-height: 1.6; | |
| color: white ; | |
| } | |
| #app-title { | |
| font-size: 42px; | |
| background: linear-gradient(to left, #ff416c, #ff4b2b); | |
| -webkit-background-clip: text; | |
| background-clip: text; | |
| color: transparent; | |
| font-weight: 800; | |
| margin-bottom: 5px; | |
| text-align: center; | |
| } | |
| #app-subtitle { | |
| font-size: 24px; | |
| background: linear-gradient(to left, #ff416c, #ff4b2b); | |
| -webkit-background-clip: text; | |
| background-clip: text; | |
| color: transparent; | |
| font-weight: 600; | |
| margin-top: 0; | |
| text-align: center; | |
| } | |
| #intro-text { | |
| font-size: 16px; | |
| color: white ; | |
| margin-top: 20px; | |
| line-height: 1.6; | |
| } | |
| /* ======================================== | |
| BUTTONS & LINKS | |
| ======================================== */ | |
| #learn-more-button { | |
| display: flex; | |
| justify-content: center; | |
| margin-top: 5px; | |
| } | |
| .button-link { | |
| background: linear-gradient(to left, #ff416c, #ff4b2b); | |
| color: white ; | |
| padding: 10px 20px; | |
| text-decoration: none; | |
| font-weight: bold; | |
| border-radius: 8px; | |
| transition: opacity 0.3s; | |
| } | |
| .button-link:hover { | |
| opacity: 0.85; | |
| } | |
| #run-btn { | |
| background: linear-gradient(to left, #ff416c, #ff4b2b); | |
| color: white ; | |
| font-weight: bold; | |
| border: none; | |
| padding: 10px 20px; | |
| border-radius: 8px; | |
| cursor: pointer; | |
| transition: background 0.3s ease; | |
| } | |
| #run-btn:hover { | |
| filter: brightness(1.1); | |
| } | |
| /* ======================================== | |
| INPUT CONTAINER & FORMS | |
| ======================================== */ | |
| #input-container { | |
| background-color: #1f2937; | |
| padding: 20px; | |
| border-radius: 10px; | |
| box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); | |
| } | |
| .label-box label { | |
| background-color: #1f2937; | |
| padding: 4px 10px; | |
| border-radius: 8px; | |
| display: inline-block; | |
| margin-bottom: 6px; | |
| } | |
| .label-box span { | |
| color: white ; | |
| } | |
| .label-box { | |
| background-color: #1f2937; | |
| color: white; | |
| padding: 4px 10px; | |
| border-radius: 8px; | |
| display: inline-block; | |
| } | |
| #input-container > div { | |
| background: #1f2937 ; | |
| background-color: #1f2937 ; | |
| border: none ; | |
| box-shadow: none ; | |
| padding: 10px ; | |
| margin: 0 ; | |
| } | |
| .row-spacer { | |
| margin-top: 24px ; | |
| } | |
| .column-gap { | |
| gap: 16px; | |
| } | |
| /* ======================================== | |
| FORM INPUTS | |
| ======================================== */ | |
| textarea, input[type="text"] { | |
| background-color: #374151 ; | |
| color: white ; | |
| } | |
| #custom-dropdown .wrap { | |
| background-color: #374151 ; | |
| border-radius: 6px; | |
| } | |
| input[role="listbox"] { | |
| color: white ; | |
| background-color: #374151 ; | |
| } | |
| .dropdown-arrow { | |
| color: white ; | |
| } | |
| ul[role="listbox"] { | |
| background-color: #111827 ; | |
| color: white ; | |
| border-radius: 6px; | |
| padding: 4px 0; | |
| } | |
| ul[role="listbox"] li { | |
| color: white ; | |
| padding: 8px 12px; | |
| } | |
| ul[role="listbox"] li:hover { | |
| background-color: #1f2937 ; | |
| } | |
| ul[role="listbox"] li[aria-selected="true"] { | |
| background-color: #111827 ; | |
| color: white ; | |
| } | |
| input[type="number"] { | |
| background-color: #374151; | |
| color: white ; | |
| } | |
| #business-problem-box { | |
| margin-left: 0 ; | |
| margin-right: 0 ; | |
| padding-left: 0 ; | |
| padding-right: 0 ; | |
| width: 100% ; | |
| } | |
| #business-problem-box textarea::placeholder { | |
| color: #9ca3af ; | |
| } | |
| /* ======================================== | |
| DOWNLOAD BOX | |
| ======================================== */ | |
| #download-box { | |
| background-color: #1f2937; | |
| border: 1px solid #3b3b3b; | |
| border-radius: 8px; | |
| padding: 10px; | |
| margin-top: 16px; | |
| font-weight: 500; | |
| } | |
| #download-box a { | |
| color: #00c3ff ; | |
| text-decoration: underline; | |
| font-weight: bold; | |
| } | |
| #download-box td.filename { | |
| color: rgb(255, 255, 255) ; | |
| } | |
| #download-box .file-preview-holder, | |
| #download-box .file-preview, | |
| #download-box table, | |
| #download-box tr, | |
| #download-box td { | |
| background-color: #1f2937 ; | |
| } | |
| #download-box > label { | |
| display: none ; | |
| } | |
| /* ======================================== | |
| VERSION & FOOTER | |
| ======================================== */ | |
| .version-banner { | |
| text-align: center; | |
| font-size: 0.9em; | |
| margin-top: 20px; | |
| } | |
| /* ======================================== | |
| FLOATING CHAT BUTTON | |
| ======================================== */ | |
| .floating-chat-btn { | |
| position: fixed ; | |
| bottom: 30px ; | |
| right: 30px ; | |
| display: flex ; | |
| align-items: center ; | |
| gap: 0.5rem ; | |
| background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) ; | |
| color: white ; | |
| padding: 1rem 1.75rem ; | |
| border-radius: 50px ; | |
| text-decoration: none ; | |
| font-weight: 600 ; | |
| font-size: 1rem ; | |
| box-shadow: 0 4px 20px rgba(102, 126, 234, 0.5) ; | |
| z-index: 9999 ; | |
| transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) ; | |
| white-space: nowrap ; | |
| } | |
| .floating-chat-btn:hover { | |
| transform: translateY(-3px) scale(1.02) ; | |
| box-shadow: 0 8px 24px rgba(255, 65, 108, 0.7) ; | |
| text-decoration: none ; | |
| color: white ; | |
| } | |
| .floating-chat-btn:active { | |
| transform: translateY(-1px) scale(0.98) ; | |
| } | |
| /* ======================================== | |
| TABLET RESPONSIVE (max-width: 768px) | |
| ======================================== */ | |
| @media (max-width: 768px) { | |
| #app-container { | |
| width: calc(100% - 20px) ; | |
| padding: 20px ; | |
| margin: 10px auto ; | |
| border-radius: 8px ; | |
| } | |
| #app-title { | |
| font-size: 32px ; | |
| margin-bottom: 8px ; | |
| } | |
| #app-subtitle { | |
| font-size: 18px ; | |
| margin-bottom: 15px ; | |
| } | |
| #intro-text { | |
| font-size: 14px ; | |
| margin-top: 15px ; | |
| } | |
| #intro-text h4 { | |
| font-size: 16px ; | |
| margin-top: 12px ; | |
| margin-bottom: 8px ; | |
| } | |
| #intro-text p, | |
| #app-container p, | |
| #app-container li { | |
| font-size: 14px ; | |
| } | |
| #learn-more-button { | |
| margin-top: 15px ; | |
| margin-bottom: 15px ; | |
| } | |
| .button-link { | |
| padding: 12px 24px ; | |
| font-size: 14px ; | |
| width: 100% ; | |
| text-align: center ; | |
| display: block ; | |
| } | |
| #input-container { | |
| padding: 15px ; | |
| margin-top: 15px ; | |
| } | |
| .label-box label, | |
| .label-box span { | |
| font-size: 14px ; | |
| } | |
| /* Make rows stack vertically */ | |
| .column-gap { | |
| flex-direction: column ; | |
| gap: 12px ; | |
| } | |
| .row-spacer { | |
| margin-top: 12px ; | |
| } | |
| /* Full width columns */ | |
| #input-container .column { | |
| width: 100% ; | |
| min-width: 100% ; | |
| } | |
| textarea, input[type="text"] { | |
| font-size: 16px ; | |
| padding: 12px ; | |
| } | |
| #business-problem-box textarea { | |
| min-height: 100px ; | |
| } | |
| #custom-dropdown .wrap { | |
| padding: 10px ; | |
| } | |
| input[role="listbox"] { | |
| font-size: 16px ; | |
| padding: 12px ; | |
| } | |
| input[type="range"] { | |
| width: 100% ; | |
| } | |
| #run-btn { | |
| width: 100% ; | |
| padding: 14px 20px ; | |
| font-size: 16px ; | |
| margin-top: 15px ; | |
| } | |
| #download-box { | |
| margin-top: 15px ; | |
| padding: 12px ; | |
| } | |
| .version-banner { | |
| font-size: 0.8em ; | |
| padding: 10px ; | |
| margin-top: 20px ; | |
| } | |
| .floating-chat-btn { | |
| bottom: 20px ; | |
| right: 20px ; | |
| padding: 12px 20px ; | |
| font-size: 14px ; | |
| border-radius: 40px ; | |
| } | |
| } | |
| /* ======================================== | |
| PHONE RESPONSIVE (max-width: 480px) | |
| ======================================== */ | |
| @media (max-width: 480px) { | |
| #app-container { | |
| width: calc(100% - 10px) ; | |
| padding: 15px ; | |
| margin: 5px auto ; | |
| } | |
| #app-title { | |
| font-size: 28px ; | |
| margin-bottom: 5px ; | |
| } | |
| #app-subtitle { | |
| font-size: 16px ; | |
| } | |
| #intro-text { | |
| font-size: 13px ; | |
| } | |
| #intro-text h4 { | |
| font-size: 15px ; | |
| } | |
| #intro-text p, | |
| #app-container p, | |
| #app-container li { | |
| font-size: 13px ; | |
| } | |
| .button-link { | |
| padding: 10px 20px ; | |
| font-size: 13px ; | |
| } | |
| #input-container { | |
| padding: 12px ; | |
| } | |
| .label-box label, | |
| .label-box span { | |
| font-size: 13px ; | |
| } | |
| textarea, input[type="text"], input[role="listbox"] { | |
| font-size: 15px ; | |
| padding: 10px ; | |
| } | |
| #run-btn { | |
| padding: 12px 18px ; | |
| font-size: 15px ; | |
| } | |
| .floating-chat-btn { | |
| bottom: 15px ; | |
| right: 15px ; | |
| padding: 10px 16px ; | |
| font-size: 13px ; | |
| border-radius: 35px ; | |
| } | |
| #app-container ul { | |
| padding-left: 20px ; | |
| } | |
| #app-container ul li { | |
| margin-bottom: 6px ; | |
| } | |
| } | |