Spaces:
Sleeping
Sleeping
| .main-header { | |
| text-align: center; | |
| padding: 2rem 0; | |
| background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); | |
| color: white; | |
| margin: -1rem -1rem 2rem -1rem; | |
| border-radius: 10px; | |
| box-shadow: 0 4px 15px 0 rgba(31, 38, 135, 0.37); | |
| } | |
| .stApp { | |
| background: var(--background-color); | |
| } | |
| /* Dark theme compatible containers */ | |
| .query-result { | |
| background: rgba(255, 255, 255, 0.05); | |
| backdrop-filter: blur(10px); | |
| border: 1px solid rgba(255, 255, 255, 0.1); | |
| padding: 1.5rem; | |
| border-radius: 15px; | |
| margin: 1rem 0; | |
| color: var(--text-color); | |
| } | |
| .source-doc { | |
| background: rgba(31, 119, 180, 0.1); | |
| backdrop-filter: blur(5px); | |
| padding: 1rem; | |
| border-left: 4px solid #1f77b4; | |
| border-radius: 8px; | |
| margin: 0.5rem 0; | |
| color: var(--text-color); | |
| } | |
| .share-link { | |
| background: rgba(46, 204, 113, 0.1); | |
| backdrop-filter: blur(5px); | |
| padding: 1rem; | |
| border-radius: 10px; | |
| border-left: 4px solid #2ecc71; | |
| color: var(--text-color); | |
| } | |
| /* Model indicator boxes */ | |
| .model-info { | |
| background: rgba(52, 152, 219, 0.15); | |
| backdrop-filter: blur(10px); | |
| padding: 15px; | |
| border-radius: 12px; | |
| border-left: 4px solid #3498db; | |
| margin: 10px 0; | |
| } | |
| /* Language selection enhancement */ | |
| .language-selection { | |
| background: rgba(155, 89, 182, 0.1); | |
| backdrop-filter: blur(10px); | |
| padding: 15px; | |
| border-radius: 12px; | |
| border-left: 4px solid #9b59b6; | |
| margin: 10px 0; | |
| } | |
| /* Upload area enhancement */ | |
| .stFileUploader { | |
| background: rgba(230, 126, 34, 0.1); | |
| backdrop-filter: blur(10px); | |
| padding: 20px; | |
| border-radius: 15px; | |
| border: 2px dashed #e67e22; | |
| } | |
| .stFileUploader label { | |
| font-size: 1.2rem; | |
| font-weight: bold; | |
| color: var(--text-color); | |
| } | |
| /* Button enhancements */ | |
| .stButton > button { | |
| background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); | |
| color: white; | |
| border: none; | |
| border-radius: 10px; | |
| padding: 0.6rem 1.5rem; | |
| font-weight: 600; | |
| transition: all 0.3s ease; | |
| box-shadow: 0 4px 15px 0 rgba(31, 38, 135, 0.37); | |
| } | |
| .stButton > button:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 6px 20px 0 rgba(31, 38, 135, 0.5); | |
| } | |
| /* Sidebar enhancements */ | |
| .css-1d391kg { | |
| background: rgba(255, 255, 255, 0.02); | |
| backdrop-filter: blur(10px); | |
| } | |
| /* Info boxes */ | |
| .stInfo { | |
| background: rgba(52, 152, 219, 0.1); | |
| backdrop-filter: blur(10px); | |
| border-left: 4px solid #3498db; | |
| } | |
| .stSuccess { | |
| background: rgba(46, 204, 113, 0.1); | |
| backdrop-filter: blur(10px); | |
| border-left: 4px solid #2ecc71; | |
| } | |
| .stWarning { | |
| background: rgba(241, 196, 15, 0.1); | |
| backdrop-filter: blur(10px); | |
| border-left: 4px solid #f1c40f; | |
| } | |
| .stError { | |
| background: rgba(231, 76, 60, 0.1); | |
| backdrop-filter: blur(10px); | |
| border-left: 4px solid #e74c3c; | |
| } | |