* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); min-height: 100vh; display: flex; justify-content: center; align-items: center; padding: 20px; } .container { background: white; border-radius: 20px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); width: 100%; max-width: 600px; overflow: hidden; } header { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; padding: 20px; text-align: center; position: relative; } header h1 { font-size: 1.8rem; margin-bottom: 10px; } .anycoder-link { color: white; text-decoration: none; font-size: 0.9rem; opacity: 0.9; transition: opacity 0.3s; } .anycoder-link:hover { opacity: 1; } main { padding: 20px; height: 500px; display: flex; flex-direction: column; } .chat-container { flex: 1; display: flex; flex-direction: column; border: 1px solid #e0e0e0; border-radius: 12px; overflow: hidden; background: #f8f9fa; } .chat-messages { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 15px; } .message { max-width: 80%; animation: fadeIn 0.3s ease; } .message.user { align-self: flex-end; background: #667eea; color: white; border-radius: 18px 18px 4px 18px; } .message.assistant { align-self: flex-start; background: white; border-radius: 18px 18px 18px 4px; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); } .message-content { padding: 12px 16px; line-height: 1.5; font-size: 0.95rem; } .typing::after { content: '...'; animation: typing 1.5s infinite; } @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } @keyframes typing { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } } .input-area { display: flex; gap: 10px; margin-top: 15px; padding: 15px; background: white; border-radius: 12px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); } #userInput { flex: 1; border: 1px solid #e0e0e0; border-radius: 12px; padding: 12px 16px; font-size: 1rem; resize: none; outline: none; transition: border-color 0.3s; } #userInput:focus { border-color: #667eea; } .send-button { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; border: none; border-radius: 12px; padding: 12px 24px; font-size: 1rem; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; display: flex; align-items: center; justify-content: center; } .send-button:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4); } .send-button:disabled { opacity: 0.5; cursor: not-allowed; transform: none; } .status-panel { margin-top: 20px; padding: 15px; background: #f8f9fa; border-radius: 12px; border: 1px solid #e0e0e0; } .status-item { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; } .status-label { font-weight: 600; color: #666; min-width: 100px; } .status-value { color: #333; font-weight: 500; } .progress-bar { height: 8px; background: #e0e0e0; border-radius: 4px; overflow: hidden; flex: 1; } .progress-fill { height: 100%; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); width: 0%; transition: width 0.3s ease; } .progress-text { margin-left: 10px; color: #666; font-size: 0.9rem; } .error-message { background: #fee; color: #c33; padding: 10px; border-radius: 8px; margin-top: 10px; font-size: 0.9rem; } @media (max-width: 600px) { .container { border-radius: 0; } header h1 { font-size: 1.5rem; } .input-area { flex-direction: column; } .send-button { padding: 12px; } }