Spaces:
Sleeping
Sleeping
| body { | |
| font-family: Arial, sans-serif; | |
| max-width: 800px; | |
| margin: 0 auto; | |
| padding: 20px; | |
| } | |
| .container { | |
| max-width: 800px; | |
| margin: 0 auto; | |
| padding: 20px; | |
| } | |
| .query-section { | |
| display: none; | |
| } | |
| #responseSection { | |
| display: none; | |
| margin-top: 20px; | |
| border-top: 1px solid #ccc; | |
| padding-top: 20px; | |
| } | |
| textarea { | |
| width: 100%; | |
| height: 100px; | |
| } | |
| button { | |
| padding: 10px 20px; | |
| background-color: #007bff; | |
| color: white; | |
| border: none; | |
| border-radius: 4px; | |
| cursor: pointer; | |
| } | |
| button:disabled { | |
| background-color: #ccc; | |
| } | |
| .context { | |
| background-color: #f8f9fa; | |
| padding: 10px; | |
| margin-top: 10px; | |
| border-radius: 4px; | |
| } | |
| .loading { | |
| opacity: 0.5; | |
| pointer-events: none; | |
| } | |
| .spinner { | |
| display: none; | |
| } | |
| .loading .spinner { | |
| display: inline; | |
| } | |
| /* Switch styles */ | |
| .switch-container { | |
| margin: 10px 0; | |
| } | |
| .switch { | |
| position: relative; | |
| display: inline-block; | |
| width: 60px; | |
| height: 34px; | |
| } | |
| .switch input { | |
| opacity: 0; | |
| width: 0; | |
| height: 0; | |
| } | |
| .slider { | |
| position: absolute; | |
| cursor: pointer; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| bottom: 0; | |
| background-color: #ccc; | |
| transition: .4s; | |
| border-radius: 34px; | |
| } | |
| .slider:before { | |
| position: absolute; | |
| content: ""; | |
| height: 26px; | |
| width: 26px; | |
| left: 4px; | |
| bottom: 4px; | |
| background-color: white; | |
| transition: .4s; | |
| border-radius: 50%; | |
| } | |
| input:checked + .slider { | |
| background-color: #007bff; | |
| } | |
| input:checked + .slider:before { | |
| transform: translateX(26px); | |
| } | |
| .switch-label { | |
| font-size: 0.9em; | |
| color: #666; | |
| } | |
| #contextSection { | |
| display: none; | |
| } |