* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); min-height: 100vh; padding: 40px 20px; } .container { max-width: 700px; margin: 0 auto; background: white; border-radius: 15px; padding: 40px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); } h1 { color: #333; text-align: center; margin-bottom: 10px; } .subtitle { text-align: center; color: #666; margin-bottom: 30px; } .instructions { background: #e3f2fd; border-left: 4px solid #2196F3; padding: 15px; margin-bottom: 30px; border-radius: 4px; } .instructions h3 { color: #1565c0; margin-bottom: 10px; } .instructions ol { margin-left: 20px; color: #333; } .instructions li { margin: 8px 0; font-size: 0.95rem; } .input-group { display: flex; gap: 10px; margin-bottom: 20px; } input { flex: 1; padding: 12px; border: 2px solid #ddd; border-radius: 4px; font-size: 1rem; transition: border-color 0.3s; } input:focus { outline: none; border-color: #667eea; } .btn { padding: 12px 20px; background: #667eea; color: white; border: none; border-radius: 4px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.3s; white-space: nowrap; } .btn:hover { background: #764ba2; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3); } .btn-small { padding: 6px 12px; font-size: 0.85rem; margin-left: 5px; } .btn-delete { background: #f44336; } .btn-delete:hover { background: #d32f2f; } .btn-complete { background: #4caf50; } .btn-complete:hover { background: #388e3c; } .todos-container { margin-top: 30px; } .todo-item { background: #f9f9f9; border-left: 4px solid #667eea; padding: 15px; margin-bottom: 12px; border-radius: 4px; display: flex; justify-content: space-between; align-items: center; transition: all 0.3s; } .todo-item:hover { background: #f5f5f5; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); } .todo-item.completed { opacity: 0.6; border-left-color: #4caf50; } .todo-item.completed .todo-text { text-decoration: line-through; color: #999; } .todo-content { flex: 1; } .todo-text { color: #333; font-size: 1rem; margin-bottom: 5px; } .todo-id { color: #999; font-size: 0.85rem; } .todo-actions { display: flex; gap: 5px; } .error { background: #ffebee; border-left: 4px solid #f44336; color: #c62828; padding: 15px; border-radius: 4px; margin-top: 20px; } .success { background: #e8f5e9; border-left: 4px solid #4caf50; color: #2e7d32; padding: 15px; border-radius: 4px; margin-top: 20px; } .empty { text-align: center; color: #999; padding: 40px 20px; } .loading { display: none; text-align: center; color: #667eea; margin: 20px 0; } .spinner { border: 4px solid #f3f3f3; border-top: 4px solid #667eea; border-radius: 50%; width: 40px; height: 40px; animation: spin 1s linear infinite; margin: 0 auto 10px; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .back-button { display: inline-block; margin-top: 30px; padding: 10px 20px; background: #999; color: white; text-decoration: none; border-radius: 4px; transition: all 0.3s; } .back-button:hover { background: #777; } code { background: #f5f5f5; padding: 2px 6px; border-radius: 4px; font-family: monospace; color: #d63384; } .counter { background: #667eea; color: white; padding: 8px 12px; border-radius: 20px; display: inline-block; font-size: 0.9rem; margin-top: 10px; } .search-section { background: #f0f4ff; border: 2px solid #667eea; padding: 20px; border-radius: 8px; margin-bottom: 30px; } .search-section h3 { color: #667eea; margin-bottom: 15px; } .search-container { position: relative; margin-bottom: 10px; } #userSearch { width: 100%; padding: 12px; border: 2px solid #ddd; border-radius: 4px; font-size: 1rem; transition: border-color 0.3s; } #userSearch:focus { outline: none; border-color: #667eea; } .suggestions { background: white; border: 1px solid #ddd; border-top: none; border-radius: 0 0 4px 4px; max-height: 250px; overflow-y: auto; display: none; } .suggestions:not(:empty) { display: block; } .suggestion-item { padding: 12px; border-bottom: 1px solid #eee; cursor: pointer; transition: background 0.2s; font-size: 0.95rem; } .suggestion-item:hover { background: #f0f4ff; color: #667eea; } .suggestion-item:last-child { border-bottom: none; } .selected-user { color: #666; font-size: 0.95rem; padding: 10px 0; }