| /* Base styles */ | |
| body { | |
| font-family: 'Inter', sans-serif; | |
| overflow-x: hidden; | |
| } | |
| /* Toggle Switch */ | |
| .toggle-checkbox:checked + .toggle-label { | |
| background-color: #4f46e5; | |
| } | |
| .toggle-checkbox:checked + .toggle-label::after { | |
| transform: translateX(1.25rem); | |
| } | |
| /* Modal transitions */ | |
| .modal { | |
| transition: opacity 0.25s ease; | |
| } | |
| .modal-content { | |
| transition: transform 0.25s ease; | |
| } | |
| /* Sidebar transitions */ | |
| #profile-sidebar { | |
| transition: transform 0.3s ease-in-out; | |
| transform: translateX(100%); | |
| } | |
| #profile-sidebar.open { | |
| transform: translateX(0); | |
| } | |
| #sidebar-overlay { | |
| transition: opacity 0.3s ease-in-out; | |
| } | |
| /* Disabled button */ | |
| .btn-disabled { | |
| background-color: #94a3b8; | |
| cursor: not-allowed; | |
| } | |
| .btn-disabled:hover { | |
| background-color: #94a3b8; | |
| } | |
| /* Chat message styles */ | |
| .chat-message { | |
| padding: 0.75rem; | |
| border-radius: 0.5rem; | |
| max-width: 20rem; | |
| } | |
| .chat-message.user { | |
| background-color: #4f46e5; | |
| color: white; | |
| margin-left: auto; | |
| } | |
| .chat-message.model { | |
| background-color: #f1f5f9; | |
| color: #1e293b; | |
| margin-right: auto; | |
| } | |
| .chat-message.model.typing { | |
| color: #64748b; | |
| font-style: italic; | |
| } | |
| /* Spinner animation */ | |
| .spinner { | |
| animation: spin 1s linear infinite; | |
| } | |
| @keyframes spin { | |
| from { transform: rotate(0deg); } | |
| to { transform: rotate(360deg); } | |
| } |