.message{ padding:10px; margin:5px 0; border-radius:8px; max-width:80%; } .user{ background:#4CAF50; color:white; margin-left:auto; } .ai{ background:#e0e0e0; } .input-area{ display:flex; gap:10px; margin-top:10px; } .input-area input{ flex:1; padding:10px; border-radius:6px; border:1px solid #ccc; }> body{ font-family:Arial; background:#eef2f7; text-align:center; padding:40px; } .container{ background:white; width:700px; margin:auto; padding:30px; border-radius:12px; box-shadow:0 10px 20px rgba(0,0,0,0.1); } h1{ margin-bottom:10px; } textarea{ width:100%; height:120px; padding:10px; font-size:16px; border-radius:8px; border:1px solid #ccc; margin-top:10px; } button{ padding:10px 18px; border:none; border-radius:8px; background:#4CAF50; color:white; font-size:16px; cursor:pointer; margin-top:10px; } button:hover{ background:#43a047; } .tool-btn{ background:#2196F3; margin:5px; } .tool-btn:hover{ background:#1976D2; } #result{ margin-top:20px; padding:15px; background:#f5f5f5; border-radius:8px; text-align:left; white-space:pre-wrap; } ul{ text-align:left; } li{ cursor:pointer; color:#1565C0; margin:5px 0; } li:hover{ text-decoration:underline; }
Generate notes, MCQs, and exam answers instantly