* { margin: 0; padding: 0; box-sizing: border-box; } html, body { height: 100vh; width: 100vw; font-family: sans-serif; background-color: white; display: flex; flex-direction: column; } .drag-active { background-color: rgba(0, 150, 255, 0.1) !important; border: 2px dashed #1ec9f3 !important; } .loader { display: inline-block; border: 2px solid #f3f3f3; border-top: 2px solid #3b82f6; border-radius: 50%; width: 16px; height: 16px; animation: spin 1s linear infinite; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } header { flex: 0 0 17vh; display: flex; align-items: center; gap: 20px; padding: 0 20px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); } header img { height: 18vh; width: 5vw; object-fit: cover; } header span { font-size: 30px; } em { color: rgb(42, 42, 248); } .convo { height: 70vh; overflow-y: auto; padding: 10px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; flex: 1; } .bubble { max-width: 90%; padding: 16px; font-size: 1.05rem; border-radius: 14px; word-wrap: break-word; white-space: pre-wrap; } .bubble .label { font-size: 0.9rem; font-weight: bold; margin-bottom: 6px; } .bubble.left { align-self: flex-start; background-color: #a7e9af; color: black; border: 2px solid #3b7a57; } .bubble.right { align-self: flex-end; background-color: #1ec9f3; color: white; border: 2px solid #0080c0; } .qtdoc { flex: 0 0 auto; padding: 40px 80px; display: flex; justify-content: center; align-items: center; box-shadow: 0 -1px 3px rgba(0,0,0,0.1); } .qt { flex: 1; display: flex; align-items: center; justify-content: space-between; background-color: #b5b4b4; border-radius: 10px; margin-right: 10px; padding: 0 10px; height: 50px; } .qt input { width: 70%; height: 70%; border: none; background-color: #b5b4b4; color: white; font-size: 16px; } .qt input::placeholder { color: white; } .qt input:focus { outline: none; } .icons { display: flex; gap: 40px; font-size: 20px; color: black; align-items: center; cursor: pointer; } .sendingQA { background-color: #3b82f6; color: white; padding: 10px 15px; border-radius: 8px; cursor: pointer; border: none; font-size: 16px; } .sendingQA:hover { background-color: #2563eb; } .audio-toggle { margin-left: 10px; cursor: pointer; color: #007BFF; } .audio-toggle:hover { color: #0056b3; } .answer-block { background-color: #e1f7e1; border-radius: 10px; padding: 1rem; margin: 1rem; } .file-preview-bubble { align-self: flex-start; background-color: #f2f2f2; color: #444; font-size: 0.8rem; padding: 6px 10px; border-radius: 10px; max-width: 50%; font-family: monospace; box-shadow: inset 0 0 2px #aaa; margin: -5px 0 6px 0; opacity: 0.9; } .audio-toggle { margin-left: 10px; cursor: pointer; color: #007BFF; } .audio-toggle:hover { color: #0056b3; } .reset-chat { background-color: #ef4444; color: white; padding: 8px 16px; border: none; border-radius: 8px; margin-bottom: 10px; cursor: pointer; font-size: 14px; } .reset-chat:hover { background-color: #dc2626; } .convo.drag-over { outline: 2px dashed #3b82f6; background-color: #e0f2fe; } .return i{ font-size: 35px; cursor: pointer; }